Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

DNS cluster Setup assistance needed

Discussion in 'Bind/DNS/Nameserver' started by rotame, Oct 28, 2017.

Tags:
  1. rotame

    rotame Member

    Joined:
    Sep 20, 2006
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Athens,Greece
    cPanel Access Level:
    Root Administrator
    Hi

    I have 3 CPANEL servers srvA, srvB, srvC and 2 VPS which use DNSonly

    I want to enable DNS cluster so I am doing the followings :

    I use a domain for DNS purposes lets say that be dnsdomain
    For this domain I will use 2 IPs as ns in two diferrent VPS and there will be installed DNSonly


    So my confing will be :
    srvA stand alone CPANEL
    |----- >dns1srv.dnsdomain ( DNS VPS1 ) synchronize mode
    |---->dns2srv.dnsdomain (DNS VPS2 ) synchronize mode

    In my registar as registared name server I will use
    ns1.srvAhostname
    ns2.srvAhostname
    dns1srv.dnsdomain
    dns2srv.dnsdomain

    srvB stand alone CPANEL
    |----- >dns1srv.dnsdomain ( DNS VPS1 ) synchronize mode
    |---->dns2srv.dnsdomain (DNS VPS2 ) synchronize mode

    In my registar as registared name server I will use
    ns1.srvBhostname
    ns2.srvBhostname
    dns1srv.dnsdomain
    dns2srv.dnsdomain


    srvC stand alone CPANEL
    |----- >dns1srv.dnsdomain ( DNS VPS1 ) synchronize mode
    |---->dns2srv.dnsdomain (DNS VPS2 ) synchronize mode

    In my registar as registared name server I will use
    ns1.srvChostname
    ns2.srvChostname
    dns1srv.dnsdomain
    dns2srv.dnsdomain
    etc


    Questions :
    - This configuration its OK or for every server need to use different VPS DNSonly ?
    - If my main server fails example srvA my DNS records still to reported by dns1srv and dns2srv with this way avoiding service failures; as example www service serviced by other server, mail server by other server ?
    - If my srvB fails and all services hosted there what happens when someone sends me an email ?
    I will loose it or I will get it when my srvB is online again ?
     
    #1 rotame, Oct 28, 2017
    Last edited: Oct 28, 2017
  2. rotame

    rotame Member

    Joined:
    Sep 20, 2006
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Athens,Greece
    cPanel Access Level:
    Root Administrator
    One more question
    I have a client in srvC who wants private name servers
    I will setup his account at srvC
    As nameservers I will use ns1.clientdomain & ns2clientdomain but as IPs?

    The IPs for this must be local from srvC or I can use DNS VPS1 & DNS VPS2 ips?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, this is an acceptable configuration. However, make sure you are using the correct IP addresses for your name servers at the registrar. EX:

    The NS1/NS2 IP addresses should match the IP addresses associated with DNS1SRV/DNS2SRV.

    The DNS cluster only adds redundancy for DNS. You'd have to setup or restore the cPanel account from a backup on a new cPanel server and then connect that new cPanel server to the existing DNS cluster. Or, you could update the "A" records manually in the domain name's DNS zone on the DNS-Only servers.

    You would lose the email if the server is not active at all, unless the remote mail server queues the email attempts delivery again once it detects your server is running.

    Yes, this is acceptable. You'd need to use the same IP addresses that you use for the name servers associated with your DNS cluster.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. brt

    brt Well-Known Member

    Joined:
    Jul 9, 2015
    Messages:
    89
    Likes Received:
    7
    Trophy Points:
    8
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Why don't you share the two nameservers with -all- of your servers and have the same two standardized nameserver records for all of your clients/websites, regardless of which server they're utilizing?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice