Installing and Administering Internet Services

120 Chapter3
Configuring and Administering the BIND Name Service
Configuring a Secondary Master Name Server
secondary div.inc.com 15.19.8.119
db.div
primary 0.0.127.IN-ADDR.ARPA
db.127.0.0
secondary 8.19.15.IN-ADDR.ARPA 15.19.8.119
db.15.19.8
secondary 13.19.15.IN-ADDR-ARPA 15.19.8.119
db.15.19.13
cache
db.cache
This file specifies a file name in the fourth field for each domain. The
secondary server will use this file as a backup file. It will read the
authoritative data from the backup file when it reboots, and later it will
contact the primary master server to verify the data.
The format of the data files copied from the primary master server are
described in “Configuring a Primary Master Name Server” on page 86.
To Set the Default Domain Name
If you will be using an /etc/resolv.conf file on your host, configure the
default domain name with the search or domain keyword. See
“Configuring the Resolver to Query a Remote Name Server” on page
123. If you will not be using an /etc/resolv.conf file, follow these
steps:
1. Set the default domain name with the hostname command, by
appending the domain name to the host name, as in the following
example:
/usr/bin/hostname indigo.div.inc.com
Do not put a trailing dot at the end of the domain name.
2. Set the HOSTNAME variable in the /etc/rc.config.d/netconf file to
the same value, as in the following example:
HOSTNAME=indigo.div.inc.com