- NetBSD Manual Pages
DOMAINNAME(1) NetBSD General Commands Manual DOMAINNAME(1)
Powered by man-cgi (2021-06-01).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.
domainname -- set or print YP domain of current host system
domainname prints the YP domain name of the current host. The super-user
can set the domain name by supplying an argument; this is usually done in
the network initialization script /etc/rc.d/network, normally run at boot
hostname(1), getdomainname(3), setdomainname(3)
The domainname utility is derived from the hostname utility, which
appeared in 4.2BSD. The domainname utility appeared in NetBSD 0.8.
NetBSD 8.1 May 31, 1993 NetBSD 8.1