How to disable open recursive dns in dnsmasq

dns-hostingdnsmasqrecursive

How do I secure my DNS server (dnsmasq)? According to a testsite, my DNS server can be exploited

Best Answer

As far as I know, dnsmasq doesn't support a setting like that. In fact, you shouldn't even use it as an open DNS server, it's not meant for that, dnsmasq is only meant for local networks.

If you want to host your own DNS I would suggest you switch to BIND because then you can set the following under options:

recursion no;
additional-from-cache no;
Related Topic