[ipcheck] Problems with dns setup

sourcesound

Member
Dec 23, 2004
12
0
151
Valencia
cPanel Access Level
Root Administrator
Hello,

I'm having a problem with my server. A tech support operator shut down my iptables and then started them back up and I have been receiving this message ever since:

IMPORTANT: Do not ignore this email.
The hostname (effects.sourcesound.com) resolves to 69.56.169.42. It should resolve to 10.0.0.2. 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


----

The tech says that this problem is not related to the iptables... but, the server has been running for years without a problem until now. I don;t know how to resolve this, and the tech's won't lift a finger.

Any advice / help is greatly appreciated. I'd really like to understand this issue!

Tom
 

sourcesound

Member
Dec 23, 2004
12
0
151
Valencia
cPanel Access Level
Root Administrator
Oh,

in my hosts file is:

10.0.0.2 effects.sourcesound.com effects
69.56.169.42 effects
127.0.0.1 localhost


and in my resolv.conf file is:

nameserver 216.234.234.30
nameserver 12.96.160.115

thanks again!
 

sourcesound

Member
Dec 23, 2004
12
0
151
Valencia
cPanel Access Level
Root Administrator
Try this, remove this entry: 10.0.0.2 effects.sourcesound.com effects
And make the /etc/hosts file read:
Code:
69.56.169.42 effects.sourcesound.com effects
127.0.0.1 localhost

Also, is it possible that something reset this file... I ask because I thought I had set it to these setting at one time... and it seemed like it shifted back.

Thanks again!

Tom
 

sourcesound

Member
Dec 23, 2004
12
0
151
Valencia
cPanel Access Level
Root Administrator
I don't know how that IP got into the file, it looks to me like 10.0.0.2 is an internal network IP.
OKl, this is troubling. I get the same e-mail, BUT, there is no longer an IP in it:

IMPORTANT: Do not ignore this email.
The hostname (effects.sourcesound.com) resolves to . It should resolve to 10.0.0.2. 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
---------

and now, my hosts file has been modified by something... here is what is says now:

69.56.169.42 effects
127.0.0.1 localhost
10.0.0.2 effects.sourcesound.com


----

any ideas why the file would change? this is not what I put it in, and I confirmed that it had stuck... something is making it do this at 2 in the morning when the system is going through it's night routines.

thanks again for your help.

Tom
 

Parcye

Well-Known Member
May 19, 2004
56
0
156
Eindhoven
I got a mail with the same message.

Strange enough, if it resolves to 'blank', I should not be able to ping it.

How did you get it solved?

Anybody got ideas?
 

eagle

Well-Known Member
Jan 17, 2003
139
0
166
I got a mail with the same message.

Strange enough, if it resolves to 'blank', I should not be able to ping it.

How did you get it solved?

Anybody got ideas?
Don't worry about it. We have that every couple of months or so. It may be triggered through a resolver not being available or otherwise. After two or three days max the warning disappears. All settings were always correct (the first times naturally you check).
 

Parcye

Well-Known Member
May 19, 2004
56
0
156
Eindhoven
Well I am starting to worry because of the following:
- can't ping the domains hosted via the SSH
- looks like spamd is not updating
- ips doe not get resolved to names like blabla.provider.nl
 

majoosh

Well-Known Member
Feb 18, 2006
97
0
156
India
Oh,

in my hosts file is:

10.0.0.2 effects.sourcesound.com effects
69.56.169.42 effects
127.0.0.1 localhost


and in my resolv.conf file is:

nameserver 216.234.234.30
nameserver 12.96.160.115

thanks again!
Hi,

Check your active interface first ;) and remove the entry 10.0.0.2 from /etc/hosts file and immute the file /etc/hosts

/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