DNS Configuration and Management Manual (G06.27+, H06.05+, J06.03+)

DNS Server Configuration
HP DNS Configuration and Management Manual529432-003
B-8
The db.127.0.0 File
data
The data field for an NS record provides the fully qualified name of a name server.
The data field for an A record specifies an Internet address of the name server.
The db.127.0.0 File
Each name server must have an /etc/dns_secure/db.127.0.0 file. Hosts
running Berkeley networking use
127.0.0.1 as the address of the loopback interface.
Because the network number
127.0.0 is not assigned to any site but is used by all
hosts running Berkeley networking, you must configure each name server as
authoritative for the network
127.0.0. The file /etc/dns_secure/db.127.0.0
contains the resource record that maps
127.0.0.1 to the name of the loopback
address, usually
localhost. Use a text editor to create the db.127.0.0 file.
The following is a sample
db.127.0.0 file:
;name class type data
$TTL 86400
@ IN SOA rabbit.div.inc.com root.moon.div.inc.com (
1 ; Serial
10800 ; Refresh every 3 hours
3600 ; Refresh every hour
604800 ; Expires after a week
86400 ) ; Minimum ttl of 1 day
IN NS rabbit.div.inc.com
1 IN PTR localhost
The fields in the db.127.0.0 file are:
name
This field specifies the name of the subdomain. In the SOA record, the at sign (@)
represents the domain name when the domain name and the origin are the same.
In the expanded notation,
@ represents 0.0.127.in-addr.arpa. Similarly, for
the PTR record, 1 represents
1.0.0.127.in-addr.arpa. in the expanded
notation.
class
The optional class field specifies the protocol group. IN, for Internet addresses, is
the most common class.
type
The start of authority (SOA) record designates the start of a domain and indicates
that this server is authoritative for the data in the domain.