Configuration Question

Kevin Darcy kcd at daimlerchrysler.com
Fri Nov 3 22:41:19 UTC 2000


Sumit Mehrotra wrote:

> Hi
>
> I am setting up a DNS server on my machine, to act as a nameserver for all requests for a website I am hosting. For all other requests it will forward all the requests to the NS of my parent Network.
>
> The question is that in the file in /var/named, for reverse lookup, called , db.128.197.14.80, do I add the first item in the, SOA entry as 80.14.197.128,in-addr.arpa (which is my IP and the only machine in my "pseudo-domain") or 14.197.197.128.in-addr.arpa  (which is my parent network).
>
> e.g Should it be :
>
> 80.14.197.128.in-addr.arpa.   IN      SOA     dhruv.bu.edu. hostmaster.dhruv.bu.edu. (
>
>
> OR ...
>
> 14.197.128.in-addr.arpa.   IN      SOA     dhruv.bu.edu. hostmaster.dhruv.bu.edu. (

How is the zone being loaded? Do you have

zone "14.197.128.in-addr.arpa" {
    type master;
    (etc.)

or do you have

zone "80.14.197.128.in-addr.arpa" {
    type master;
    (etc.)

? The owner of the SOA record needs to match the zone name, otherwise it will be rejected as "out of zone data".

Note that if you set up 14.197.128.in-addr.arpa as master on your server, with only the 1 PTR in it, then your nameserver will be effectively blind to any other PTR records which may exist in any other nameserver's version of the zone.

                                                                                                                                                                - Kevin





More information about the bind-users mailing list