Reverse lookup for classless networks

Nagesh Thati tcpnagesh at gmail.com
Thu Dec 27 10:01:24 UTC 2018


Hello,
I have been trying to make the reverse zones for the classless networks. I
was able to create such zones by following an online guide. The guide says
to create a reverse zone for a classless network as following,
Network: *28.0.0.0/27 <http://28.0.0.0/27>*
Reverse Zone: *0-27.128.0.0.28.in-addr.arpa.*
Example PTR record: *130.0-27.128.0.0.28.in-addr.arpa. PTR test.example.com
<http://test.example.com>.*

Now the zone is up, but I have problem in looking up the IP address using
the below method,
*dig @localhost -x 28.0.0.130*

While the above lookup is not working, the below method is working,
*> dig @localhost 130.0-27.128.0.0.28.in-addr.arpa. PTR +short*
*> 3G00002Phone.adparent.com <http://3G00002Phone.adparent.com>.*



*Now can someone tell me why the first method is not working, will my
reverse zone work properly in the real world?*
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20181227/2fea0623/attachment.html>


More information about the bind-users mailing list