Installing and Administering Internet Services

84 Chapter 3
Configuring and Administering the BIND Name Service
Configuring a Primary Master Name Server
Expire Indicates (in seconds) how long the
secondary name server can use the
data before it expires for lack of a
refresh.
Minimum ttl The minimum number of seconds for
the time to live field on other resource
records for this domain.
NS Name Server records. The NS records give the names of
the name servers and the domains for which they have
authority. The domain for the name servers in the
example is the current origin
(8.19.15.in-addr.arpa), because @ was the last
domain specified.
PTR Pointer records. PTR records are usually used to
associate an address in the in-addr.arpa domain
with the canonical name of a host. The first PTR record
in the example file associates the name
rabbit.div.inc.com with the address
119.8.19.15.in-addr.arpa. (The current origin is
appended to the 119 in the first field, because it does
not end with a dot.)
To Add a Host to the Domain Data Files
1. Add the host to /etc/hosts and run hosts_to_named again.
or
Add the host manually, as follows:
Edit db.domain. Add an Address (A) resource record for each
address of the new host. Add CNAME, HINFO, WKS, and MX resource
records as necessary. Increment the serial number in the SOA
resource record.
Edit db.net. Add a PTR resource record for each host address.
Increment the serial number in the SOA resource record.
Add the host to the /etc/hosts file. If the host is not listed in
/etc/hosts, someone might run hosts_to_named, which
overwrites your db.domain and db.net files, and the host will be
lost.