Another: [ipcheck] Problems with dns setup

thestaton

Member
Jun 1, 2008
7
0
51
Subject: [ipcheck] Problems with dns setup on cpanel.wickenburgweb.com

IMPORTANT: Do not ignore this email.
The hostname (cpanel.wickenburgweb.com) resolves to 168.158.128.242. It
should resolve to 168.158.128.170. 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
Here is resolv.conf
search radarbusters.com
nameserver 168.158.8.15
nameserver 168.158.8.16
hosts
Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
168.158.128.242 web1
168.158.128.170 cpanel.wickenburgweb.com cpanel web1.radarbusters.com web1
If you need anything else let me know. I've been scratching my head over this one.

Thanks,
 

thestaton

Member
Jun 1, 2008
7
0
51
I have the option to just delete the dns zone? If this would be appropriate.

I forgot to include this error message:

The zone for the root domain wickenburgweb.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. Bind reconfiguring on cpanel using rndc
Created DNS entry for cpanel.wickenburgweb.com
DNS Record:

cPanel 11.23.3-RELEASE_25133
; Zone file for cpanel.wickenburgweb.com
$TTL 14400
@ 86400 IN SOA ns1.interwrx.com. roy.wickenburgweb.com. (
2008061601 ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds

cpanel.wickenburgweb.com. 86400 IN NS ns1.interwrx.com.
cpanel.wickenburgweb.com. 86400 IN NS ns2.interwrx.com.


cpanel.wickenburgweb.com. IN A 168.158.128.170

localhost.cpanel.wickenburgweb.com. IN A 127.0.0.1

cpanel.wickenburgweb.com. IN MX 0 cpanel.wickenburgweb.com.
 

majoosh

Well-Known Member
Feb 18, 2006
97
0
156
India
Here is resolv.conf


hosts


If you need anything else let me know. I've been scratching my head over this one.

Thanks,
Hi,

Check your active interface first ;)

/scripts/ipcheck script assumes eth0 as active ethernet by default.

If your active interface is eth1 then ipcheck script will show this error and send mail. Make your active interface as eth1 in /etc/wwwacct.conf

In /etc/wwwacct.conf make ETHDEV to ETHDEV eth1

Also make sure that /etc/hosts have the correct IP

then run /scripts/ipcheck and check if you still get the mails/error ;)

Majoosh