Package hostname

Utility to set/show the host name or domain name

http://packages.qa.debian.org/h/hostname.html

This package provides commands which can be used to display the system's
DNS name, and to display or set its hostname or NIS domain name.

General Commands
Command Description
hostname show or set the system's host name