為什麼 ping to1.1.1.1
只有 3ms,而 ping to8.8.8.8
卻是 26ms?
PS C:\Users\0x90> ping 1.1.1.1
Pinging 1.1.1.1 with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time=3ms TTL=64
Reply from 1.1.1.1: bytes=32 time=4ms TTL=64
Reply from 1.1.1.1: bytes=32 time=3ms TTL=64
Ping statistics for 1.1.1.1:
Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 3ms, Maximum = 4ms, Average = 3ms
Control-C
PS C:\Users\0x90> ping 8.8.8.8
Pinging 8.8.8.8 with 32 bytes of data:
Reply from 8.8.8.8: bytes=32 time=27ms TTL=55
Reply from 8.8.8.8: bytes=32 time=26ms TTL=55
Reply from 8.8.8.8: bytes=32 time=26ms TTL=55
Ping statistics for 8.8.8.8:
Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 26ms, Maximum = 27ms, Average = 26ms
Control-C
答案1
您最好執行追蹤路由來確定您的電腦如何存取這些系統。不過,這確實有道理 - 多個 DNS 伺服器的整個想法是為了冗餘,因此將它們放在同一個地方 - 您期望獲得相同的延遲 - 降低了它們的可靠性。
8.8.8.8 是 Google 的網域伺服器之一,因此離您很近,就像 Googel recons 實用的那樣 - 26 毫秒並不遠。
1.1.1.1離你很近。該 IP 位址的「合法」擁有者是 Cloudflare,而且他們也有可能在同一城市的連接良好的對等交換中部署了您可以存取的 DNS 伺服器 - 並且靠近或位於您的 ISP 中。