domainname(1) ONC/NFS 5.4 Rel. 2.01 domainname(1)
NAME
domainname - set or display name of the current NIS domain
SYNOPSIS
domainname [ name-of-domain ]
DESCRIPTION
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 an NIS domain is normally also
a valid Internet domain name, and can be used in conjunction with
sendmail(1M) and the name server named(1M).
Only the superuser can set the name of the domain by giving
domainname an argument; this is usually done in the startup script
/usr/sbin/init.d/rc.ypserv using an argument defined in
/etc/nfs.params.
SEE ALSO
named(1M), sendmail(1M), ypinit(1M).
Licensed material--property of copyright holder(s) 1