<div dir="ltr"><pre class="" id="comment_text_0">I have a reverse lookup zone file configuration as follows:<br>zone "0/24.110.252.173.in-addr.arpa" {<br>        type forward; forward only;<br>        forwarders {10.10.96.1;};<br>
};<br><br><br>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.<br></pre><pre class="" id="comment_text_0">Am I missing something.<br></pre><pre class="" id="comment_text_0">
<br><br>The address space <a href="http://173.252.110.0/24">173.252.110.0/24</a> 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.<br><br></pre><pre class="" id="comment_text_0">Only when the zone file is changed to <br>
                        zone "110.252.173.in-addr.arpa" IN {<br>                                type forward;<br>                                forwarders {10.10.96.1;};<br>                                forward only;<br>
                        };<br><br></pre><pre class="" id="comment_text_0">All the requests for <br></pre><pre class="" id="comment_text_0">173.252.110.0-173.252.110.255  is forwarded to 10.10.96.1. <br><br><br><br></pre><pre class="" id="comment_text_0">
<br><br></pre><pre class="" id="comment_text_0"><br></pre></div>