Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: BIND configuration file blank in zpanel  (Read 1991 times)

0 Members and 1 Guest are viewing this topic.

lathu_official

  • Guest
BIND configuration file blank in zpanel
« on: January 21, 2014, 09:39:26 pm »
When we add additional domains in zpanel, sometimes the named.conf may go blank. Actually it is a bug in zpanel.
 
Go to zpanel > Admin > moduleAdmin >DNS config >Tools > Force Records Update on Next Daemon Run
 
Then run the daemon by going to
 
Admin > Zpanelconfig> Run Daemon now option in the top bottom of it.
 
Also location of named.conf in zpanel is /etc/zpanel/configs/bind/etc/named.conf and /etc/zpanel/panel/local/zpanel/etc/build/config_packs/centos_6_2/bind/etc/named.conf
 
The location of zone files is /etc/zpanel/configs/bind/zones
 
All zone files and dns files should have user and group as apache.
 
To avoid the named.conf going blank while adding new domains, do the following:
 
1) Log into zpanel
2) Go into the Module Admin
3) Click the DNS Config link
4) Edit this config option in the general tab:
 
Named CheckZone
 
FROM

named-checkzone
named-checkconf
named-compilezone
 
TO

/usr/sbin/named-checkzone
/usr/sbin/named-checkconf
/usr/sbin/named-compilezone

-------------.
Thanks.