维基天空

January 5, 2008

ping: unknown host …..

Filed under: 主机相关|HostInfo — Tags: , — admin @ 7:00 pm

root@server [/]# ping google.com
ping: unknown host google.com
root@server [/]# ping baidu.com
ping: unknown host baidu.com

 发科………………….

root@server [/]#vi /etc/resolv.conf
Change /etc/resolv.conf to:
Quote:

nameserver 208.67.222.222
nameserver 208.67.220.220

问题解决..

因为:These are opendns nameservers and you should have no issues with resolving anything after that

2 Comments »

  1. 发科………………….
    哇哈哈。。。

    Comment by yoyo — January 5, 2008 @ 11:04 pm

  2. 发科………………….
    哇哈哈。。。

    Comment by admin — January 7, 2008 @ 6:54 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress