man.bsd.lv manual page server

Manual Page Search Parameters

DOMAINNAME(1) General Commands Manual DOMAINNAME(1)

domainnameset or print name of current YP/NIS domain

domainname [ypdomain]

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 at boot time by setting the nisdomainname variable in /etc/rc.conf.

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.

getdomainname(3), rc.conf(5)

The domainname command appeared in FreeBSD 1.1, based on a similar command in SunOS.

September 18, 1994 DragonFly-5.6.1