为什么基于 Microsoft 的程序无法解析主机名?

Tam*_*man 6 networking dns troubleshooting internet-explorer connection

当我通过 IP 访问 Google 时,我得到:

在此处输入图片说明

当我通过域名访问 Google 时,我得到:

在此处输入图片说明

Windows Live Messenger 证实了这一点:

在此处输入图片说明

但是,Firefox 运行良好:

在此处输入图片说明

当我进行 DNS 查找时,我得到以下结果:

C:\Windows\system32>nslookup google.com
Server:  google-public-dns-b.google.com
Address:  8.8.4.4

Non-authoritative answer:
Name:    google.com
Addresses:  74.125.79.104
          74.125.79.99
          74.125.79.147
Run Code Online (Sandbox Code Playgroud)

但是,按名称 ping 失败(但按 IP 有效):

C:\Windows\system32>ping google.com
Ping request could not find host google.com. Please check the name and try again.

C:\Windows\system32>ping 74.125.79.104

Pinging 74.125.79.104 with 32 bytes of data:
Reply from 74.125.79.104: bytes=32 time=23ms TTL=52

Ping statistics for 74.125.79.104:
    Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 23ms, Maximum = 23ms, Average = 23ms
Run Code Online (Sandbox Code Playgroud)

这些是我的设置,在我看来是正确的:

Wireless LAN adapter Wireless Network Connection 4:

   Connection-specific DNS Suffix  . : WIJSMAN
   Description . . . . . . . . . . . : Intel(R) WiFi Link 5100 AGN
   Physical Address. . . . . . . . . : 00-16-EA-5E-58-CE
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.178(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Friday, June 17, 2011 7:06:49 PM
   Lease Expires . . . . . . . . . . : Saturday, June 18, 2011 7:07:06 PM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 8.8.4.4
   NetBIOS over Tcpip. . . . . . . . : Enabled
Run Code Online (Sandbox Code Playgroud)

我尝试了以下几件事:

  • 禁用所有防火墙和病毒扫描程序。
  • 重置一切netshwinsockint ip等...
  • 完全重置 Internet Explorer 的设置,包括个人设置。
  • 在我的计算机上启动每一项服务,以确保我不会遗漏一些关键的东西。
  • 安装和卸载了很多网络设备篡改程序,如 VMWare、VirtualBox、...
  • Ran sfc /scannow,检查某些东西是否已损坏。

我做了很多研究,但还没有发现基于 Microsoft 的程序哪里出错,而其他程序(如 Firefox、Jing 和 mIRC)则正确。你有想法吗?

Tam*_*man 3

因此,我研究了半天,寻找我所看到的所有错误的解决方案。什么都没起作用!

由于配置存储在注册表中,我决定进行回滚。但如何呢?我首先查找了 Failed Control Set 注册表项是什么,因为失败应该很少见......

HKEY_LOCAL_MACHINE\SYSTEM\Select\Failed
Run Code Online (Sandbox Code Playgroud)

看看内容,这是几周前的内容,但幸运的是我参加了考试,所以我并没有对键进行太多更改HKEY_LOCAL_MACHINE\SYSTEM\*ControlSet*。虽然我当时确实安装了另一张无线卡和 Comodo 防火墙,但我事先就知道这无法正常工作。

手动比较并不能真正完成工作,因此我决定将失败的 ControlSet 导入到 Current 中。启动后,我必须卸下所有网卡,然后我发现只有我的有线连接工作正常。我再次进行了大量的故障排除,但总是出现代码 1错误。删除驱动程序并完全卸载不起作用。因此,我采用了一个我知道过去曾用于解决另一个网络问题的令人讨厌的技巧......

我打开我的笔记本电脑并取出无线卡,然后我去删除所有真正隐藏的设备。重新启动以确保它完全消失。重新插入无线网卡,突然就可以上网了

现在我可以去比较和过渡我在过去几周所做的改变,这更容易......:)