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.

cluster setup with 2 servers both serving dns and web

Discussion in 'Bind / DNS / Nameserver Issues' started by xmak, May 8, 2013.

  1. xmak

    xmak Registered

    Joined:
    May 8, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm putting two servers in a DNS cluster. They will both act as both dns and web servers, since some of the subdomains will be hosted on first server, and other on the second.

    This is the setup i whish to achieve:

    Code:
    +----------------------------------------+
    |         webserver1                     |
    | dns1 (ns1.domain.com, ns2.domain.com)  |
    +----------------------------------------+
                        |
                        |
    +----------------------------------------+
    |         webserver2                     |
    | dns2 (ns3.domain.com, ns4.domain.com)  |
    +----------------------------------------+
    
    Since both servers will be serving webs in the same root domain, I need them both to have synchonized recored with each others.

    So what setup should I have for this? To which DNS Role should each server be set up to?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You will need to have the DNS Role on each server configured to "Synchronize Changes". It's important to keep in mind that you should not create hosting accounts for each individual subdomain on both servers. While the configuration you are seeking should function, it's generally better to have a dedicated machine for DNS hosting purposes only, instead of synchronizing web servers to each other.

    You can review the full DNS Cluster configuration guide at:

    Configure Cluster

    Thank you.
     
Loading...

Share This Page