[Dnsmasq-discuss] dnsmasq: routing non /24 reverse in-addr.arpa requests

Alessandro Bottonelli alessandro at bottonelli.it
Sun Aug 28 10:33:02 BST 2016


very new to dnsmasq, and also very impressed. I replaced bind last night 
'cause I needed to route different subnets reverses to different name 
servers. Not a clean setup, I know. But that's what my Customer has been 
doing over the last twenty years. Cannot do anything about it.

Here's the current /etc/dnsmasq.conf content (I added the line numbers):

1.  # routing PTR queries to nameservers:
2.  server=/50.150.10.in-addr.arpa/
3.  server=/51.150.10.in-addr.arpa/
4.  server=/52.150.10.in-addr.arpa/
5.  server=/53.150.10.in-addr.arpa/
6.  server=/54.150.10.in-addr.arpa/
7.  server=/156.240.10.in-addr.arpa/
8.  server=/157.240.10.in-addr.arpa/
9.  server=/158.240.10.in-addr.arpa/
10. server=/129.240.10.in-addr.arpa/
11. # anything else not defined above (strict-order is set)
11. server=/10.in-addr.arpa/

The issue is with line 7, actually 10.240.156.x IS NOT a /24 net. I 
tried different syntax forms, I searched, but could not find a way to 
tell dnsmasq about that.

Is it possible?

Or alternatively; is there a way to tell dnsmasq to ignore NXDOMAIN from 
previous servers and keep asking? I KNOW, intellectually very wrong. But 
real life is real life :-)

Thanks in advance for any help.


More information about the Dnsmasq-discuss mailing list