在我们的本地子网中,我们有一个域服务器。 这是一个Windows Server 2008 R2。
它是按照本指南configuration的,我认为。
我的主要领域是wm.local
。 我的服务器是domainserver.wm.local
。 我的设备是dev1.wm.local
, dev2.wm.local
等
它在大多数情况下工作正常,但有时客户端无法parsing其他设备的域名。 例如,我可以 ping其他客户端的IP地址,但ping FQDN的结果是:Ping请求找不到主机dev2.wm.local。 请检查名称,然后重试。
当我掀起nslookup
,我实际上可以查找dev2.wm.local
没有任何问题:
> set q=a > dev2.wm.local Server: domainserver.wm.local Address: 192.168.1.203 Name: dev2.wm.local Address: 192.168.1.102
所以给定的域可以解决。
重新启动我的networking适配器暂时解决问题。
但是例如ipconfig /flushdns
不能解决问题,主机仍然无法访问任何请求(ping,http和远程桌面是我想要的方式)。
由于这发生在多个客户端上,所以我猜测服务器上有一些configuration错误。
find问题根源的最好方法是什么?
由于我是程序员,而不是系统pipe理员,所以我试图在互联网上search解决scheme,但是我没有亲身体验如何configurationDNS服务器。
这是ipconfig /all
的输出:
Windows IP Configuration Host Name . . . . . . . . . . . . : DEV7 Primary Dns Suffix . . . . . . . : wm.local Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : wm.local Ethernet adapter Local Area Connection 2: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : TAP-Win32 Adapter OAS Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv4 Address. . . . . . . . . . . : 192.168.1.107(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.253 DNS Servers . . . . . . . . . . . : 192.168.1.203 194.149.0.157 194.149.0.156 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter VirtualBox Host-Only Network: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter Physical Address. . . . . . . . . : 08-00-27-00-54-58 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::1122:84df:5fdf:99bd%20(Preferred) Autoconfiguration IPv4 Address. . : 169.254.153.189(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . : DHCPv6 IAID . . . . . . . . . . . : 369623079 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-14-DD-C7-42-F0-4D-A2-2F-40-D5 DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1 fec0:0:0:ffff::2%1 fec0:0:0:ffff::3%1 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter isatap.{C60B2904-AF7F-4C0F-94C3-AFF4718D6AE8}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter Teredo Tunneling Pseudo-Interface: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{E3A87D29-B780-42CC-86F7-654B994B6BB2}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{9CC8F02B-BC21-4D34-8484-300C76989FC4}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #5 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes
问题是你有3个DNS服务器列出。 其中2个似乎是你的ISPS。 删除194.149.0.157和194.149.0.156作为DNS服务器,因为如果你问他们你会得到NXdomain。 DNS并不要求所有3个答案,它会select一个答案,如果答案不答复则会尝试另一个答案,但是如果答案(即使是否定的答案)将被使用。 您可以将这两个名称服务器添加为转发器以利用其caching。 但从你的DNS服务器,而不是客户端。