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.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to