我正在尝试连接到一个网站:
http://superuser.com.sixxs.org
我可以ping地址:
C:\Users\Ian>ping /6 superuser.com.sixxs.org
Pinging ipv6.nginx.sixxs.net [2001:838:2:1::30:67] with 32 bytes of data:
Reply from 2001:838:2:1::30:67: time=257ms
Reply from 2001:838:2:1::30:67: time=176ms
Reply from 2001:838:2:1::30:67: time=161ms
Reply from 2001:838:2:1::30:67: time=164ms
Ping statistics for 2001:838:2:1::30:67:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 161ms, Maximum = 257ms, Average = 189ms
但都不能ping:
C:\Users\Ian>ping supersuer.com.sixxs.org
Ping request could not find host supersuer.com.sixxs.org.
Please check the name and try again.
但是我无法浏览到它(在Chrome或IE中):
我也不能远程登录到它
C:\Users\Ian>telnet superuser.com.sixxs.org 80
Connecting To superuser.com.sixxs.org...Could not open connection to the host,
on port 80: Connect failed
但是nslookup
可以很好地解析名称,并具有权限记录和所有内容!
首先,我们刷新dns,以防万一有人想说这是由于dns缓存引起的:
C:\Users\Ian>ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
现在回到查找:
C:\Users\Ian>nslookup superuser.com.sixxs.org
Server: solo.avatopia.com
Address: 10.0.0.98
Non-authoritative answer:
Name: ipv6.nginx.sixxs.net
Addresses: 2001:838:2:1:2a0:24ff:feab:3b53
2001:960:800::2
2001:1af8:4050::2
2620:0:6b0:a:250:56ff:fe99:78f7
2001:838:2:1::30:67
Aliases: superuser.com.sixxs.org
所有这些地址均有效:
- 我可以
ping
他们 - 我可以
telnet
在它们上端口80 - 我可以在Chrome中浏览(例如
http://[2001:838:2:1::30:67]
)到他们
当我手动调用Windows API函数GetAddrInfo时,名称甚至会解析。
为什么我怎么能诊断一下ping
,telnet
,Chrome
和Internet Explorer
做错了?
注意:由于dns服务器(solo.avatopia.com
)位于加密的vpn链接的另一侧,因此Wireshark现在很有帮助。WireShark拒绝解密加密的VPN流量。
ping
错字在哪里?我看不到...
ping
需要/6
参数;它不了解,如果只能解析ipv6地址,就需要发送IPv6 ICMP数据包。