Sample localhost Reverse Map zone file

The localhost reverse-mapping file which this guide calls locahost.rev is supplied with the standard BIND distributions (this file is typically called named.local in BIND distributions). This file should not need modification. This file lacks an $ORIGIN directive which might help clarify understanding.

The localhost.rev file maps the IP address 127.0.0.1 to the name 'localhost'.

$TTL	86400 ;
; could use $ORIGIN 0.0.127.IN-ADDR.ARPA.
@       IN      SOA     localhost. root.localhost.  (
                        1997022700 ; Serial
                        3h      ; Refresh
                        15      ; Retry
                        1w      ; Expire
                        3h )    ; Minimum
        IN      NS      localhost.
1       IN      PTR     localhost.

Pro DNS and BIND by Ron Aitchison

Contents

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