Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    1

    Default Repeated Host Entry Error

    For about the past month I've been getting this automated email repeatedly:

    ======================================
    IMPORTANT: Do not ignore this email.
    The hostname (host.domain.com) resolves to . It should resolve to 11.111.111.11. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.

    Some are all of these problems can be caused by
    /etc/resolv.conf being setup incorrectly. Please check this file if you
    believe everything else is correct.


    You may be able to
    automaticly correct this problem by using the ' Add an A entry for your
    hostname ' under ' Dns Functions ' in your Web Host Manager
    ======================================

    After I log into my WHM after receiving this email I get a pop-up which asks if I'd like it to try to add the entry manually, which I've tried and it seems to work for a while but starts all over again after about a day.

    Here's what I've got going:

    WHM 11.11.0 cPanel 11.15.0-R18033
    FEDORA 1 i686 on virtuozzo - WHM X v3.1.0

    Any help would be appreciated.

    Thanks,

    Adam

  2. #2
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    add a DNS entry for the hostname to the ip address from inside your whm. also make sure that the entry at /etc/hosts for the hostname is correct:

    11.111.111.11 host.domain.com
    -----------------------------------------------------

    also add an entry for the subdomain host.domain.com inside the db file for domain.com; and the warning should not repeat. i have explained all the methods, but usually adding a DNS entry for the hostname inside the server will help.

  3. #3
    Member SonicE's Avatar
    Join Date
    Dec 2007
    Posts
    18

    Default

    /etc/hosts :
    ::1 localhost6.localdomain6 localhost6
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost
    207.218.240.242 secure.corllete.com secure
    /var/named/corllete.com.db
    ; Modified by Web Host Manager
    ; Zone File for corllete.com
    $TTL 14400
    @ 86400 IN SOA ns1.corllete.com. servermail.clabteam.com. (
    2007120806
    21600
    7200
    1209600
    86400
    )

    corllete.com. 86400 IN NS ns1.corllete.com.
    corllete.com. 86400 IN NS ns2.corllete.com.

    ns2.corllete.com. 14400 IN A 207.218.240.243
    ns1.corllete.com. 14400 IN A 207.218.240.242

    corllete.com. 14400 IN A 207.218.240.242

    localhost.corllete.com. 14400 IN A 127.0.0.1

    corllete.com. 14400 IN MX 0 corllete.com.

    mail 14400 IN CNAME corllete.com.
    www 14400 IN CNAME corllete.com.
    ftp 14400 IN A 207.218.240.242

    corllete.com. 14400 IN TXT "v=spf1 a mx ptr ~all"
    secure.corllete.com. 14400 IN TXT "v=spf1 a -all"
    secure 14400 IN A 207.218.240.242
    And i still getting this message. Any help?

Similar Threads & Tags
Similar threads

  1. Host Name A Entry Missing!
    By bld in forum New User Questions
    Replies: 0
    Last Post: 12-20-2006, 11:58 AM
  2. Host A entry not found
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-21-2005, 10:45 PM
  3. Host A Entry won't fix
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 05-17-2005, 04:33 AM
  4. host a entry in whm
    By chadi in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 06-08-2004, 11:02 AM
  5. host a entry in whm
    By chadi in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-05-2004, 08:37 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube