System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

Example named.local File

The following code example shows the named.local file used by the two master servers on the two networks. Both servers have the same file.


Example 5–7 Example named.local File for Both Master Servers


$TTL 5h
; SOA rec
0.0.127.in-addr.arpa. IN SOA siriusdoc.com. sysop.centauri.doc.com.(
                          19970331    ; serial number
                          10800       ; refresh every 3 hours
                          10800       ; retry every 3 hours
                          604800      ; expire after a week
                          86400 )     ; TTL of 1 day
; Name Servers
0.0.127.in-addr.arpa.  IN  NS   sirius.doc.com.
0.0.127.in_addr.arpa   IN  NS   dnssecond.doc.com
1  IN  PTR localhost.