defaultdomain(4) opensolaris man page | unix.com

Man Page: defaultdomain

Operating Environment: opensolaris

Section: 4

defaultdomain(4)						   File Formats 						  defaultdomain(4)

NAME
defaultdomain - specify host's domain name
SYNOPSIS
/etc/defaultdomain
DESCRIPTION
The file /etc/defaultdomain determines a host's domain name for direct use by the NIS and NIS+ name services. The defaultdomain file is read at boot time and its contents used by the domainname(1M) 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(4)), 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.
SEE ALSO
NIS+(1), uname(1), ldapclient(1M), nisclient(1M), ypbind(1M), ypinit(1M), resolv.conf(4)
NOTES
The defaultdomain file is created and modified by Solaris installation and configuration scripts. Only users knowledgeable of name service configuration should edit the file. SunOS 5.11 22 February 2000 defaultdomain(4)
Related Man Pages
defaultdomain(4) - opensolaris
sys-unconfig(1m) - sunos
sys-unconfig(1m) - php
sys-unconfig(1m) - minix
sys-unconfig(1m) - v7
Similar Topics in the Unix Linux Community
/etc/resolv.conf
File processing on perl
Merging files based on the contents
how to read the contents of a file using PERL
Adding Domain name n resolv.conf file without vi editor