hostname resolve IP address with Cisco PIX firewall

mlevack

Registered
Apr 5, 2006
3
0
151
Hello,

I have a server running WHM / cPanel and a Cisco Pix 501 firewall. Currently my sites are all working, but I get an automated email each day stating:

"The hostname (example.hostname.com) resolves to XX.XX.XX.XX. It should resolve to 10.0.0.1. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain."

My questions is this, should the hostname DNS resolve to:

A. My server's IP addres
B. 10.0.0.1 (the internal IP address for the firewall)
C. My Firewall's external IP address.

Currently, everytime I create a new account it points to the IP address 10.0.0.1, then I have to edit the DNS from that IP address to my server's IP, (But in the account list, it still shows the firewall IP address of 10.0.0.1)
 

cscarpitto

Registered
Sep 27, 2006
1
0
151
resolve ip

yes i have the same issue,

you want to point the dns record to the outside ip address and the cisco PIX will NAT it over to the 10.0.0.1

it's a pain but it works. when creating the account in WHM you want it to point to 10.0.0.1 then go and edit the DNS record to point to the outside ip.
 

mlevack

Registered
Apr 5, 2006
3
0
151
OK,

To clarify, let me oversimply this for me - please tell me if this is what you are saying to do.

Lets sat that XX.XX.XX.XX is my servers primary IP adress
The Internal firewall IP is the 10.0.0.1 and
The External IP address of the Firewall is YY.YY.YY.YY

My Main Shared Virtual Host IP (in WHM setup) is set to 10.0.0.1, Hence making all new accounts show that as the IP address.

I then edit the DNS settings for each new account and change the A Entry from 10.0.0.1 to XX.XX.XX.XX

(SO FAR, THIS IS EXACTLY HOW I HAVE IT SET UP - IS THIS CORRECT?)

So my question is this - what should my A Entry for my server's hostname (webhost.example.com.) be? It is currently set to the server's IP XX.XX.XX.XX when I edit the DNS settings. but I still get this email everyday:

"The hostname (example.hostname.com) resolves to XX.XX.XX.XX. It should resolve to 10.0.0.1. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain."

Do I change something, or just ignore that email?
 

mlevack

Registered
Apr 5, 2006
3
0
151
The email is generated from cPanel on my server "[email protected]"

The full email reads:

IMPORTANT: Do not ignore this email.
The hostname (webhost.EXAMPLE.com) resolves to XX.XX.XX.XX. It should resolve to 10.0.0.1. 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