SBDavid
May 30th, 2009
May 30th, 2009
How to Close Open DNS Servers
How to Close Open DNS Servers
How do I check my system?
Go to www.dnsreport.com
Edit the /etc/named.conf file such.
And then look for:
key “rndckey” {
};
};
After this add the following, replacing mainIP and secondaryIP with your systems nameservers.
acl “trusted” {
mainIP;secondaryIP;127.0.0.1;
};
mainIP;secondaryIP;127.0.0.1;
};
After that’s done you want to add the section that says only the trusted is allowed for certain functions. Check your options area and make sure you add the following:
allow-recursion { trusted; };
allow-notify { trusted; };
allow-transfer { trusted; };
allow-notify { trusted; };
allow-transfer { trusted; };
Then Restart DNS