Live data from Hacker News

DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS

medium.com

281–290 of 364 posts

Re: DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS

#281

Pushed a shell script to compare all of them from your location: https://github.com/cleanbrowsing/dnsperftest $ sh ./dnstest.sh |sort -k 22 -n test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 Average cloudflare 1 ms 1 ms 1 ms 4 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1.30 norton 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2.00 neustar 2 ms 2 ms 2 ms 2 ms 1 ms 2 ms 2 ms 2 ms 2 ms 22 ms 3.90 cleanbrowsing 11…

From New Delhi(Airtel), India

                 test1   test2   test3   test4   test5   test6   test7   test8   test9   test10  Average 
  cloudflare     35 ms   58 ms   89 ms   14 ms   14 ms   42 ms   44 ms   35 ms   13 ms   29 ms     37.30
  cloudflare2nd  17 ms   16 ms   39 ms   57 ms   26 ms   42 ms   42 ms   64 ms   41 ms   64 ms     40.80
  google         93 ms   98 ms   184 ms  246 ms  277 ms  122 ms  97 ms   91 ms   241 ms  82 ms     153.10
  google2nd      60 ms   44 ms   43 ms   363 ms  90 ms   103 ms  110 ms  210 ms  10 ms   28 ms     106.10
  quad9          284 ms  255 ms  204 ms  479 ms  292 ms  270 ms  282 ms  298 ms  279 ms  283 ms    292.60
  opendns        35 ms   50 ms   34 ms   207 ms  42 ms   221 ms  34 ms   94 ms   36 ms   35 ms     78.80
  norton         70 ms   80 ms   80 ms   90 ms   73 ms   38 ms   38 ms   43 ms   42 ms   44 ms     59.80
  cleanbrowsing  271 ms  275 ms  283 ms  455 ms  333 ms  389 ms  406 ms  273 ms  235 ms  238 ms    315.80
  yandex         263 ms  285 ms  304 ms  262 ms  403 ms  172 ms  298 ms  562 ms  222 ms  340 ms    311.10
  adguard        346 ms  388 ms  317 ms  457 ms  243 ms  325 ms  396 ms  386 ms  394 ms  328 ms    358.00
  neustar        130 ms  213 ms  196 ms  140 ms  281 ms  205 ms  73 ms   114 ms  104 ms  169 ms    162.50
  comodo         277 ms  332 ms  252 ms  275 ms  298 ms  267 ms  302 ms  293 ms  277 ms  193 ms    276.60

Re: DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS

#282

Pushed a shell script to compare all of them from your location: https://github.com/cleanbrowsing/dnsperftest $ sh ./dnstest.sh |sort -k 22 -n test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 Average cloudflare 1 ms 1 ms 1 ms 4 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1.30 norton 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2.00 neustar 2 ms 2 ms 2 ms 2 ms 1 ms 2 ms 2 ms 2 ms 2 ms 22 ms 3.90 cleanbrowsing 11…

Singapore, work:

                 test1   test2   test3   test4   test5   test6   test7   test8   test9   test10  Average
  neustar        2 ms    2 ms    3 ms    3 ms    3 ms    2 ms    2 ms    2 ms    3 ms    3 ms      2.50
  norton         2 ms    3 ms    3 ms    3 ms    3 ms    3 ms    3 ms    3 ms    2 ms    3 ms      2.80
  quad9          3 ms    3 ms    3 ms    3 ms    3 ms    2 ms    3 ms    2 ms    3 ms    3 ms      2.80
  cloudflare     2 ms    3 ms    3 ms    4 ms    3 ms    4 ms    3 ms    2 ms    3 ms    2 ms      2.90
  cloudflare2nd  3 ms    3 ms    3 ms    3 ms    3 ms    3 ms    3 ms    3 ms    4 ms    3 ms      3.10
  google2nd      2 ms    2 ms    2 ms    5 ms    14 ms   3 ms    2 ms    6 ms    3 ms    2 ms      4.10
  google         2 ms    2 ms    2 ms    5 ms    6 ms    200 ms  3 ms    5 ms    2 ms    2 ms      22.90
  opendns        3 ms    2 ms    2 ms    191 ms  3 ms    272 ms  2 ms    3 ms    2 ms    3 ms      48.30
  cleanbrowsing  177 ms  177 ms  178 ms  178 ms  178 ms  177 ms  177 ms  177 ms  176 ms  177 ms    177.20
  adguard        185 ms  186 ms  185 ms  185 ms  194 ms  185 ms  186 ms  185 ms  185 ms  185 ms    186.10
  yandex         255 ms  248 ms  282 ms  281 ms  224 ms  201 ms  213 ms  285 ms  213 ms  215 ms    241.70
  comodo         262 ms  262 ms  263 ms  263 ms  272 ms  261 ms  262 ms  262 ms  261 ms  262 ms    263.00

Re: DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS

#283

Pushed a shell script to compare all of them from your location: https://github.com/cleanbrowsing/dnsperftest $ sh ./dnstest.sh |sort -k 22 -n test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 Average cloudflare 1 ms 1 ms 1 ms 4 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1.30 norton 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2.00 neustar 2 ms 2 ms 2 ms 2 ms 1 ms 2 ms 2 ms 2 ms 2 ms 22 ms 3.90 cleanbrowsing 11…

London, with BT fibre

                 test1   test2   test3   test4   test5   test6   test7   test8   test9   test10  Average 
  cloudflare2nd  4 ms    4 ms    4 ms    4 ms    3 ms    3 ms    3 ms    4 ms    4 ms    4 ms      3.70
  cloudflare     4 ms    3 ms    4 ms    4 ms    4 ms    4 ms    4 ms    4 ms    4 ms    4 ms      3.90
  quad9          4 ms    4 ms    4 ms    4 ms    4 ms    4 ms    4 ms    4 ms    4 ms    4 ms      4.00
  norton         5 ms    5 ms    5 ms    6 ms    5 ms    5 ms    5 ms    5 ms    5 ms    5 ms      5.10
  neustar        5 ms    11 ms   5 ms    6 ms    5 ms    5 ms    6 ms    5 ms    6 ms    5 ms      5.90
  google2nd      3 ms    4 ms    4 ms    5 ms    13 ms   3 ms    11 ms   15 ms   4 ms    5 ms      6.70
  google         4 ms    5 ms    4 ms    14 ms   5 ms    9 ms    4 ms    16 ms   4 ms    4 ms      6.90
  opendns        5 ms    4 ms    4 ms    17 ms   6 ms    13 ms   5 ms    16 ms   5 ms    6 ms      8.10
  comodo         10 ms   11 ms   13 ms   10 ms   12 ms   11 ms   11 ms   11 ms   10 ms   19 ms     11.80
  yandex         41 ms   34 ms   38 ms   39 ms   42 ms   147 ms  40 ms   52 ms   43 ms   37 ms     51.30
  adguard        51 ms   102 ms  70 ms   66 ms   49 ms   51 ms   60 ms   50 ms   52 ms   82 ms     63.30
  cleanbrowsing  71 ms   72 ms   72 ms   72 ms   72 ms   72 ms   70 ms   73 ms   71 ms   72 ms     71.70

Re: DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS

#284

Pushed a shell script to compare all of them from your location: https://github.com/cleanbrowsing/dnsperftest $ sh ./dnstest.sh |sort -k 22 -n test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 Average cloudflare 1 ms 1 ms 1 ms 4 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1.30 norton 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2.00 neustar 2 ms 2 ms 2 ms 2 ms 1 ms 2 ms 2 ms 2 ms 2 ms 22 ms 3.90 cleanbrowsing 11…

[deleted]

Re: DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS

#285

Pushed a shell script to compare all of them from your location: https://github.com/cleanbrowsing/dnsperftest $ sh ./dnstest.sh |sort -k 22 -n test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 Average cloudflare 1 ms 1 ms 1 ms 4 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1.30 norton 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2 ms 2.00 neustar 2 ms 2 ms 2 ms 2 ms 1 ms 2 ms 2 ms 2 ms 2 ms 22 ms 3.90 cleanbrowsing 11…

Amsterdam:

  test1   test2   test3   test4   test5   test6   test7   test8   test9   test10  Average
  cloudflare     28 ms   37 ms   25 ms   28 ms   28 ms   24 ms   25 ms   24 ms   26 ms   26 ms     27.10
  cloudflare2nd  24 ms   25 ms   29 ms   28 ms   34 ms   31 ms   21 ms   27 ms   33 ms   34 ms     28.60
  google         29 ms   35 ms   37 ms   33 ms   18 ms   34 ms   39 ms   50 ms   84 ms   15 ms     37.40
  google2nd      15 ms   27 ms   25 ms   30 ms   42 ms   28 ms   22 ms   28 ms   27 ms   28 ms     27.20
  quad9          61 ms   55 ms   32 ms   37 ms   28 ms   30 ms   24 ms   20 ms   20 ms   21 ms     32.80
  opendns        48 ms   50 ms   46 ms   68 ms   61 ms   186 ms  43 ms   56 ms   50 ms   43 ms     65.10
  norton         35 ms   167 ms  32 ms   36 ms   32 ms   36 ms   33 ms   48 ms   47 ms   38 ms     50.40
  cleanbrowsing  31 ms   34 ms   35 ms   33 ms   34 ms   30 ms   24 ms   23 ms   24 ms   27 ms     29.50
  yandex         48 ms   53 ms   54 ms   47 ms   59 ms   67 ms   47 ms   52 ms   52 ms   91 ms     57.00
  adguard        17 ms   20 ms   23 ms   17 ms   19 ms   25 ms   139 ms  22 ms   25 ms   21 ms     32.80
  neustar        26 ms   34 ms   31 ms   28 ms   26 ms   29 ms   33 ms   24 ms   25 ms   34 ms     29.00
  comodo         38 ms   38 ms   46 ms   41 ms   37 ms   34 ms   28 ms   33 ms   37 ms   38 ms     37.00

Re: DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS

#286
post #109
post #60

Earlier quoted context omitted.

My isp got the brilliant idea of rolling their own YouTube cache servers. It's great in theory but in or active they're under powered and so at peak hours I can't even stream 240p on my 500mbits connection. I've had to block their cache servers in my firewall for YouTube to be butter smooth at 1080p consistently. Another example is bell Canada who used to mine your DNS queries to profile you for ads, or ISPs that hig…

The YouTube cache is probably there not to increase performance for you, but to reduce ISP cost (ISP pays for all data received from outside of their network)

Even for data not delivered via their cache they'll get free peering with Google. But having cache servers at several locations reduces the capacity they need to peering points. E.g. in the UK, most traffic gets peered in London so having cache servers in Northern England reduces the bandwidth they need for their internal network within the country.

I don't think ISPs pay much for peering in Europe.

Re: DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS

#288
post #244
post #56

Which ISPs are so bad that you want to use external services, which are further in distance than your ISP, for speed? When I test with my ISP, they beat all of these services (both IPv4 and IPv6). They're simply closer to me in terms of hops. My router is another story though. The Fritzbox (>200eur router) adds 6ms of latency, and that's what is advertised over DHCP. (Might still be fine, since cached queries are fas…

Does no one bother to run their own DNS server? It's not hard---in fact, it's easier than running an authoritative DNS server, since you are only using it for local resolving. I ran the provided script, added my own local resolver, and after the first run, got incredibly fast results. test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 Average cloudflare 35 ms 38 ms 39 ms 33 ms 34 ms 39 ms 28 ms 33 ms 28 ms…

If you live close to a peering point, both CF and Google will have mean ping times <10ms, often even <5ms. I doubt there's any real world difference between using localhost and either of them. As they cache results, using them could actually be faster than your own server.

Re: DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8.8.8 x Quad9 x OpenDNS

#290
post #133

Earlier quoted context omitted.

Be careful with that, Google DNS (as an example) will start ignoring your DNS requests if you go over the rate-limit. Not an issue for home users, but an issue for any sizeable business.

Google DNS also has issues resolving DNSSEC-enabled Cloudflare domains.

Interesting! Do you have any examples?
Post reply on HN