When I query the ISP's DNS server for foo.example.com
, it comes back with something like this:
;; ANSWER SECTION:
foo.example.com. 159 IN A 192.168.40.20
(note that the IP address is a local one)
When I do the same over DNSMasq, the response is empty; the A
record is missing. It works fine for every other address I've tried.
What is this, a mis-configuration of DNSMasq, a bug, or expected behaviour?
You probably have dnsmasq's rebind protection enabled with this option:
You can disable this entirely by removing this option, or you can whitelist certain domains using this option:
I think it could be Bind9 view feature, especially if your DNSMasq is not in the same ip range as your PC