DNS HOWTO : A real domain example : /etc/namedb/zone/127.0.0
Previous: /var/namedb/named.root
Next: /etc/namedb/zone/land-5.com

7.3. /etc/namedb/zone/127.0.0

Just the basics, the obligatory SOA record, and a record that maps 127.0.0.1 to localhost. Both are required. No more should be in this file. It will probably never need to be updated, unless your nameserver or hostmaster address changes.


@               IN      SOA     land-5.com. root.land-5.com. (
                                199609203       ; Serial
                                28800   ; Refresh
                                7200    ; Retry
                                604800  ; Expire
                                86400)  ; Minimum TTL
                        NS      land-5.com.
        
1                       PTR     localhost.

If you look at a random BIND installation you will probably find that the $TTL line is missing as it is here. It was not used before, and only version 8.2 of BIND has started to warn about its absence. I would recommend that you put the $TTL in line in zone files as you discover that they are missing.


DNS HOWTO : A real domain example : /etc/namedb/zone/127.0.0
Previous: /var/namedb/named.root
Next: /etc/namedb/zone/land-5.com