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.

Hostname A Entry Missing! Or Not

Discussion in 'General Discussion' started by nbigdog2000, Aug 15, 2007.

  1. nbigdog2000

    nbigdog2000 Registered

    Joined:
    Sep 5, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    The other day i got a server, setup my dns (ns1.fragpegs.com and ns2.fragpegs.com).
    I edited godaddy and this is how it look:
    [​IMG]

    I waited, the DNS updated after 4 hours. Woot, i was ready to use my domain but wait. I ran into a Host name issue. My server host said they will charge me if they want to fix it, so that's my last resort.

    Now, the message i get when i login is:
    So i continue and
    and finally
    So my host name is dog.fragpegs.com (fragpegs.com is my main domain).

    My domain doesn't work and when i do 65.254.62.218/~fragpegs, it redirects me to dog.fragpegs.com/~fragpegs/ but that doesn't work.

    [​IMG]

    I have no idea what i am doing wrong.

    When i restart named, i do get this:

    I also get the email above. I tried what it said and it doesn't work.
     
    #1 nbigdog2000, Aug 15, 2007
    Last edited: Aug 15, 2007
  2. MrL22

    MrL22 Active Member

    Joined:
    Jul 11, 2003
    Messages:
    34
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Tamworth, United Kingdom
    I am getting exactly same thing as of today....
     
  3. MrL22

    MrL22 Active Member

    Joined:
    Jul 11, 2003
    Messages:
    34
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Tamworth, United Kingdom
    Just found this, worked perfect for me

     
  4. nbigdog2000

    nbigdog2000 Registered

    Joined:
    Sep 5, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    thanks, that worked.
     
  5. pacificw

    pacificw Well-Known Member

    Joined:
    Aug 26, 2007
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    I'm having the same issue, (well it's ONE of many!) anyhow,
    when I'm trying to run the fixndc it comes back with this error

    which I'm not sure what it is, because I've checked the
    named.conf which is only half made and the named.old file
    and no where in either does it have a "section"

    any thoughts?
     
  6. CaMer0n

    CaMer0n Well-Known Member

    Joined:
    Nov 8, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    I'm seeing exactly the same error in my named file.
     
  7. rviradia

    rviradia Well-Known Member

    Joined:
    Jul 25, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Got this as well, had to restore named.old, any luck with this error?

    !! fixrndc requires a syntactically correct /etc/named.conf.
    !! No changes were made to /etc/named.conf. Problem was:
    !! /etc/named.conf:1: '{' expected near 'section'

    Thanks
     
  8. 4MOTION

    4MOTION Registered

    Joined:
    Feb 19, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    HAd the same problem, i kept the the named.old like it was.

    Deleted all the contents in the named.conf

    re ran the script and it worked like a charm
     
  9. Zi5

    Zi5 BANNED

    Joined:
    Oct 5, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    mv /etc/named.conf /etc/named.old
    /scripts/rebuildnamedconf
    service named stop
    killall -9 named
    /scripts/fixndc
    /scripts/fixndc

    Run the comands like that
    Thanks
    Zi5
    ايفونTrip نوكيا بوابة نوكيا Trip ايفون

    برامج ايفون العاب ايفون
     
    #9 Zi5, Nov 14, 2007
    Last edited: Sep 25, 2009
  10. BookMarc

    BookMarc Registered

    Joined:
    Apr 7, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hostname A Entry Missing!

    Hi Guys,

    No matter what i try i cant get rid of this.... Hostname A Entry Missing!


    The server was unable to lookup an an A entry for its hostname (host.theastrologycycle.com). This is generally because the entry was never added. However this could also be the result of your nameserver(s) being down. If you would like to attempt to automatically add the entry, CLICK HERE

    then ....

    Adding an A entry for your hostname
    Found your hostname to be: host.theastrologycycle.com
    Found your short hostname to be: host
    Found your domain name to be: theastrologycycle.com
    Found your main ip to be: 66.197.183.229
    If this looks correct,

    Add The Entry

    THEN...

    Adding an A entry for host.theastrologycycle.com
    The zone for the root domain theastrologycycle.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. Sorry, a DNS entry for host.theastrologycycle.com already exists, please delete it from your nameserver configuration file (named.conf) and the zone directory first.

    I tried what you guys suggested but i get the below error no matter what i try.

    Code:
    [root@host ~]# mv /etc/named.conf /etc/named.old
    [root@host ~]# /scripts/rebuildnamedconf
    named/
    named/named.zero
    named/localdomain.zone
    named/named.broadcast
    named/named.ip6.local
    named/named.local
    named/localhost.zone
    
    !! fixrndc requires a syntactically correct /etc/named.conf.
    !! No changes were made to /etc/named.conf. Problem was:
    !! /etc/named.conf:12: option 'memstatistics-file' is not implemented
    
    [root@host ~]# /scripts/rebuildnamedconf > /etc/named.conf
    [root@host ~]# service named stop
    Stopping named:                                            [  OK  ]
    [root@host ~]# killall -9 named
    named: no process killed
    [root@host ~]# /scripts/fixndc
    
    !! fixrndc requires a syntactically correct /etc/named.conf.
    !! No changes were made to /etc/named.conf. Problem was:
    !! /etc/named.conf:1: '{' expected near 'section'
    
    [root@host ~]# /scripts/fixndc
    
    !! fixrndc requires a syntactically correct /etc/named.conf.
    !! No changes were made to /etc/named.conf. Problem was:
    !! /etc/named.conf:1: '{' expected near 'section'
    
    [root@host ~]#
    

    my name servers are resolving fine to the ips

    Ping ns2.theastrologycircle.com

    Round trip time to 66.197.183.230: 70 ms
    Round trip time to 66.197.183.230: 71 ms
    Round trip time to 66.197.183.230: 73 ms

    However when i setup a domain and call it i get

    Ping

    [theastrologycircle.com]

    Bad destination
    Bad destination
    Bad destination
     
Loading...

Share This Page