ispCP - Board - Support
named.conf getting corrupted - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: named.conf getting corrupted (/thread-6092.html)



named.conf getting corrupted - gilbert - 03-17-2009 03:31 AM

Hi,

Everytime I add a domain or subdomain, dns dies.

Upon investigation I find the top portion of the file is duplicated 3 times.

in /var/log/daemon.log
I see
Mar 16 10:58:58 joe named[27629]: /etc/bind/named.conf.options:31: 'options' redefined near 'options'
Mar 16 10:58:58 joe named[27629]: loading configuration: already exists
Mar 16 10:58:58 joe named[27629]: exiting (due to fatal error)


Once I delete the duplicated lines, bind starts fine.

How is this file being built and how do I clean the templates to fix this problem.

Thanks,

Gilbert.