/etc/resolv.conf設置的問題
我有兩台伺服器使用的DNS一樣,
在/etc/resolv.conf
中設置也一樣,
但是其中一台卻不能解釋域名,可以PING通/etc/resolv.conf文件中的DNS地址,
在強制使用DNS地址后可以解釋
本機並沒有啟用DNS服務
# host www.google.com
;; connection timed out; no servers could be reached
# 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 設置不對!!!