allow-recursion in named.conf

Discussion in 'Installation/Configuration' started by rbartz, Jan 9, 2008.

  1. rbartz

    rbartz Member

    fedora Core 4 with bind DNS...

    I am trying to stop the Open DNS servers warning... I added

    allow-recursion {

    in the options section in /var/named/chroot/etc/named.conf and restarted named which got rid of the error. Great!

    BUT... when I changed a DNS setting in ispconfig later, it recreated the /var/named/chroot/etc/named.conf and took out the entry.

    I tried adding another options section below the changes line in the named.conf file, but bind chokes on that, can't have two options sections...

    How can I get this directive to be used by bind so that I no longer have an Open DNS server?


  2. daveb

    daveb Member

    you need to edit a copy of named.conf.master and save it to customized_templates dir
    cp /root/ispconfig/isp/conf/named.conf.master /root/ispconfig/isp/conf/customized_templates/
    then edit your changes
    vi /root/ispconfig/isp/conf/customized_templates/named.conf.master
    your changes will not be over wrote then during a update.
  3. Rockdrala

    Rockdrala New Member

    He loses dynamic control of his Records in ISPconfig though wont he.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The solution from daveb is fine in my opinion. The customized_templates folder is to add permanent changes to the ispconfig templates. ISPConfig will use this template as basis for the named.conf file in future.
  5. rbartz

    rbartz Member

    Excellent... :)

    Thank you, it works fine now.

    You guys are the greatest!


Share This Page