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

// 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 nameservers you want
* to talk to, you might need to uncomment the query-source
* questions using port 53, but BIND 8.1 uses an
* unprivileged 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 slave;
file db.div;
masters {
15.19.8.119;
};
};
zone 8.19.15.IN-ADDR.ARPA {
type slave;
file db.15.19.8;
masters {
15.19.8.119;
};
};
zone . {
type hint;
file db.cache;
};
In this example, the slave server uses the file db.div to store the database information. The slave
server uses this file as a backup file. When the slave server reboots, it reads the authoritative
data from the backup file, and later contacts the master server to verify the data. If the master
server contains new data, the slave server saves this new data in the backup file.
The format of the data files copied from the master server is described in “Configuring a Master
Name Server” (page 67).
Setting the Default Domain Name
You can initialize the default domain name either by specifying the domain name in the
/etc/resolv.conf file or by specifying the host name using the hostname command in the
/etc/rc.config.d/netconf file.
If you use 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
(page 81).
If you do not use an /etc/resolv.conf file to configure the default domain name, follow
these steps:
1. Set the default domain name with the hostname command by appending the domain name
to the host name. For example, type the following at the HP-UX prompt to set the default
host name to indigo.div.inc.com:
Configuring a Slave Name Server 79