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.

Confused about DNS Clustering

Discussion in 'Bind / DNS / Nameserver Issues' started by KCG, Jan 22, 2016.

  1. KCG

    KCG Registered

    Joined:
    Jan 22, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Hi guys, I want to know if you could explain to me on how to properly setup CPanel DNS Cluster. I am in the learning process and still quite confused about DNS clustering. I don't quite understand how to properly configure it.

    Here my what I did:

    1x CPanel DNSONLY 1.1.1.1
    1x Cpanel DNSONLY 2.2.2.2
    1x CPanel Main Server 3.3.3.3

    Here are my questions:
    • When I configure the DNSONLY servers, what do I fill out for the nameserver?
    • It says that I need 2 ip addresses for the DNSONLY server but I only have 1. Do I get another ip address or do I use the same ip address for NS1 and NS2?
    • What about for the second DNSONLY node? Do I set them as NS3 and NS4?
    • What do I put for the host name? can it be just any hostname? (exp. dns-nyc.mydomain.com for dns node 1, dns-uk.mydomain.com for dns node 2)
    • What do I put under hostname and nameserver for the CPanel Main Server? Do I just create another hostname and use the nameservers that I created from the DNSONLY nodes?

    Thank you!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. KCG

    KCG Registered

    Joined:
    Jan 22, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    I had read the guide but it doesn't provide me much info on how to properly configure the DNS Cluster.

    In the configuration page it require me to setup 2 NS for each server.

    So if I configure:

    1x CPanel DNSONLY 1.1.1.1 = NS1.MYDOMAIN.COM
    1x Cpanel DNSONLY 2.2.2.2 = NS2.MYDOMAIN.COM

    What name server do I put in the main cPanel server?

    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The idea behind a DNS cluster is that you typically use the same name servers for all servers in the cluster. This way, if the zone loads from another server in the cluster, the entries remain the same. Thus, configure the hostnames like this:

    cPanel server - host.domain.com
    DNS-Only server1 - ns1.domain.com
    DNS-Only server2 - ns2.domain.com

    Use NS1/NS2.domain.com when entering your name server names in Web Host Manager.

    Thank you.
     
Loading...

Share This Page