[Dnsmasq-discuss] Forwarding reverse DNS lookups for classless subnets

Shankar Unni shankar.unni at gmail.com
Tue Jul 18 21:15:19 BST 2017


We have a private domain with its own DNS server, with addresses in the 172.16/12 subnet.

I can forward the normal lookup queries like this:

server=/mydom.int/172.16.254.1

To forward the reverse DNS lookups, do I have any alternative other than declaring 16 separate server lines of the form

server=/16.172.in-addr.arpa/172.16.254.1
server=/17.172.in-addr.arpa/172.16.254.1
….

?  Is there any form of wildcarding or ranges allowed for the numeric portions of the reverse address (e.g. [16-31].172.in-addr.arpa, or any such form) that I can use to have a single server declaration for the reverse lookup for the entire classless subnet?

Thanks!




More information about the Dnsmasq-discuss mailing list