我正在我的公寓里设置一个开发服务器。我已经在上面设置了一个Ubuntu DNS服务器,并添加了zone weddinglist (只需要weddinglist no TLD。它只是一个内部域。)
这在我的Ubuntu笔记本上运行得很好。
在我的所有Windows PC (Vista和XP)上,我从命令提示符获得以下信息:
C:\Users\Giles Roadnight>nslookup weddinglist
Server: UnKnown
Address: 192.168.0.40
Name: weddinglist
Address: 192.168.0.41
C:\Users\Giles Roadnight>ping 192.168.0.41
Pinging 192.168.0.41 with 32 bytes of data:
Reply from 192.168.0.41: bytes=32 time<1ms TTL=64
Reply from 192.168.0.41: bytes=32 time<1ms TTL=64
Reply from 192.168.0.41: bytes=32 time<1ms TTL=64
Reply from 192.168.0.41: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.0.41:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Users\Giles Roadnight>ping weddinglist
Ping request could not find host weddinglist. Please check the name and try again.
我的ipconfig:
C:\Users\Giles Roadnight>ipconfig -all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Giles-Desktop
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8001/8003/8010 PCI Gigabit Ethernet Controller
Physical Address. . . . . . . . . : **-**-**-**-**-**
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::f179:680f:f313:5448%8(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.5(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.40
NetBIOS over Tcpip. . . . . . . . : Enabled
我非常确定我的DNS设置是正常的,因为nslookup是正常的,但我不能ping,我也不能访问weddinglist上的网页。
如何在Windows PC上执行ping操作?
发布于 2013-02-21 09:43:15
在使用多标签名称时,我偶尔会遇到这个问题,例如test.internal
我的解决方案是在我的windows7机器上停止/启动dnscache。以管理员身份打开控制台,然后键入
net stop dnscache
net start dnscache
然后叹一口气,寻找一种方法让Mac成为你的主要台式机。
发布于 2013-04-06 14:33:13
在我的家庭服务器上运行的IIS也有同样的问题,在客户机上,像ipconfig /flushdns
这样的命令通常可以解决这个问题。
发布于 2012-04-18 12:53:27
我在windows Server2003 R2 EE中发现了一个小错误。您知道当您在NIC (网络连接)中指定IP地址时,windows会告诉您,如果您不指定首选的DNS服务器,它将放入自己的ip,因为它是DNS服务器?它不会那么做的..。
我修复了手动写入dns地址的问题,而不是让windows为我做。
https://stackoverflow.com/questions/330395
复制相似问题