Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    104

    Default cPanel DNS Clustering -> Allowing axfr by default

    Sadly, I found out the hard way...

    cPanel DNS clusters allow axfr requests to all domains by default. Therefore every person on the internet can get a full list of records for my domain, even if I don't want them to.

    How do I fix this ASAP?

    I tried this on several other cPanel servers, they all do the same thing.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge rking's Avatar
    Join Date
    Aug 2005
    Posts
    188

    Default

    You can specify who can request zone modifications using the:

    Code:
    allow-transfer {};
    directive within your options section in /etc/named.conf. If you wanted to disable it for all hosts, you can add:

    Code:
    options {
       ....
       allow-transfer {none;};
    };
    cPanel's cluster system uses proprietary scripts to perform DNS syncs with master servers, so I don't believe you'll encounter any particular problems with disabling AXFR.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge rking's Avatar
    Join Date
    Aug 2005
    Posts
    188

    Default

    That may actually only disable the transfer requests. There is a ton of info on BIND directives here:

    http://www.zytrax.com/books/dns/ch7/xfer.html

  4. #4
    Member
    Join Date
    Apr 2005
    Posts
    104

    Default

    I know how to change it in bind.conf, however I'm concerned it will just get re-written when cPanel re-loads the zones.

  5. #5
    Member
    Join Date
    Apr 2005
    Posts
    104

    Default

    Sounds good, we'll change it and pray for the best.

    cPanel -- possible to add this as default?

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge rking's Avatar
    Join Date
    Aug 2005
    Posts
    188

    Default

    We've had AXFR transfer requests disabled for some time in /etc/named.conf on our cluster and cPanel has yet to overwrite it. Unless you explicitly perform a rebuild of your named.conf, I don't believe cPanel will remove this option. If you have to rebuild your named.conf, just remember to add back in your options.

Similar Threads & Tags
Similar threads

  1. AXFR problem with secondary DNS server zone transfer
    By katamiaw in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-06-2011, 11:22 AM
  2. DNS Clustering Plesk Windows & CPANEL DNS ONLY
    By 0senjed0 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-25-2010, 05:35 AM
  3. cPanel DNS Clustering.
    By n00bie in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-25-2010, 05:33 AM
  4. cPanel 11.24 dns clustering
    By dwykofka in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-16-2008, 11:45 PM
  5. cPanel 11 and DNS Clustering
    By WireNine in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-01-2007, 09:24 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube