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.

Multiple Shared Servers Sharing Nameservers

Discussion in 'Bind / DNS / Nameserver Issues' started by Christopher Zeman, Oct 27, 2016.

Tags:
  1. Christopher Zeman

    Joined:
    Jul 1, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Silver Lake, WI
    cPanel Access Level:
    Root Administrator
    Would a DNS cluster in which multiple shared servers are configured to use (write-only to) the same cluster of DNSOnly nodes work? I'm not sure if write-only deletes everything on the target before writing or just writes and I can't find any information that confirms if this would work or not. It could just be that I'm missing or misreading something. :)

    Thank you,
    Chris

    MWSnap007 2016-10-27, 08_27_08.png
     
  2. alimaserrat

    alimaserrat Registered

    Joined:
    Oct 27, 2016
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Toronto
    cPanel Access Level:
    Root Administrator
    I really like to know about this method, we like to use same 2 nameservers but connect it to multiple WHM servers in different data centers. Which they have different IPs.

    Can you please explain how to do this.
     
  3. Christopher Zeman

    Joined:
    Jul 1, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Silver Lake, WI
    cPanel Access Level:
    Root Administrator
    I just submitted a support ticket asking if this was possible, but I'll explain what I'm asking since you were wondering.

    My idea was to have all of my cPanel/WHM (shared web servers) set up to "write-only" the same group of nameservers in the DNS cluster. I don't know if, when changes are written to the nameservers, if that deletes what other shared servers wrote to the cluster.

    In other words...
    • cPanel/WHM servers shared1 and shared2 are both configured for the same DNS cluster consisting of ns1 and ns2 and are set up to write-only.
    • Domain a.com is hosted on shared1 and shared1 writes the dns files to ns1 and ns2.
    • Domain b.com is hosted on shared2 and shared2 writes the dns files to ns1 and ns2.
    Does shared2's actions have any affect on what shared1 wrote to the DNS cluter and vice-versa?

    Chris
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The cluster setup you are describing is commonly referred to as a direct link configuration, and is actually the recommended method to setup a cluster. It's documented at:

    Guide to DNS Cluster Configurations - cPanel Knowledge Base - cPanel Documentation

    That said, the downside to using write-only mode is that WHM will not check whether a DNS zone exists before you create an account. Because of this, it is possible to create the same domain name on two or more of these servers. If this occurs, the servers compete for updates to that domain. Setting the role to Synchronize will prevent this from happening. Here's a description of each role from our DNS Cluster documentation:

    Thank you.
     
Loading...

Share This Page