Skip to main content

DNS Recursion - Disable

Comments

3 comments

  • quizknows
    You only need recursion enabled on a DNS server if you want someone to be able to query that server for a domain it is not authoritative for. I.E. if you want it to answer for a domain you're not hosting and it does not have a zone file for. Most of the time you can disable recursion completely; I do on my DNS servers. Obivously disabling/limiting it is a good thing so that you're less likely to be used in DNS amplification DoS attacks. If the server has a zone file for the domain it is queried for, it's going to answer, even if recursion is disabled completely. The point in disabling it is so I can't query you for google.com or some other large zone file that belongs to a site you don't even host. You should be fine setting up both the DNS and Web servers with a trusted ACL in the named.conf to be on the safe side. Just remember all your semicolons ;) Also, you should not need to add IP's assigned to the server itself to the trusted ACL if 127.0.0.1 is trusted.
    0
  • cPanelMichael
    Hello :) The previous post is accurate. Also, remember you are modifying the recursion value for the "External" view. It's okay to keep recursion enabled for the "Internal" view. Thank you.
    0
  • wanted4life
    Recursion will not consume any resourcess if you keep it enabled. You can get up to 65000 queries per second ( you will never get there ) and the consumption for these queries is less then 5% of your server. So you can keep recurion open without any problem. If is open for public, it means that people can use your server to resolve the domains they access. Which also means that they must know that about your server and to know how to modify it and why to modify it, also also they must want to use your DNS instead others. Until you get so much people that you get 65000 queries every second, you will need over one billion people. Which is impossible to do that. [COLOR="silver">- - - Updated - - - However, recursion open for public it can be a security issue if you use unsecured content on a spoofed domain. for example. if you have a domain name created on your server ( [Removed] ) but the nameservers doesn't point to that server, it means that somebody can access the content of that website, only if they use your IP address as DNS resolver. Some people do this mistake and do not secure the content because they are 100% sure that nobody from outsite are able to access that content, since the domain is actually hosted on another server/network. So they don't make any security. Just make sure you don't make the same mistake. I hacked plenty of pop servers and mysql databases because of spoofed domains and recursion open.
    0

Please sign in to leave a comment.