The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DNSOnly Slave not syncing with Master (WHM/CPanel)

Discussion in 'Bind / DNS / Nameserver Issues' started by mickoni, Nov 10, 2014.

  1. mickoni

    mickoni Registered

    Joined:
    May 2, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,696
    Likes Received:
    656
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page