Reverse Lookups with Forwarders

sumsum 2000 sum2hike at gmail.com
Tue Jul 9 06:21:46 UTC 2013


I have a reverse lookup zone file configuration as follows:
zone "0/24.110.252.173.in-addr.arpa" {
        type forward; forward only;
        forwarders {10.10.96.1;};
};


When I do dig -x 172.252.110.27, I expect it to forward it to
10.10.96.1, but instead, it uses the default resolver.

Am I missing something.



The address space 173.252.110.0/24 matches 255 address ranging from
173.252.110.0-255. So if DNS Server X is configured against this zone
, then any reverse DNS request for 173.252.110.0-173.252.110.255
should be forwarded via DNS Server X
Currently this is not the case. There is no forwarding in the above
scenario ( where CIDR notation x.x.x.x/Mask is used) . All requests
are forwarded via global resolver only
Although a reverse lookup x.x.x.x/Mask does route through DNS Server X
but this does not seem to be valid QNAME format for PTR queries.

Only when the zone file is changed to
                        zone "110.252.173.in-addr.arpa" IN {
                                type forward;
                                forwarders {10.10.96.1;};
                                forward only;
                        };

All the requests for

173.252.110.0-173.252.110.255  is forwarded to 10.10.96.1.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130709/d965a7ad/attachment.html>


More information about the bind-users mailing list