Skip to main content

Multiple DNSonly servers with multiple cPanel servers -> sync?

Comments

6 comments

  • vlee
    I have 3 DNS Only Servers and 2 Web Servers use clustering. I set DNS Only's to Standalone in the cluster Then I set the Web Servers to Synchronize Changes to the DNS Only servers in the Cluster. So whatever DNS changes you make from the Web Servers it automatically Synchronize Changes to the DNS Only servers. No need to Synchronize Changes to the other Web Servers. Note: may sure you setup API Tokens between the Web Server and the DNS Only servers I hope this helps
    0
  • cPanelLauren
    Hi @mitch2k
    webserver 1 -> namerserver 1,namerserver 2,namerserver 3 webserver 2 -> namerserver 1,namerserver 2,namerserver 3 webserver 3 -> namerserver 1,namerserver 2,namerserver 3

    Personally, I think this configuration is perfect
    I am wondering if I need to setup sync between the webservers.

    I would absolutely not do this, this would allow for conflicts. Our documentation here may be helpful for you: Guide to DNS Cluster Configurations - cPanel Knowledge Base - cPanel Documentation
    0
  • mitch2k
    Hi, thanks for the feedback both!
    Personally, I think this configuration is perfect

    In this configuration, what happens if both webserver 1 and 2 write the same zone towards the dns only's? If I use the transfer tool in this case (for example server 2 -> server 3), should or should I not use express transfer? And when deleting the account from the old server, should I retain the DNS zone? Thanks!
    0
  • cPanelLauren
    Hi @mitch2k Duplicate DNS records would cause a conflict, really you shouldn't have a domain existing on both servers at the same time unless in the case of a transfer in which case the transfer tool well update the DNS zone files accordingly.
    should or should I not use express transfer?

    Express transfer in this case should work well: Transfer Tool - Version 78 Documentation - cPanel Documentation
    And when deleting the account from the old server, should I retain the DNS zone?

    You shouldn't need to manually delete the DNS zone when you terminate the account you should allow the DNS zone to be terminated with it as the other webserver would then be handling the DNS zone for the domain. Thanks!
    0
  • mitch2k
    Hi, I have now moved to the suggested setup: webserver 1 -> namerserver 1,namerserver 2,namerserver 3 webserver 2 -> namerserver 1,namerserver 2,namerserver 3 webserver 3 -> namerserver 1,namerserver 2,namerserver 3 However, I still have all DNS zones on all webservers because previously all webserver were syncing to each other. How can I clean up these zones? Thanks
    0
  • cPanelLauren
    Hi @mitch2k I'm not aware of a way to remove DNS zones in bulk when the account does not exist on the server, though they won't be getting synced any longer and if the NS are pointed to the NS servers they won't be getting looked at on the nameservers it could still pose a potential issue.
    0

Please sign in to leave a comment.