Sponsor:

Your company here — click to reach over 10,000 unique daily visitors

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.

Version: 3.23

General Commands

dnsdomainname alias for hostname
domainname alias for hostname
hostname Hostname is used to display the system's DNS name, and to display or set its hostname or NIS domain name.
nisdomainname alias for hostname
ypdomainname alias for hostname