
This tutorial explains how to close an open DNS server and obscure which version you are running.
Open /etc/named.conf
Undernieth this:
Add the following, substituting 111.222.333.444 for your servers primary IP address (if your server listens on any other addresses add those 1 per line in the acl as per the others in the list)
If you are running a DNS cluster be sure to add the IP addresses of your other DNS server into the list as well.
Next Find the options container and change it so that it looks like this:
Restart named and you should have a closed DNS server, You can add as many ACL's as you like for the different options such as recursion, notify & transfer to give you a bit more control , this tutorial is intended only to get you started.
No comments have been posted for this article
HTML tags allowed in comments are: strong,em,ul,ol,li, URL's are automatically converted to links so no need to use <a>.