Task
How to Create a Reverse DNS Zone
How to Create a Reverse DNS Zone
By creating reverse lookup zones for each IP subnet, you gain a robust database that can be used to track assignments within an IP address space. Reverse lookups can determine the allocation status of any address from any DNS client.
Network operators must account for used and unused IP addresses. It is recommended that each IP address be given a DNS PTR Resource Record, even if the address is unused. For example, you can look up and resolve an IP address as
See the following example to create a zone from a BIND file by entering the zone command:
nrcmd> zone
The following edited BIND definition file is for “the.net_rev_zone.txt.”
@ | IN | SOA | onionring.the.net | |
|
|
| ||
|
| 2000071600 | ; serial number | |
|
| 3600 |
| ; Refresh 1 hours |
|
| 1800 |
| ; Retry 30 minutes |
|
| 86400 |
| ; Expire 24 hours |
|
| 86400 |
| ; TTL 24 hours |
|
| ) |
|
|
; |
|
|
|
|
| IN | NS | onionring.the.net. | |
; |
|
|
|
|
0 | IN | PTR | ||
1 | IN | PTR | ||
2 | IN | PTR | ||
3 | IN | PTR | ||
4 | IN | PTR | ||
5 | IN | PTR | ||
6 | IN | PTR | ||
7 | IN | PTR | ||
8 | IN | PTR | ||
9 | IN | PTR | ||
10 | IN | PTR | ||
11 | IN | PTR | ||
12 | IN | PTR | ||
13 | IN | PTR | ||
14 | IN | PTR | ||
15 | IN | PTR | ||
16 | IN | PTR | ||
17 | IN | PTR | ||
18 | IN | PTR | ||
19 | IN | PTR | ||
20 | IN | PTR | ||
21 | IN | PTR | ||
22 | IN | PTR | ||
23 | IN | PTR | ||
(Truncated for brevity..) |
|
|
| |
253 | IN | PTR | ||
254 | IN | PTR | ||
255 | IN | PTR |
For a sample BIND file that can be used as a template and edited for your environment, go to
http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/dialnms/bindtemp.txt
Basic Dial NMS Implementation Guide
''