close open DNS server

Author: firstnetguard
Submited At: 2007-03-22
Votes: 0

you made a check on dnsreport.com and you got a FAIL on open dns server?
not a problem, now we show you how to close that gap.

start your favorite editor (vim, nano, pico, ...) and load "/etc/named.conf".

At the beginning  you should have something like

key "rndckey" {
};

or

controls {
inet 127.0.0.1 allow { localhost; } keys { "rndckey"; };
};

after that part insert

acl "trusted" {
        localhost;ServerIP1;ServerIP2;
};

options {
        allow-recursion { trusted; };
        allow-notify { trusted; };
        allow-transfer { trusted; };
};

if you already have a section "options", just add the 3 line into it.
don\'t forget to change "ServerIP1" and "ServerIP2" with your server IP\'s (or even more if necessary).
now restart your named service and check again with www.dnsreport.com

Was this article useful?
YES | NO

Other useful links

Webhosting
Looking for Webhosting?
www.Shopica.org

Blinkx Video Search
World's largest video search engine. Over 26 million hours of video.
www.blinkx.com

Movie Reviews Done Right
If it's crap, we'll tell you. Spill.com movie reviews and community
www.spill.com

Watch Free Videos At Mevio!
Tons of Free Videos, Only At Mevio.com
mevio.com

Modern Day Jesus: Santa vs. Jesus
Jesus Christ! Modern day life is pretty tough for ol' J.C. - especially when he has to compete with that conceited Kris Kringle! Watch it on Atom.com
atom.com

Copyright © 2007 Firstnetguard.com