Categories

Sunday, 5 August 2012

Empty named.conf file in zpanel

Hello,

 When we add additional domains in zpanel some times the named.conf may go blank.to reload it.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.


Alos 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

Also all zone files and dns files have user and group as apache.

Also to avoid the named.conf to go blank in next domain add ,Pleas 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

Regards


No comments:

Post a Comment

Ad