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 Issues

Discussion in 'Bind/DNS/Nameserver' started by Aaron Guise, Nov 1, 2011.

  1. Aaron Guise

    Aaron Guise Registered

    Nov 1, 2011
    Likes Received:
    Trophy Points:
    Hamilton, New Zealand, New Zealand
    cPanel Access Level:
    Root Administrator
    Hi All,

    I really hope someone can help assist. I have one cPanel/WHM server (ns1) and a cPanel DNS Only server (ns2). The cluster is like this.

    Webserver(ns1) - Synchronise Changes
    -> DNS Only (ns2) Standalone

    So when both of my nameservers are up and responding the requests are balanced between ns1 and ns2 quite ok. However I had an instance the other day when nsd malfunctioned on (ns1) and the websites I host became unavailable due to DNS. ns2 could not be found at all while ns1 was down so the dns would not resolve.

    I clearly must have something wrong in my dns setup and would appreciate if anyone can help point this out.

    I know it was nsd misbehaving as using the IP I was able to login to WHM and once restarted it was working lightning quick.

    I have included my DNS Zone files from the DNS Only server for reference.

    DNS Zone for NS1:
    ; cPanel first: (update_time):1319454082 Cpanel::ZoneFile::VERSION:1.3 latest:
    ; Zone file for
    $TTL 14400
    @      86400    IN      SOA (
                    2011092901      ; serial, todays date+todays
                    86400           ; refresh, seconds
                    7200            ; retry, seconds
                    3600000         ; expire, seconds
                    86400 )         ; minimum, seconds 86400 IN NS 86400 IN NS
     IN A IN A IN MX 0
    mail IN CNAME
    www IN CNAME
    ftp IN CNAME
    DNS Zone for NS2:
    ; cPanel first: (update_time):1319454082 Cpanel::ZoneFile::VERSION:1.3 latest:
    ; Zone file for
    $TTL 14400   3600    IN      SOA       (
                                                    2011102406 ;Serial Number
                                                    3600 ;refresh
                                                    7200 ;retry
                                                    3600000 ;expire
                                                    3600 ;minimum
            )   86400   IN      NS   86400   IN      NS   3600    IN      A
    localhost       14400   IN      A   14400   IN      MX      0
    mail    14400   IN      CNAME
    www     14400   IN      CNAME
    ftp     14400   IN      CNAME
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You might try having the nameserver A records for ns1 and ns2 on both machines rather than ns1 having the A record for it and ns2 having the A record for it only.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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