Package hostname

Utility to set/show the host name or domain name

https://tracker.debian.org/pkg/hostname

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.25

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