Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

DNSOnly Slave not syncing with Master (WHM/CPanel)

Discussion in 'Bind/DNS/Nameserver' 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:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice