I've been getting an email every day shortly after midnight... the subject is:
The body is:
I believe this may be a cpanel bug, in one of their scripts or related programs. I am sure that my setup is correct, and it's been working for nearly a year, however it just started sending me this notice recently, and it changes my corrections back to the incorrect setting.
My /etc/hosts looks like this:
It should look like this:
That is the way I have always had it setup and the correct way... but when I make the changes, it automatically changes them back and then notifies me about it.
My dns is correct... I have servername.mydomain.com resolving to the main server ip which is *.*.*.170... and I have mydomain.com resolving to *.*.*.174 which is my shared ip for shared sites.
Anyone have any ideas?
Code:
[ipcheck] Problems with dns setup on servername.mydomain.com
Code:
IMPORTANT: Do not ignore this email.
The hostname (servername.mydomain.com) resolves to *.*.*.174. It should resolve to *.*.*.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
My /etc/hosts looks like this:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
*.*.*.170 servername
*.*.*.174 servername.domain.com servername
127.0.0.1 localhost
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
*.*.*.170 servername.domain.com servername
127.0.0.1 localhost
My dns is correct... I have servername.mydomain.com resolving to the main server ip which is *.*.*.170... and I have mydomain.com resolving to *.*.*.174 which is my shared ip for shared sites.
Anyone have any ideas?