How To Disable Dns Recursive Queries in Bind

If you check your site DNS parameters with and see error with Recursive Queries that says:

I could use the nameservers listed below to performe recursive queries. It may be that I am wrong but the chances of that are low. You should not have nameservers that allow recursive queries as this will allow almost anyone to use your nameservers and can cause problems. Problem record(s) are:

If you have your own VPS and Bind installed you can fix this issue by doing those steps:

  1. Login to your webmin and go to Servers->BIND DNS Server
  2. Select Miscellaneous options and there tick “Do full recursive lookups for clients?” to NO
  3. Apply configuration or just restart Bind for changes to take effect

You can also disable recursive queries by manually editing /etc/named.conf file, just put directive “recursion no;” without quotes in options part:

Restart Bind server and reload to check your site again and see that now it is correct.

, , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Comments are closed.