DOMAINNAME(1) BSD Reference Manual DOMAINNAME(1)NAMEdomainname - set or print name of current YP/NIS domain
SYNOPSISdomainname [ypdomain]
DESCRIPTION
The domainname utility displays the name of the current YP/NIS domain.
The super-user can set the domain name by supplying an argument; this is
usually done in the network initialization script /etc/netstart, normally
run at boot time.
NOTA BENE
The YP/NIS (formerly ``Yellow Pages'' but renamed for legal reasons) do-
main name does not necessarily have anything to do with the Domain Name
System domain name, although they are often set equal for administrative
convenience.
SEE ALSOgetdomainname(3), sysctl(8)BSDI BSD/OS September 18, 1994 1