DEFAULTDOMAIN(5) File Formats and Configurations DEFAULTDOMAIN(5)

defaultdomain - specify host's domain name

/etc/defaultdomain

The file /etc/defaultdomain determines a host's domain name for direct use by the NIS name service. The defaultdomain file is read at boot time and its contents used by the domainname(8) command. Because of its use by domainname, defaultdomain is also used by the LDAP service (see ldap(1)). Under certain, narrow circumstances (see resolv.conf(5)), because domainname uses defaultdomain, a DNS client can use the contents of defaultdomain.

The contents of defaultdomain consists of a single line containing a host's domain name.

uname(1), resolv.conf(5), ldapclient(8), ypbind(8), ypinit(8)

The defaultdomain file is created and modified by Solaris installation and configuration scripts. Only users knowledgeable of name service configuration should edit the file.

February 25, 2017 OmniOS