agolson

Registered
Nov 27, 2007
1
0
51
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
 

linux-image

Well-Known Member
Jun 8, 2004
1,191
1
168
India
cPanel Access Level
Root Administrator
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.
 

SonicE

Member
Dec 6, 2007
18
0
51
/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?