The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

hostname resolve IP address with Cisco PIX firewall

Discussion in 'General Discussion' started by mlevack, Sep 27, 2006.

  1. mlevack

    mlevack Registered

    Joined:
    Apr 5, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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)
     
  2. cscarpitto

    cscarpitto Registered

    Joined:
    Sep 27, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  3. mlevack

    mlevack Registered

    Joined:
    Apr 5, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  4. mlevack

    mlevack Registered

    Joined:
    Apr 5, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    The email is generated from cPanel on my server "cpanel@webhost.EXAMPLE.com"

    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
     
Loading...

Share This Page