DNS Sample Reverse MAP Zone File

This file (192.168.0.rev) is the sample reverse map zone file used throughout this Chapter and has the following characteristics.

  1. Two name servers are used both internal (ns1 and ns2) to the domain
  2. The mail service is internal to the domain
  3. FTP and WWW services are provided by the same host
  4. There are two hosts named bill and fred
  5. The host addresses are all in the class C private address range (a slightly artificial case)

The Resource Records are all defined separately.

$TTL	86400 ; 24 hours could have been written as 24h
@  1D  IN	 SOA ns1.example.com.	hostmaster.example.com. (
			      2002022401 ; serial
			      3H ; refresh
			      15 ; retry
			      1w ; expire
			      3h ; minimum
; server host definitions
1      IN  PTR    ns1.example.com.
5      IN  PTR    ns2.example.com.  
2      IN  PTR    www.example.com.            
; non server domain hosts
3      IN  PTR    bill.example.com.  
4      IN  PTR    fred.example.com.   

Hosts defined with CNAME Resource Records do not have PTR records associated. This is not any form of BIND rule. A IP address can only be defined once with a PTR RR. It could be either the A record or the CNAME record - we just happened to choose the A RR.

Pro DNS and BIND by Ron Aitchison


tech info
guides home
dns articles
1 objectives
big picture
2 concepts
3 reverse map
4 dns types
5 install bind
6 samples
7 named.conf
8 dns records
9 howtos
10 tools
11 trouble
12 bind api's
13 dns security
bits & bytes
15 messages
notes & tips
registration FAQ
dns resources
dns rfc's
change log