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.

Missing Host name A entry: never ending issue

Discussion in 'General Discussion' started by Secret Agent, Dec 13, 2005.

  1. Secret Agent

    Secret Agent Guest

    I have the never ending (although worked for a while) common "missing hostname A entry" popup every time I login to WHM. I have tried so many things mentioned so many times on the forums

    Steps taken:

    /scripts/fixndc
    /scripts/rebuildnamedconf
    service named restart
    /scripts/fixetchosts

    deleted dns zone for hostname A entry using "Add A entry"
    re-added it via WHM from DNS zone NOT the popup window
    restarted bind again, same popup

    Confirmed ok:

    named.conf rndc.conf and rndc.key all have "rndckey" not "rndc-key"

    resolvers are setup properly as well
    dnsstuff.com shows ns1/ns2 ns3/ns4 ns5/ns6 working fine
    shows hostname A entry resolves on #1 and #2 and #3

    Here is the case also.

    3 seperate servers for example

    #1 using ns1/ns2.hostdomain.com
    also 'hostdomain.com' resides on this server
    (this server has no popup missing A entry error, works fine here)

    #2 using ns3/ns4.hostdomain entries only.

    #3 using ns5/ns6.hostdomain.com entries only

    The original "add A entry" method did not work. I have also tried by going to #1 and editing the MAIN hostdomain.com and adding the following

    server2 (A) IP address of server #2
    server3 (A) IP address of server #3

    Also, deleted the main server.hostdomain.com entry from server #1.

    I am still getting these endless missing A entry popups. Any ideas how to stop this madness?

    Specs:
    cpanel current 10.x
    Centos 4.2
     
  2. KMK Enterprises

    KMK Enterprises Well-Known Member

    Joined:
    Feb 7, 2005
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    You need to edit your /etc/resolv.conf - do a search in these forum for recommended formatting. Once you get the proper entries in there, your problem should clear up.
     
  3. Secret Agent

    Secret Agent Guest

    These are the same found in all the server's /etc/resolv.conf file

    nameserver 192.104.107.1
    nameserver 147.202.2.54

    They have never caused any problems on any servers except the two shared ones
     
  4. Secret Agent

    Secret Agent Guest

    Fixed.

    Problem: /etc/hosts

    It had extra "server" and "server.domain.com" to the same line that should have only this format (for others who may read this)

    IP server.domain.com server
     
  5. Secret Agent

    Secret Agent Guest

    I was wrong. That did NOT fix the problem. Any one know of any other possible fixes?
     
  6. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    I had the problem before when I migrated servers and there was a DNS zone in /var/named for the server name. When that was removed, all worked correctly.

    It seems there is an error in the WHM new install when you are restoring as it creates that zone while running the wizard and then only some files point to it.
     
  7. Secret Agent

    Secret Agent Guest

    Confused. Your saying to remove that file from /var/named?

    I tested it by doing just that, removing it and naturally A entry (hostname) does not propagate any longer. Figured it would happen that way.

    Anyone else?
     
  8. Secret Agent

    Secret Agent Guest

    Anyone else with some tips or tricks? This is ongoing with many people apparently.
     
  9. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Now, you remove the named file:

    hostname.domain.com.db

    and have the "A" record in domain.com

    Works fine that way.
     
  10. Secret Agent

    Secret Agent Guest

    Basically your saying from the actual server with popup error, remove the hostname file and add the A entry on the server HOSTING the original domain, to point to the actual server with the popup (where I would have just deleted the file)?

    I may have tried that before. Please clarify and I will give it a shot.
     
  11. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Yes.

    So the DNS zone for the domain.com will have a "A" record for host.domain.com. That would NOT work if the DNS zone for host.domain.com still existed.
     
  12. Secret Agent

    Secret Agent Guest

    I've tried that before and it always still gave me errors

    I setup the main server hosting domain.com with

    server 14400 A serverIPaddress
    server2 14400 A serverIPaddress
    server3 14400 A serverIPaddress
    etc...

    I deleted the server.domain.com from the 2 and 3 servers as well.

    When I did add the A entry originally in the 2 and 3 I got this:

    The zone for the root domain domain.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 server4.domain.com already exists, please delete it first Add Complete
     
Loading...

Share This Page