HP-UX IP Address and Client Management Administrator's Guide (October 2009)

Figure 2-1 shows the structure of a master server and a slave server. In the Figure 2-1, the master
server is rabbit.div.inc.com and the slave servers are cheetah.div.inc.com and
indigo.div.inc.com.
Figure 2-1 Structure of a Master Server and Slave Servers
For the setup in Figure 2-1, the /etc/hosts file is as follows:
15.19.8.119 rabbit
127.0.0.1 localhost loopback
15.19.8.64 cheetah
15.19.8.197 indigo incindigo
Use the following parameters for the hosts_to_named command to generate the example
named.conf file for the master server rabbit from the /etc/hosts file:
-d div.inc.com name domain
-n 15.19.8 net address domain
-s rabbit master server
-s cheetah slave servers
-s indigo
-Z 15.19.8.119 master server address
-d div.inc.com
The configuration file named.conf is as follows:
// generated by named-bootconf.pl
options {
check-names response fail; // do not change this
check-names slave warn;
directory /etc/named.data; // running directory for named
/* If there is a firewall between you and the nameservers you
* want to talk to, you might need to uncomment the
* query-source directive below. Previous versions of BIND
* always asked questions using port 53, but BIND 8.1 uses
* a privileged port by default.
/*
// query-source address *port 53;
};
//
// type domain source file
//
//
zone 0.0.127.IN.ADDR.ARPA {
type master;
file db.127.0.0;
};
zone div.inc.com {
type master;
file db.div;
Configuring a Master Name Server 69