fedora Core 4 with bind DNS... I am trying to stop the Open DNS servers warning... I added allow-recursion { localnets; }; 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? Thanks! rdb
you need to edit a copy of named.conf.master and save it to customized_templates dir Code: cp /root/ispconfig/isp/conf/named.conf.master /root/ispconfig/isp/conf/customized_templates/ then edit your changes Code: vi /root/ispconfig/isp/conf/customized_templates/named.conf.master your changes will not be over wrote then during a update.
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.