Multiple subnets PTR question.

Max mightymax at yipinet.com
Fri Jan 28 19:47:10 UTC 2000


I have two /27 subnets and one /29 subnet assigned to me from my ISP. All
three subnets are broken off the same class C subnet. My ISP is delegating
the PTR lookup to my name servers for these IP's. The guy I was speaking to
said that I should set up my named.conf like this:

zone "0-31.80.209.63.in-addr.arpa" {
        type master;
        file "rev.0-31.80.209.63";
        allow-query {
                any;
        };
        allow-transfer {
                localhost;
                zone-xfer;
        };
};

zone "32-63.80.209.63.in-addr.arpa" {
        type master;
        file "rev.32-63.80.209.63";
        allow-query {
                any;
        };
        allow-transfer {
                localhost;
                zone-xfer;
        };
};

zone "144-151.80.209.63.in-addr.arpa" {
        type master;
        file "rev.144-151.80.209.63";
        allow-query {
                any;
        };
        allow-transfer {
                localhost;
                zone-xfer;
        };
};

only this doesn't resolve the PTR lookups, even from the box that is the
name server. Is this a valid named.conf file? What is wrong with these
lookups?

Thanks in advance.

--

Max
e. mightymax at yipinet.com




More information about the bind-users mailing list