←back to thread

1895 points _l4jh | 1 comments | | HN request time: 0.205s | source
Show context
TheSwordsman ◴[] No.16731959[source]
From Comcast in San Francisco, I'm seeing that CloudFlare is the slowest of Google Public DNS, OpenDNS, Level 3, and Comcast's resolver.

Definitely not what I was expecting...

CloudFlare:

  $ ping -c 240 -i 0.25 1.1.1.1
  ...
  --- 1.1.1.1 ping statistics ---
  240 packets transmitted, 240 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 16.271/17.286/25.105/1.236 ms
Google Public DNS:

  $ ping -c 240 -i 0.25 8.8.8.8
  ...
  --- 8.8.8.8 ping statistics ---
  240 packets transmitted, 240 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 5.092/10.083/35.949/2.426 ms
OpenDNS:

  $ ping -c 240 -i 0.25 208.67.222.222
  ...
  --- 208.67.222.222 ping statistics ---
  240 packets transmitted, 240 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 8.596/9.847/25.898/1.788 ms
Level 3:

  $ ping -c 240 -i 0.25 4.2.2.2
  ...
  --- 4.2.2.2 ping statistics ---
  240 packets transmitted, 240 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 8.479/9.563/18.971/1.336 ms
Comcast's Resolver:

  $ ping -c 240 -i 0.25 75.75.75.75
  ...
  --- 75.75.75.75 ping statistics ---
  240 packets transmitted, 240 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 8.410/9.717/19.428/1.487 ms
It even looks like OpenDNS and Level 3 are better than Google Public DNS in terms of latency.
replies(1): >>16732015 #
1. eridius ◴[] No.16732015[source]
You should be measuring DNS time, not ping time. There's more to how fast a DNS resolver responds than the time it takes to send the packet over the wire.

As a Comcast@Home subscriber in SF, 1.1.1.1 is approximately 3x as fast as Comcast's own DNS (testing using dig).