HP-UX IP Address and Client Management Administrator's Guide HP-UX 11i v2, HP-UX 11i v3

1. Set up the name servers for the subdomain.
2. Edit the existing zone file, db.domain on the name server for the parent domain, as follows:
Add an NS resource record for each name server of the new subdomain.
Add A records to specify the Internet addresses of the name servers listed in the NS
records.
3. After modifying the domain data files, issue the following command to restart the name
server for the parent domain:
/usr/sbin/sig_named
restart
This causes named to reload its databases.
Example of Delegating a Subdomain
Consider the domain nmt.edu. and the subdomain plt.nmt.edu. The hosts
venus.nmt.plt.edu and moon.plt.nmt.edu are the name servers for the plt.nmt.edu.
subdomain. After you set up the name servers for the subdomain plt.nmt.edu, add the
following entries in the db.nmt.edu. file to delegate the plt.nmt.edu. subdomain to the
new plt.nmt.edu. name servers on venus and moon:
plt.nmt.edu 86400 IN NS venus.plt.nmt.edu.
86400 IN NS moon.plt.nmt.edu.
venus.plt.nmt.edu. 86400 IN A 123.4.5.678
moon.plt.nmt.edu. 86400 IN A 67.8.9.10
Configuring a Root Name Server
The root name servers contain information about where the authoritative name servers for each
of the top-level zones are situated. Given a query about a domain name, the root name servers
provide at least the names and addresses of the name servers that are authoritative for the
top-level zone that the domain name ends with. The top-level name servers also provide the list
of the authoritative name servers for the second-level zone that the domain name ends with.
Every query to the name server provides information about how to reach the final destination,
or provides the actual answer.
If you are connected to the Internet, you can use the root servers already available (For a list of
root servers, use anonymous ftp to get the file /domain/named.root from rs.intenic.net.)
However, if you are on an isolated network, you must set up your own root servers.
A root server does not have a cache entry in its configuration file. Instead, it has an entry like
the following, which indicates that the server is a master for the root domain:
zone . { type master;
file db.root;
};
The db.root file typically contains only NS and A resource records for the authoritative name
space tree. You can use the hosts_to_named command with the -r option to create the db.root
file. For more information, type man 1M hosts_to_named at the HP-UX prompt.
The db.cache file on the other name servers in the domain must contain an entry for this root
server.
A domain can have more than one root name server.
Following is an example of the root zone file, db.root. In the example db.root file, hosts
rabbit.div.inc.com, denny.dept.inc.com, and sally.doc.inc.com are authoritative
name servers for the root domain. Hosts eduardo.inc.com and labs.inc.com are
authoritative for the inc.com subdomain.
@ IN SOA rabbit.div.inc.com. root.moon.div.inc.com. (
3 ; Serial
10800 ; Refresh after 3 hours
84 Configuring and Administering the BIND Name Service