Search code examples
dnspinghostlow-latency

Why Google public DNS(8.8.8.8)'s ping latency so low?


I use just-ping to ping Google public DNS server, which IP is 8.8.8.8. just-ping can ping a host from 50 locations worldwide.

I found that DNS's latency is low around the world. Many cities are far from each other, but they got the same low latency in ping (about 5ms).

I suppose the IP 8.8.8.8 is directed to one host. How that host reacts so fast even it is faraway from its clients?

Thanks!


Solution

  • 8.8.8.8 is not one host. Instead it's an anycast address which routed to the nearest host out of many locations around the world.