DNSOnly Slave not syncing with Master (WHM/CPanel)

mickoni

Registered
May 2, 2014
2
0
1
cPanel Access Level
DataCenter Provider
Hi group !

I'm trying to setup a DNSONLY server to slave from my WHM/cPanel server. I've set it up as per the instructions. The 2 servers seem to be communicating but no synchronizing is happening.

--------------------------
| |
| WHM & cPanel server |
| Name:webhostx |
| |
-----------------------
|
|
V
-----------------------
| |
| DNSONLY Server |
| Name: ns7 |
| |
-----------------------



When I look at the /usr/local/cpanel/logs/error_log I see these messages:

Code:
[2014-11-10 15:26:45 +0000] warn [dnsadmin-ssl] _cached_zone_fetch: Could not read from zonefile /var/named/mydomain.co.uk.db at /usr/local/cpanel/Cpanel/NameServer/Local/cPanel.
pm line 995
        Cpanel::NameServer::Local::cPanel::_cached_zone_fetch(Cpanel::NameServer::Local::cPanel=HASH(0x2894d70), '/var/named', 'mydomain.co.uk') called at /usr/local/cpanel/Cpane
l/NameServer/Local/cPanel.pm line 874
        Cpanel::NameServer::Local::cPanel::getzone(Cpanel::NameServer::Local::cPanel=HASH(0x2894d70), '2g21I5hv9P6dP07GuLVK2doiuWQKS2PV', HASH(0x10e4cc0), 'zone=mydomain.co.uk&dn
suniqid=2g21I5hv9P6dP07GuLVK2doiuWQKS2PV') called at whostmgr/bin/dnsadmin-ssl line 804
        main::_action_handler('GETZONE', 'local', '2g21I5hv9P6dP07GuLVK2doiuWQKS2PV', HASH(0x10e4cc0), 'zone=mydomain.co.uk&dnsuniqid=2g21I5hv9P6dP07GuLVK2doiuWQKS2PV') called at
 whostmgr/bin/dnsadmin-ssl line 863
        main::local_action_handler('GETZONE') called at whostmgr/bin/dnsadmin-ssl line 569
        main::handle_request() called at whostmgr/bin/dnsadmin-ssl line 337
[2014-11-10 15:26:58 +0000] warn [dnsadmin-ssl] _cached_zone_fetch: Could not read from zonefile /var/named/mydomain.co.uk.db at /usr/local/cpanel/Cpanel/NameServer/Local/cPanel.
pm line 995
        Cpanel::NameServer::Local::cPanel::_cached_zone_fetch(Cpanel::NameServer::Local::cPanel=HASH(0x27c7e60), '/var/named', 'mydomain.co.uk') called at /usr/local/cpanel/Cpane
l/NameServer/Local/cPanel.pm line 874
        Cpanel::NameServer::Local::cPanel::getzone(Cpanel::NameServer::Local::cPanel=HASH(0x27c7e60), 'Qmt7202kysktpeDpxykx4Rh5i7No3h6w', HASH(0x10e4cc0), 'zone=predict.me.uk&dn
suniqid=Qmt7202kysktpeDpxykx4Rh5i7No3h6w') called at whostmgr/bin/dnsadmin-ssl line 804
        main::_action_handler('GETZONE', 'local', 'Qmt7202kysktpeDpxykx4Rh5i7No3h6w', HASH(0x10e4cc0), 'zone=predict.me.uk&dnsuniqid=Qmt7202kysktpeDpxykx4Rh5i7No3h6w') called at
 whostmgr/bin/dnsadmin-ssl line 863
I have the master as "synchronizing" and the slave as "standalone"

ns7.png
webhostx.png

Any ideas?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello :)

Please let us know if running the following commands on the hosting server helps:

Code:
mv /etc/named.conf /etc/named.conf.backup1
/scripts/rebuilddnsconfig
Thank you.