睡眠后DNS查找失败 - Windows 10

时间:2016-04-10 06:03:05

标签: windows dns windows-10 sleep-mode

几天后,在我的计算机休眠后,所有名称查找都失败了。这会导致浏览器无法加载任何页面。只有重新启动才能修复此问题,禁用和启用我的Wifi适配器则不会。我看到之前没有睡觉的ipconfig输出中出现了一个IPv6名称服务器,而且这个名称服务器不起作用......

我使用的是最新的Windows 10企业版安装,并且支持Netgear JWNR2000T。我有一个不需要登录的互联网连接,只需将进入我家的以太网电缆连接到netgear即可。客户端通过DHCP配置。

在这个开始发生的时间(2/3天前)安装的唯一内容是https://support.microsoft.com/en-us/kb/3140768,VS2015更新2和一些应用更新。这似乎并不重要。 netgear的固件很长时间没有更新,是最新的,也没有触及任何设置。

以下是ipconfig,nslookup和ping之前和之后的输出。 DNS服务器192.168.1.1是我的路由器。

奖金问题:google.com上的非权威性答案在哪里 - > 192.168.8.1来自哪里?鉴于DNS查询超时......

睡觉前

C:\Users\Diederick>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : DEE_LU
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Local Area Connection* 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
   Physical Address. . . . . . . . . : 4A-E2-44-F5-57-C5
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Dell Wireless 1830 802.11ac
   Physical Address. . . . . . . . . : 48-E2-44-F5-57-C5
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::981b:ae2e:c423:792e%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.3(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Saturday, 9 April, 2016 20:29:25
   Lease Expires . . . . . . . . . . : Sunday, 10 April, 2016 20:29:25
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 55108164
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1E-70-AC-97-48-E2-44-F5-57-C5
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   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
   IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:10f0:26f9:a613:c376(Preferred)
   Link-local IPv6 Address . . . . . : fe80::10f0:26f9:a613:c376%19(Preferred)
   Default Gateway . . . . . . . . . : ::
   DHCPv6 IAID . . . . . . . . . . . : 318767104
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1E-70-AC-97-48-E2-44-F5-57-C5
   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{7B2BB6D5-6516-4FBD-BADE-DF08B3490226}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

C:\Users\Diederick>nslookup google.com
Server:  UnKnown
Address:  192.168.1.1

Non-authoritative answer:
Name:    google.com
Addresses:  2a00:1450:400f:804::200e
          83.140.66.19
          83.140.66.57
          83.140.66.34
          83.140.66.49
          83.140.66.38
          83.140.66.45
          83.140.66.59
          83.140.66.29
          83.140.66.53
          83.140.66.27
          83.140.66.42
          83.140.66.44
          83.140.66.30
          83.140.66.15
          83.140.66.23

C:\Users\Diederick>ping google.com

Pinging google.com [83.140.66.42] with 32 bytes of data:
Reply from 83.140.66.42: bytes=32 time=14ms TTL=54
睡觉后

C:\Users\Diederick>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : DEE_LU
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Local Area Connection* 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
   Physical Address. . . . . . . . . : 4A-E2-44-F5-57-C5
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Dell Wireless 1830 802.11ac
   Physical Address. . . . . . . . . : 48-E2-44-F5-57-C5
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::981b:ae2e:c423:792e%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.3(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Saturday, 9 April, 2016 20:29:25
   Lease Expires . . . . . . . . . . : Monday, 11 April, 2016 0:31:19
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 55108164
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1E-70-AC-97-48-E2-44-F5-57-C5
   DNS Servers . . . . . . . . . . . : fe80::ca51:95ff:fe9c:a949%11
                                       192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

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.{7B2BB6D5-6516-4FBD-BADE-DF08B3490226}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

C:\Users\Diederick>nslookup google.com
DNS request timed out.
    timeout was 2 seconds.
Server:  UnKnown
Address:  fe80::ca51:95ff:fe9c:a949

Non-authoritative answer:
DNS request timed out.
    timeout was 2 seconds.
Name:    google.com
Address:  192.168.8.1


C:\Users\Diederick>nslookup google.com 192.168.1.1
Server:  UnKnown
Address:  192.168.1.1

Non-authoritative answer:
Name:    google.com
Addresses:  2a00:1450:400f:803::200e
          83.140.66.53
          83.140.66.23
          83.140.66.19
          83.140.66.44
          83.140.66.15
          83.140.66.49
          83.140.66.27
          83.140.66.30
          83.140.66.38
          83.140.66.29
          83.140.66.45
          83.140.66.59
          83.140.66.34
          83.140.66.57
          83.140.66.42


C:\Users\Diederick>ping google.com

Pinging google.com [192.168.8.1] with 32 bytes of data:
Request timed out.

1 个答案:

答案 0 :(得分:2)

在这种情况下可能有很多原因。有些人在安装1511更新后报告了网络问题。

您可以尝试按照Microsoft网页上描述的步骤进行操作:http://windows.microsoft.com/en-us/windows-10/fix-network-connection-issues

当您找到更好的解决方案时,我建议您解决一下:

要打开网络连接,请按[Windows] + S并键入:

ncpa.cpl

右键单击您的网络连接并转到属性。

单击“网络”选项卡。在“此连接使用下列项目”下,单击“Internet协议版本4(TCP / IPv4)”或“Internet协议版本6(TCP / IPv6)”,然后单击“属性”。

单击“使用以下DNS服务器地址”,然后在“首选DNS服务器和备用DNS服务器”框中,键入主DNS服务器和辅助DNS服务器的地址。 例如:8.8.8.8和8.8.4.4(Google DNS - IPv4)或任何其他DNS服务器地址http://pcsupport.about.com/od/tipstricks/a/free-public-dns-servers.htm

更新

很抱歉听到这个消息。我必须说,不记得DNS服务器地址是不寻常的。它们应该在重新启动后或连接到另一个无线网络后保持不变,因此问题必须在您的系统中。这也可能表明您的计算机已被感染。

如果previus步骤没有帮助,您也可以尝试以下方法:

首先,确保系统中没有任何内容可以更改DNS地址。再次转到“网络连接”并单击“网络”选项卡。在此连接下,使用以下项目仔细检查每个项目。默认情况下你应该看到这样的东西: Connection Properties Windows

如果您无法识别操作系统中的某些项目,请尝试禁用它并检查问题是否已解决。

可能你已经这样做了,但我不得不问:你有没有更新过驱动程序?这是链接:http://www.dell.com/support/home/us/en/19/Drivers/DriversDetails?driverId=JKRJ9

尝试禁用无线省电功能(此处详细介绍:http://en.community.dell.com/support-forums/laptop/f/3518/t/19661197

如果您真的需要这样做,无论您如何创建脚本来恢复您的DNS设置并将其设置为任务计划程序,以便在系统唤醒后或重启后运行。但是,在睡眠后运行脚本可能很困难。以下是创建脚本的指南:https://superuser.com/questions/463096/change-dns-with-script