我目前在访问我的一台客户端服务器时遇到问题,看来我本人与服务器之间的网络连接可能存在问题。但是,我尝试过的一件事是通过nslookup
Windows命令行工具获取服务器的实际IP地址。但是,这似乎在我的计算机上不起作用。
运行任何nslookup命令只会返回“服务器无响应”。
这是一个例子:
C:\Windows\system32>nslookup www.google.com
Server: UnKnown
Address: 2606:4700:4700::1111
*** UnKnown can't find www.google.com: No response from server
在此特定示例中,我将DNS设置为使用Cloudflare DNS,但是如果使用提供商DNS或Google DNS,也会发生相同的问题。我没有问题,可以访问google服务器并使用互联网,因此DNS可以正常工作。有人知道为什么nslookup
不起作用吗?
这是我的ipconfig / all输出:
C:\Windows\system32>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Wildfire
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GbE Family Controller
Physical Address. . . . . . . . . : 9C-5A-44-3C-4D-9E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 1:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : 48-F1-7F-C2-ED-9B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 10:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #2
Physical Address. . . . . . . . . : 4A-F1-7F-C2-ED-9A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Killer(R) Wireless-AC 1550i Wireless Network Adapter (9560NGW) 160MHz
Physical Address. . . . . . . . . : 48-F1-7F-C2-ED-9A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::30b6:eeab:4d53:b8e4%9(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.107(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 21. listopada 2019. 9:09:22
Lease Expires . . . . . . . . . . : 21. listopada 2019. 11:09:21
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 105443711
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-24-ED-51-AC-9C-5A-44-3C-4D-9E
DNS Servers . . . . . . . . . . . : 2606:4700:4700::1111
2606:4700:4700::1001
1.1.1.1
1.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physical Address. . . . . . . . . : 48-F1-7F-C2-ED-9E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter vEthernet (Default Switch):
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter
Physical Address. . . . . . . . . : 00-15-5D-F7-39-02
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::fd51:db6:50fd:5d6b%23(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.46.225(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.240
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 385881437
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-24-ED-51-AC-9C-5A-44-3C-4D-9E
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
C:\Windows\system32>
您已经配置了(CloudFlare的)DNS服务器的IPv6地址...但是您实际上没有自己的IPv6地址-您的Internet访问仅是IPv4。
(如果第一个服务器无法访问,但许多程序将自动尝试使用其他DNS服务器,但显然nslookup
不能,这将始终尝试列表中的第一台服务器。)
打开IPv6配置窗口(例如,通过ncpa.cpl
),然后将“ DNS服务器”设置为“自动”。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句