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.

SOLVED zone information confusion since enabling DNS cluster and transferring a site

Discussion in 'Bind / DNS / Nameserver Issues' started by DigitalEssence, Apr 27, 2017.

Tags:
  1. DigitalEssence

    Joined:
    May 21, 2014
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hi,


    I have recently upgraded from one cPanel server to two and am a bit confused about DNS and zones.

    I have server A which has all 4 nameservers pointing at it and all of the zone files for all of my sites. I’m aiming to move my websites from A to B leaving A for WHMCS and my website. I set up a DNS cluster on A with server B as follows.


    Server A > WHM > Clusters > DNS Cluster
    Hostname - IP Address - DNS Role
    Server B IP - Server B IP - Synchronize changes

    And the DNS Path Diagram shows:

    Server A hostname
    ↳ Server B IP Address

    I then used the Transfer tool to transfer a test account/website from A to B which it did (after I’d enabled root login in sshd on the source server A). I can see it there, it has an account and a zone file. Looking good so far.

    Looking on server B in WHM > DNS Functions > Edit DNS Zone > domainname.tld I see the A records all have the IP address of server B. That is what I expected.

    Looking on server A in WHM > DNS Functions > Edit DNS Zone > domainname.tld I see the A records all have the IP address of server B. That is also what I expect.

    But the site still resolves to server A. It shouldn’t do…

    I ran an nslookup on server A and it came back with A’s IP address. It should point to B as the Edit DNS Zone in WHM shows the A records with B’s IP address.

    So, I had a look in /var/named/domainname.tld.db on server A and the file has server A’s IP address in the A records. On server B the zone file is displaying server B's IP.

    Why is the zone file showing A’s IP Address when WHM > DNS Functions > Edit DNS Zone > domainname.tld doesn’t match this and shows B’s IP Address?

    It seems that on Server A, WHM is not displaying the correct zone file any more.

    Sorry if I’m being silly and confused but I always thought that Edit DNS Zone in WHM read from /var/named and should still do even if I'm clustering the DNS?

    Thanks,

    Hedley
     
  2. DigitalEssence

    Joined:
    May 21, 2014
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    I opened a support ticket up about this and a Synchronize DNS Records fixed the issue.

    I'm wondering if a restart of BIND may also have resolved this.

    Anyway, thought I would update the post in case anyone else has an issue.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see the issue is now solved. Thank you for updating us with the outcome.
     
Loading...

Share This Page