domainname1
Set or print name of current yp/nis domain
Usage
domainname [ypdomain]
Overview
The domainname utility prints the name of the current YP/NIS domain. The super-user can set the domain name by supplying an argument; this is usually done with the nisdomainname variable in the /etc/rc.conf file, normally runs at boot time.
Notes
The YP/NIS (formerly ``Yellow Pages'' but renamed for legal reasons) domain name does not necessarily have anything to do with the Domain Name System domain name, although they are often set equal for administrative convenience.
Releases
87 releases since FreeBSD 2.0.5-RELEASE; the text changed 48 times.