我使用BIND 9.7在其中一台计算机上设置了DNS服务器,一切正常。在Windows 7桌面上,我已经静态分配了所有网络值。我有一套DNS服务器-我的DNS服务器。在我的桌面上
I can ping a third machine by IP fine.
I can nslookup the hostname of the third machine fine.
When I ping the hostname, it says it cannot find the host.
/
C:\Users\James>nslookup icecream
Server: cake.my.domain
Address: xxx.xxx.6.3
Name: icecream.my.domain
Address: xxx.xxx.6.9
C:\Users\James>ping xxx.xxx.6.9
Pinging xxx.xxx.6.9 with 32 bytes of data:
Reply from xxx.xxx.6.9: bytes=32 time<1ms TTL=255
Reply from xxx.xxx.6.9: bytes=32 time<1ms TTL=255
Reply from xxx.xxx.6.9: bytes=32 time<1ms TTL=255
Reply from xxx.xxx.6.9: bytes=32 time<1ms TTL=255
Ping statistics for xxx.xxx.6.9:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Users\James>ping icecream
Ping request could not find host icecream. Please check the name and try again.
我还指定了搜索域为my.domain
为什么不能按主机名ping?我也无法使用FQDN进行ping操作。问题是此问题由解析主机名的所有应用程序共享。我不能使用PuTTY通过主机名SSH到我的机器上;仅通过IP
您可以尝试编辑主机文件。将其他计算机的主机名和ip地址放在此处。如果那不起作用,请尝试以下操作:您的路由器应该能够自行处理dns表。尝试暂时关闭您的dns服务器,并清除所有计算机上的所有dns缓存。然后重新启动路由器,然后重试。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句