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.

[ipcheck] Problem with DNS setup

Discussion in 'Bind / DNS / Nameserver Issues' started by nkalush, Aug 23, 2011.

  1. nkalush

    nkalush Member

    Joined:
    Aug 18, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Here's the message I'm getting:
    First off, I don't particularly care about this domain resolving to the vps as I can access everything from other domains... I'd really just like these messages to stop and my hosting provider offers no VPS support so I have to figure this out on my own, unfortunatly I am a lowly web designer and vps' are difficult for me to wrap my head around sometimes...

    I've tried the 'Dns Functions' 'Add an A entry for your hostname' thing, and that didn't stop the emails. It looks correct as well with the correct domain and correct ip.

    my hosts file has the correct ip. It looks like:
    Code:
    xx.xx.xxx.220		xxxxxxxx.managemyvps.com xxxxxxxx
    
    my resolv.conf has different IPs (I am not sure if this okay or not, it makes sense to me since nameservers have often been something different ion the past)
    Code:
    domain managemyvps.com
    nameserver xx.xx.xx.43
    nameserver xx.xx.xx.43
    
    I am not exactly sure how it's supposed to look, most of the answers I found on google say stuff about contacting support and that fixes the problem, but that's not possible. Any help would be appreciated.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,480
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Your resolv.conf should look something like this:

    nameserver xx.xx.xx.43
    nameserver xx.xx.xx.43

    Your hosts file like this:

    127.0.0.1 xxxxxxxx localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    xx.xx.xxx.220 xxxxxxxx.managemyvps.com xxxxxxxx


    The second line not really required in my example
     
  3. nkalush

    nkalush Member

    Joined:
    Aug 18, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Oops I didn't add the localhost stuff to my hosts snippet... So that file looks okay.

    Should I delete the "domain managemyvps.com" line from the resolv.conf would that fix the problem?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,480
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Not sure why it would be there. When in doubt, back it up.


    Please be sure to review this comment by cPanelTristan.
     
  5. Jmoola

    Jmoola Member

    Joined:
    Oct 18, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    How Do Access the etc/Hosts file?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can access the "/etc/hosts" file over SSH, using the text editor of your choice (e.g. vi, nano, pico).

    Thank you.
     
  7. Jmoola

    Jmoola Member

    Joined:
    Oct 18, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks CPanelMike mine looks like this

    127.0.0.1 xxxxxxxx localhost.localdomain localhost
    xx.xx.xxx.220 server.Domain.com server

    I am still getting the same error "nameserver on server.site.info failed" and Your hostname (xxxxxxxx.site.info) could not be resolved to an IP address. ...Bla bla bla

    I am doing something wrong?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I suggest opening a ticket with our support department if you continue to receive those failure messages. You can open a ticket using the following URL:

    Submit A Ticket

    Thank you.
     
Loading...

Share This Page