Community Forums
Connect with us on LinkedIn
Community Notice
  
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    1

    Default Open DNS

    ERROR: One or more of your nameservers reports that it is an open DNS server. This usually means that anyone in the world can query it for domains it is not authoritative for (it is possible that the DNS server advertises that it does recursive lookups when it does not, but that shouldn't happen). This can cause an excessive load on your DNS server. Also, it is strongly discouraged to have a DNS server be both authoritative for your domain and be recursive (even if it is not open), due to the potential for cache poisoning (with no recursion, there is no cache, and it is impossible to poison it). Also, the bad guys could use your DNS server as part of an attack, by forging their IP address. Problem record(s) are:
    How do I close off recursive access through WHM or SSH?

  2. #2
    Member
    Join Date
    Apr 2004
    Posts
    90

    Default

    Removed see skys reply
    Last edited by chris74108; 10-03-2006 at 08:44 PM.

  3. #3
    Member gupi's Avatar
    Join Date
    Apr 2004
    Posts
    125

    Default

    Also you can take a look at the tutorial from cymru.com.
    Stefaniu -gupi- Criste
    Hangar Hosting - a safe place for your Romanian online business

  4. #4
    Member
    Join Date
    Aug 2004
    Posts
    23

    Default

    I would be weary to follow chris's instructions, it would break a lot servers by only allowing recursion from those IP addresses.

    There's a lot about this topic, I've made a small page with a solution compiled from different sources:

    http://www.skyhorse.org/web-server-a...n-dns-servers/

    Remember to ALWAYS backup your named.conf before any changes...

  5. #5
    Member
    Join Date
    Aug 2006
    Posts
    113

    Default

    nano -w /etc/named.conf
    Before the line that says “directory /var/named”; (it could be /var, /var/named, etc)

    Put:

    recursion no;

    Save.

    Make sure you can ping your account and google.com afterwards.

  6. #6
    Member
    Join Date
    Aug 2004
    Posts
    23

    Default

    again, angelina's instructions just like chris's could work in some cases but are not the proper way to do it. White lists for allowed IP addresses is the way to go, check out the two links in the previous posts...

  7. #7
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    recursion no is definately not the way to go as Skyhorse mentioned.
    Also, here is a nice thread and script that will help you with the
    allow list for your service.

    Open DNS Servers :: DNSReport Fix Script

  8. #8
    Member
    Join Date
    Aug 2006
    Posts
    113

    Default

    recursion no worked in my case , but like skyhorse said if in some cases if there is possibility that it might break the servers , then its best to go with skyhorse solution to White lists the allowed IP addresses

    The link provided by skyhorse

    http://www.skyhorse.org/web-server-a...n-dns-servers/

    is good one for new users facings open dns problem

    Thanks skyhorse . Guess I was lucky that my server didnt broke .

  9. #9
    Member Manuel_accu's Avatar
    Join Date
    Jun 2005
    Posts
    191

    Default

    Hi,

    I think below mentioned URL will guide you for the same.

    http://forums.linuxwebadmin.info/ind...opic,49.0.html

    as well as you could also check the DNS server related command to check yoru DNS:

    http://forums.linuxwebadmin.info/ind...opic,30.0.html
    Linux Web Administrator Guide
    Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
    The visionary conceives the impossible, The missionary makes it possible. ...Gita.

  10. #10
    Member
    Join Date
    Apr 2006
    Posts
    85

    Default

    Quote Originally Posted by jayh38
    recursion no is definately not the way to go as Skyhorse mentioned.
    Also, here is a nice thread and script that will help you with the
    allow list for your service.

    Open DNS Servers :: DNSReport Fix Script
    I agree. I made the mistake of doing this now at least twice a day I have to go in
    and redo the named.conf file and restart manually named. Does anyone know how
    to get it to stop going back to the "recursion no" in named.conf and keep the acl
    info I have to keep changing it back to?

    Thanks for any help.
    EZ Web Solutions
    *coming soon*
    EZ Quality Hosting
    -- making your life EZ on the net...

  11. #11
    Member
    Join Date
    Oct 2006
    Posts
    47

    Default

    TO Disable recursive nameservers
    open your /etc/named.conf

    make sure you have this line

    options {
    directory "/var/named";
    allow-recursion { 127.0.0.1; <yourserverip1>; <yourserverip2>;};
    };

  12. #12
    Member
    Join Date
    Jun 2005
    Posts
    34

    Default

    I did as you said but dnsreport.com display open dns

  13. #13
    Member Manuel_accu's Avatar
    Join Date
    Jun 2005
    Posts
    191

    Default

    Could you please provide us your named.conf to know what canges you have made.
    Linux Web Administrator Guide
    Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
    The visionary conceives the impossible, The missionary makes it possible. ...Gita.

  14. #14
    Member
    Join Date
    Mar 2003
    Posts
    601

    Default

    I have a question about this.

    Would I need to add every IP address in my server cluster?

Similar Threads & Tags
Similar threads

  1. Open DNS Servers :: DNSReport Fix Script
    By shashank in forum cPanel and WHM Discussions
    Replies: 60
    Last Post: 12-14-2010, 03:51 AM
  2. open dns servers
    By outlaw web in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-03-2007, 04:52 AM
  3. closing open dns server
    By hamper in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-05-2006, 09:09 AM
  4. Open DNS servers
    By vlee in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 10-05-2006, 08:57 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube