C:\Users\dian>ping google.com -t
^C
C:\Users\dian>ping 1.1.1.1
Pinging 1.1.1.1 with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time=16ms TTL=59
Reply from 1.1.1.1: bytes=32 time=16ms TTL=59
Reply from 1.1.1.1: bytes=32 time=16ms TTL=59
Reply from 1.1.1.1: bytes=32 time=16ms TTL=59
Ping statistics for 1.1.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 16ms, Maximum = 16ms, Average = 16ms
C:\Users\dian>ping google.com -t
^C
C:\Users\dian>
所以我知道问题肯定出在 DNS 上。Ping 1.1.1.1 没问题。Ping google.com -t 不行。
我使用了简单的 DNScrypt
C:\Users\dian>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : jim-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : This Qualcomm Atheros network Controller connects you to the network.
Physical Address. . . . . . . . . : 10-78-D2-3B-5D-B6
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Ethernet 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-NordVPN Windows Adapter V9
Physical Address. . . . . . . . . : 00-FF-D2-E6-78-16
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Npcap Loopback Adapter:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Npcap Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7555:fda9:cffa:5fac%9(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.95.172(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 687997004
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1C-C7-19-B8-10-78-D2-3B-5D-B6
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Local Area Connection* 11:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #4
Physical Address. . . . . . . . . : 1E-BF-CE-84-1E-7A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 12:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #5
Physical Address. . . . . . . . . : 1C-BF-CE-84-1E-7A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wi-Fi 4:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek 8811CU Wireless LAN 802.11ac USB NIC
Physical Address. . . . . . . . . : 1C-BF-CE-84-1E-7A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::9d8e:508b:c185:9927%22(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.134(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Saturday, April 04, 2020 6:36:01 PM
Lease Expires . . . . . . . . . . : Saturday, April 11, 2020 9:25:29 PM
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 1092403150
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1C-C7-19-B8-10-78-D2-3B-5D-B6
DNS Servers . . . . . . . . . . . : ::1
127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Bluetooth Network Connection 14:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network) #13
Physical Address. . . . . . . . . : 00-1A-7D-DA-71-13
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
到底哪里出了问题?
我的 ISP Biznet 阻止了 DNS 端口。但是,如果我使用 simpleDnscrypt,在管理员帐户下一切正常。这就是我可以在这里发帖的原因。
但黛安不能。
为什么?
答案1
Dian 的 PC 没有在 Wifi 接口上分配 DNS 服务器。它指向 127.0.0.1,也就是 Dian 自己的 PC。除非他在笔记本电脑上运行 DNS 服务,否则这就是问题所在。
要么是 DHCP 服务器(无线路由器)给出了错误的 DHCP 选项 8(设置为 127.0.0.1),要么是 Dian 覆盖了 DNS 设置并手动指定了 127.0.0.1。
Wireless LAN adapter Wi-Fi 4:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek 8811CU Wireless LAN 802.11ac USB NIC
Physical Address. . . . . . . . . : 1C-BF-CE-84-1E-7A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::9d8e:508b:c185:9927%22(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.134(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Saturday, April 04, 2020 6:36:01 PM
Lease Expires . . . . . . . . . . : Saturday, April 11, 2020 9:25:29 PM
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 1092403150
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1C-C7-19-B8-10-78-D2-3B-5D-B6
DNS Servers . . . . . . . . . . . : ::1
127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
要解决此问题,请更新 DHCP 或无线设备并指定有效的 DNS 服务器(1.1.1.1、8.8.8.8 或某些 ISP DNS)。
或者让 Dian 手动更新他的无线接口并覆盖 DNS 以使用有效的 DNS 服务(1.1.1.1、8.8.8.8 或某些 ISP DNS)。
祝你好运!