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.

named has failed - dns server is not working

Discussion in 'Bind / DNS / Nameserver Issues' started by hybrid56, Jun 24, 2011.

  1. hybrid56

    hybrid56 Member

    Joined:
    Jun 24, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Good evening,

    It'll be 10 when I reinstall cpanel, but each time the DNS server does not work.
    I took my degree in http://www.buycpanel.com/ but he can not help me.


    Code:
    Restarting DNS Server
    
    Waiting for named to restart...............................................................finished.
    
    
    named has failed, please contact the sysadmin (result was "named is not running").
    

    Code:
    root@server [/scripts]# ./fixndc
    Named could not be restarted, any obvious config errors should show up below this line.
    The named configuration appears to have errors:
            /etc/named.conf:1: unknown option 'This'
    
    Running /usr/local/cpanel/scripts/rebuilddnsconfig to repair it..
    Named could not be restarted, any obvious config errors should show up below this line.
    WARNING: /etc/named.conf appears to contain errors which could not be corrected automatically!
    /etc/named.conf:1: unknown option 'This'
    Please correct these errors manually and rerun /usr/local/cpanel/scripts/fixrndc


    Code:
    root@mutu1 [/scripts]# nslookup ns1.domaine.com
    Server:         88.191.254.60
    Address:        88.191.254.60#53
    
    ** server can't find ns1.domaine.com: NXDOMAIN
    88.191.254.60 is resolv dns online.net

    Code:
    root@server [/]# /usr/local/cpanel/scripts/rebuilddnsconfig
    Named could not be restarted, any obvious config errors should show up below this line.
    WARNING: /etc/named.conf appears to contain errors which could not be corrected automatically!
    /etc/named.conf:1: unknown option 'This'
    Please correct these errors manually and rerun /usr/local/cpanel/scripts/fixrndc
    Code:
    root@mutu1 [/]# service named stop
    Arrêt de named :                                          [FAILED]
    
     
    #1 hybrid56, Jun 24, 2011
    Last edited: Jun 24, 2011
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The error message indicates there is an issue in /etc/named.conf file:

    Please post the top line of /etc/named.conf file:

    Code:
    cat /etc/named.conf | sed -n '1p'
    Thanks!
     
  3. hybrid56

    hybrid56 Member

    Joined:
    Jun 24, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    before


    Named.conf was cleared and we re-bind. And now we have
    The nslookup works locally but not outside
    And my registrar does not want to take my two dns, it takes the spread or there is a problem?


     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please open up a ticket using WHM > Support Center > Contact cPanel or using the link in my signature, since I'm uncertain why you would be receiving an error message about /etc/named.conf when it starts properly on line 1 with the information normally included there. Thanks!
     
Loading...

Share This Page