Disable recursion (public DNS) with Bind

I’ve just set up two new nameservers, and after only a few weeks, I’ve noticed that random IP addresses are hitting my nameservers requesting DNS records for 3rd party domains. What’s worse is that my nameservers are responding with the results.

To disable this in bind, add the following to the ‘options’ stanza within named.conf:

allow-recursion {“none”;};
recursion no;

Tagged with: , , ,
Posted in Technology

Leave a Reply