September 2000
Beginner
1312 pages
33h 47m
English
/bin/domainname [name-of-domain]
Without an argument, use the domainname command to display the name of the current domain, which typically encompasses a group of hosts or passwd entries under the same administration.
The domain name is usually set during boot time through the domainname command in the /etc/init.d/inetinit file. If the new domain name is not saved in the /etc/defaultdomain file, the system reverts to the old domain after rebooting.
The domain name can also be set by various components of the Solaris Operating Environment to resolve names for types such as passwd, hosts, and aliases. By default, various naming services such as NIS, NIS+, the Internet ...