我有两台服务器使用的DNS一样,
在/etc/resolv.conf
中设置也一样,
但是其中一台却不能解释域名,可以PING通/etc/resolv.conf文件中的DNS地址,
在强制使用DNS地址后可以解释
本机并没有启用DNS服务
[root@test]# host www.google.com
;; connection timed out; no servers could be reached
[root@test]# host www.google.com 211.155.235.201
Using domain server:
Name: 211.155.235.201
Address: 211.155.235.201#53
Aliases:
www.google.com is an alias for www.l.google.com.
www.l.google.com is an alias for www-china.l.google.com.
www-china.l.google.com has address 64.233.189.104
没有找到原因
谢谢
我装了个ubuntu,和你的问题 一样,没有找到方法,最后格式化了,用windows 正常..
应该说明你的
nameserver 设置不对!!!
会员注册
会员登录
个人空间
发表评论