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.

Bind is running, but server can't ping any outside sites?

Discussion in 'Bind / DNS / Nameserver Issues' started by noimad1, Feb 2, 2005.

  1. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    Bind seems to be restarting properly and there is a proccess running however if I try to ping google.com or ping msn.com it says unkown host?

    Any ideas on that one? It seems to be a new problem on this server....
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's likely to be a problem with your /etc/resolv.conf

    Try adding the following to the top of that file (changing 11.22.33.44 for your servers main IP address - not 127.0.0.1):

    nameserver 11.22.33.44
     
  3. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    534
    Likes Received:
    0
    Trophy Points:
    16
    check /etc/resolv.conf and make sure the nameservers listed there are real and actual ns and will respond to dns requests from your server.
     
  4. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    534
    Likes Received:
    0
    Trophy Points:
    16
    heh, he beat me to it.. serves me right for keeping a page open so long.
     
  5. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    You were right...I had my two nameservers listed in there....of which the server that was having the problem was one of them. It turns out we just had to move it to be listed first in the resolv.conf file and that fixed it.

    Thanks!
     
Loading...

Share This Page