Without an argument, domainname displays the name of the current domain, which typically encompasses a group of hosts under the same administration. As such, the name of a Network Information Service (NIS) domain is normally also a valid Internet domain name, and can be used in conjunction with the sendmail.8 and the name server named.8c
Only the super-user can set the name of the domain, by giving domainname an argument; this can be done only in the startup script /etc/rc.local.
The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same; only the name has changed.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97