|DOMAINNAME(1)||General Commands Manual||DOMAINNAME(1)|
domainnameutility prints the YP domain name of the current host. The superuser can set the domain name by supplying a /etc/defaultdomain file (see defaultdomain(5)). This is used at system boot time by rc(8) to initialize the domainname.
domainnameutility is derived from the hostname(1) utility, which appeared in 4.2BSD. The
domainnameutility appeared in NetBSD 0.8.
|May 27, 2012||OpenBSD-current|