+ -
当前位置:首页 → 问答吧 → KVM 桥接,guest的/etc/resolv.conf 正常 , ping 的通 IP , 但是 Ping 不通域名

KVM 桥接,guest的/etc/resolv.conf 正常 , ping 的通 IP , 但是 Ping 不通域名

时间:2010-12-08

来源:互联网

我的环境 :
Host : CentOS 5.5
使用 KVM 安装的虚拟机
Guest : CentOS 5.2
使用桥接 , 我的 host 一切正常 , guest 只能 ping 通 ip 地址(能 ping 通任何 ip 地址) , 但是不能 ping 通域名

我的 guest 的 /etc/resolv.conf 不管换成什么 DNS 地址都没有用!

guest 现象如下:
$ ping http://www.google.com
ping: unknown host http://www.google.com

$ ping 74.125.71.103 (即 google 对应的 ip)
能够 ping 的通

$ nslook http://www.google.com
;;connection timed out; no servers could be reached

$ dig @8.8.4.4 http://www.google.com
;;global optionsl printcmd
;;connection timed out;no servers could be reached

作者: jaseywang   发布时间: 2010-12-08

防火墙 , selinux 已经关闭了~

作者: jaseywang   发布时间: 2010-12-08