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.

Nameserver problems !!

Discussion in 'Bind / DNS / Nameserver Issues' started by justahost, Jun 10, 2007.

  1. justahost

    justahost Member

    Joined:
    Sep 3, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Morning all.

    I have a VPS that has cPanel 11 on it.
    Its been a good few years since I set up a cPanel server but went thrugh all the steps to initially set up WHM, assigned 2 nameservers, added IP and then added A entry etc and then created a domain on there.

    Now, I can't get to the site and dnsreport says no nameservers are responding :s

    http://www.dnsstuff.com/tools/dnsreport.ch?&domain=dotcomhosts.com

    Any help appreciated - and I like the new version 11, a lot better than the older vesions!

    Cheers,
    Ryan
     
  2. eNetHosts

    eNetHosts Well-Known Member

    Joined:
    Apr 21, 2007
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    16
    Your DNS connection is being refused on:

    ns1.dotcomhosts.com [91.186.4.103]

    Have you got any firewalls installed?
     
  3. justahost

    justahost Member

    Joined:
    Sep 3, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I did but closed that off so I could check, still the same result :(
    I started again (thanks to the rebuild in the VPS) and when I try to add the A record for the nameserver in WHM, I get the following error:

    "The zone for the root domain dotcomhosts.com is missing, or could not be read. The ip address will be read from the webserver configuration and a new zone will be created for this subdomain. Bind reconfiguring on uk using rndc Error reconfiguring bind on uk: rndc: connect failed: 127.0.0.1#953: connection refused
    Created DNS entry for ns1.dotcomhosts.com" - same hapens for ns2 as well.

    Several hours later and I am losing hair now!!

    Hope that helps someone help me out :)

    Cheers
    Ryan
     
  4. justahost

    justahost Member

    Joined:
    Sep 3, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    No matter - all working now.

    Not sure what was wrong but in the end I renamed the named.conf that cPanel created and used a named.conf that just had the basics in there:

    key "rndc-key" {
    algorithm hmac-md5;
    secret "XmMrE4DSy/RkO0WTAp3OfA==";
    };

    controls {
    inet 127.0.0.1 port 953
    allow { 127.0.0.1; } keys { "rndc-key"; };
    };


    and it worked fine.

    Ah well - at least I got to know cPanel intimately again after all this time (and it made me love Directadmin even more!!!)

    Ry
     
  5. vagsoftware

    vagsoftware Active Member

    Joined:
    Oct 20, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Wassup,

    For bind (named) never count on default confs and always verify permissions on files and owner and group!

    Respekt.
     
Loading...

Share This Page