domainname(NC) 19 June 1992 domainname(NC) Name domainname - set or display name of current Network Information Service (NIS) domain Syntax domainname [nameofdomain] Description Without an argument, domainname displays the name of the current NIS domain. Only the super user can set the domainname by giving an argu- ment; this is usually done in the startup script, /etc/nfs. Currently, domains are only used by the Network Information Service to refer collec- tively to a group of hosts. See also nfs(NADM), ypinit(NADM)