how to write the inverns dns file
Barry Margolin
barmar at genuity.net
Tue Dec 11 17:01:34 UTC 2001
In article <9v5dac$3m4 at pub3.rc.vix.com>,
David Portabella <david.portabella at epfl.ch> wrote:
>in named.conf, I have:
>--------
>zone "." {type hint; file "db.cache"; };
>zone "example.com" {type master; file "db.example.com"; };
>zone "209.17.22.7.IN-ADDR.ARPA" {type master; file "db.209.17.22.7"; };
>
>------
>in db.example.conf, I have:
>----------
>$TTL 86400
>example.com. 43200 IN SOA 192.168.1.1. david.example.es. (193149117 21600
>10800 1728000 43200)
>example.com. IN NS 209.17.22.7.
This is wrong. An NS record must be followed by a hostname, not an IP
address, so it should be:
example.com. IN NS example.com.
>example.com. IN RP davidp.otherexample.com. David.example.com.
>David.example.com. IN TXT #David, NIC handle: DAVID127#
>example.com. IN A 209.17.22.7
>www.example.com IN CNAME example.com.
>--------
>
>can you give the minium example of "db.209.17.22.7" enough to work?
$TTL 86400
@ IN SOA example.com. david.example.es. 1 21600 10800 1728000 43200
IN NS example.com.
IN RP davidp.otherexample.com. David.example.com.
IN PTR example.com.
--
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
More information about the bind-users
mailing list