戴近义词:配置了host后为什么不起作用

来源:百度文库 编辑:高校问答 时间:2024/04/29 18:57:50
我在HOSTS中加入了要解析的IP域名如:212.233.2.251 pub.sc P能够PING通IP就是ping不通域名提示Ping request could not find host pub.sc. Please check the name and try again
那位能够帮忙解决简直太感谢了。
本机WINXP,在\windows\system32\drivers\etc\hosts文件中已经编辑x.x.x.x对应a,但ping x.x.x.x时可以ping通,ping a就不能ping通,请问这是什么原因,谢谢

另:
该机在联接互联网时ping a 显示:
C:\>ping jiningoa

Pinging a [x.x.x.x] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for x.x.x.x:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

但在不联接互联网时:
C:\>ping a
Ping request could not find host jiningoa. Please check the name and try again

问题自己解决了,原来是HOSTS文件有问题,在其他机器上拷贝了好的文件覆盖就OK了,谢谢大家

1.在执行PING的机子上配置DNS 2.DNS服务配置错误