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

* 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;
}; zone 8.19.15.IN.ADDR.ARPA {
type master;
file db.15.19.8;
}; zone . { type master;
file db.root;
};
The following describes the various fields used in the named.conf file:
// Lines beginning with // are comments.
directory
Indicates the directory where data files are located.
zone
Used to define the zone for that domain.
type
Defines the zone type.
file
Used to specify the database file for that zone.
NOTE: If you are moving your name server data and configuration files from earlier versions
of BIND 8 to this version, then you must migrate your old configuration file format to the new
file format. The configuration file in versions prior to BIND 8 was called named.boot. You can
convert named.boot to named.conf by executing the following command:
/usr/bin/named-bootconf.pl
named.boot>named.conf
Master Server Cache File
The cache file, /etc/named.data/db.cache, lists the root name servers for the root domain.
Each name server must have a cache file. When a name server cannot resolve a host name query
from its local database or its local cache, the name server queries a root server.
The hosts_to_named program creates the db.cache file, but does not enter any data into the
db.cache file. To add data to this file, copy data from the file
/usr/examples/bind/db.cache. You can also use anonymous ftp to obtain the list of root
name servers from rs.internic.net.
Following is an example db.cache file for a master server:
; This file holds the information on root name servers
; needed to initialize cache of Internet domain name servers
; (e.g. reference this file in the cache.<file>
; configuration file of BIND domain name servers).
; This file is made available by InterNIC registration
; services under anonymous FTP as ; file /domain/named.root
; on server FTP.RS.INTERNIC.NET
; ; last update: Nov 5, 2002 ; related version of root zone: 2002110501
; ; formerly NS.INTERNIC.NET ; name ttl class type data
; . 3600000 IN NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
; ; formerly NS1.ISI.EDU ; . 3600000 NS B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET. 3600000 A 128.9.0.107
; ; formerly C.PSI.EDU ; . 3600000 NS C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
; ; formerly TERP.UMD.EDU ; . 3600000 NS D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
; ; formerly NS.NASA.GOV ; . 3600000 NS E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
; ; formerly NS.ISC.ORG ; . 3600000 NS F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
; ; formerly NS.NIC.DDN.MIL ; . 3600000 NS G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
; ; formerly AOS.ARL.ARMY.MIL ; . 3600000 NS H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
; ; formerly NIC.NORDU.NET ; . 3600000 NS I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
; ; operated by VeriSign, Inc ; ; . 3600000 NS J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
; ; housed in LINX, operated by RIPE NCC ;
; . 3600000 NS K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
Configuring a Master Name Server 69