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

341–350 of 364 posts

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

#341
From Waimanalo, Hawaii cloudflare times out:

                  test1   test2   test3   test4   test5   test6   test7   test8   test9   test10  Average 
  192.168.50.1      154 ms  157 ms  154 ms  154 ms  154 ms  154 ms  156 ms  158 ms  155 ms  184 ms    158.00
  cloudflare        1000 ms 1000 ms 1000 ms 1000 ms 1000 ms 1000 ms 1000 ms 1000 ms 1000 ms 1000 ms   1000.00
  google            106 ms  82 ms   80 ms   158 ms  113 ms  148 ms  82 ms   107 ms  106 ms  81 ms     106.30
  quad9             91 ms   99 ms   111 ms  106 ms  90 ms   97 ms   89 ms   91 ms   89 ms   88 ms     95.10
  opendns           105 ms  81 ms   96 ms   120 ms  82 ms   110 ms  81 ms   115 ms  105 ms  83 ms     97.80
  norton            82 ms   80 ms   82 ms   94 ms   84 ms   91 ms   82 ms   80 ms   82 ms   83 ms     84.00
  cleanbrowsing     135 ms  158 ms  245 ms  136 ms  132 ms  132 ms  133 ms  138 ms  133 ms  145 ms    148.70
  yandex            287 ms  389 ms  256 ms  256 ms  258 ms  256 ms  258 ms  257 ms  258 ms  255 ms    273.00
  adguard           290 ms  270 ms  319 ms  295 ms  433 ms  340 ms  261 ms  351 ms  290 ms  264 ms    311.30
  neustar           86 ms   82 ms   83 ms   84 ms   80 ms   90 ms   80 ms   81 ms   84 ms   83 ms     83.30
  comodo            149 ms  148 ms  152 ms  152 ms  153 ms  148 ms  150 ms  147 ms  148 ms  151 ms    149.80

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

#342
post #257

Earlier quoted context omitted.

Do you use Netflix? If so, how do you get access if you use a third party DNS service?

Netflix doesn't care who your DNS resolver is. They might care if you access it through a VPN, which I don't.

It does. It’s how most Aussies were bypassing their geoblock about a year ago.

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

#343

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.

How big a business do you have to be to use "free" DNS servers, but not big enough to run your own resolver?

Probably the same way they use Lets Encrypt instead of purchasing certificates. Lots of free things actually are free, despite the negative training otherwise we get from some companies.

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

#344

Earlier quoted context omitted.

From Perth, Western Australia: test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 Average cloudflare2nd 94 ms 81 ms 81 ms 79 ms 97 ms 90 ms 85 ms 89 ms 84 ms 78 ms 85.80 cloudflare 74 ms 316 ms 69 ms 83 ms 77 ms 69 ms 85 ms 69 ms 82 ms 74 ms 99.80 neustar 98 ms 100 ms 99 ms 102 ms 107 ms 113 ms 113 ms 112 ms 106 ms 100 ms 105.00 adguard 154 ms 133 ms 133 ms 91 ms 94 ms 133 ms 96 ms 95 ms 98 ms 99 ms 112.60…

Are you using Telstra by chance? They have the worst routing I've ever seen. I've had huge problems getting good routes for their customers. I've had better luck with "IInet" customers. I would be curious to see what the ping ms is for status.neocities.org, ideally it's coming from Sydney and not the states.

Not sure, actually! I'm just staying with someone at the moment. They're coincidentally changing broadband provider to this tomorrow - https://node1.com.au/

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

#345
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…

The ones that cooperate with state-sanctioned censorship? Malaysia blocks anti-government news sites via ISP DNS entries; using a 3rd party DNS bypasses the block easily. Accusing government officials of mismanagement or outright theft of public funds is an easy way to get your domain black holed over here. That, piracy, and porn. Though I wouldn't be surprised if the latter two were thrown in solely to make the prog…

We have only ourselves to blame for allowing the socialists and fundamentalists a foot in.

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

#346

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…

For DNS performance the average is probably not the correct measurement stick. It's vulnerable to sudden spikes or timeouts which happen a lot in UDP traffic.

I recommend measuring the median and p0.5, p99.5 and maybe p99.99 values with a lot of data points. That eliminates any packet issues and laves you with the performance you can expect for 50%, 0.5%, 99.5% and 99.99% of your DNS traffic.

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

#347

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…

thanks for the script, I added my isp (spectrum) and my own server (localbind)

Central Ohio

                    test1   test2   test3   test4   test5   test6   test7   test8   test9   test10  Average 
  localbind         1 ms    1 ms    1 ms    1 ms    1 ms    1 ms    1 ms    1 ms    1 ms    1 ms      1.00
  norton            34 ms   34 ms   33 ms   34 ms   33 ms   34 ms   34 ms   34 ms   34 ms   34 ms     33.80
  cloudflare        35 ms   33 ms   34 ms   33 ms   34 ms   34 ms   36 ms   33 ms   34 ms   33 ms     33.90
  neustar           36 ms   34 ms   35 ms   33 ms   34 ms   34 ms   34 ms   34 ms   35 ms   33 ms     34.20
  spectrum          37 ms   37 ms   36 ms   36 ms   36 ms   36 ms   35 ms   36 ms   35 ms   47 ms     37.10
  opendns           33 ms   33 ms   33 ms   54 ms   33 ms   33 ms   33 ms   45 ms   41 ms   34 ms     37.20
  127.0.1.1         2 ms    36 ms   77 ms   3 ms    118 ms  2 ms    2 ms    80 ms   2 ms    71 ms     39.30
  google            34 ms   33 ms   35 ms   44 ms   51 ms   51 ms   33 ms   44 ms   33 ms   44 ms     40.20
  comodo            43 ms   41 ms   42 ms   42 ms   41 ms   41 ms   41 ms   41 ms   41 ms   41 ms     41.40
  cleanbrowsing     48 ms   48 ms   133 ms  48 ms   45 ms   46 ms   45 ms   48 ms   48 ms   61 ms     57.00
  quad9             88 ms   87 ms   90 ms   89 ms   89 ms   88 ms   90 ms   90 ms   88 ms   93 ms     89.20
  yandex            149 ms  176 ms  152 ms  148 ms  149 ms  155 ms  149 ms  161 ms  155 ms  201 ms    159.50
  adguard           158 ms  202 ms  157 ms  165 ms  161 ms  156 ms  155 ms  158 ms  155 ms  155 ms    162.20

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

#348
post #226

Hi, could someone explain to me what this DNS stuff is about like I'm 5? How is it related to private browsing?

DNS is a service that converts easy to remember names like google.com or youtube.com to hard to remember ip addresses so you don't have to. We find it easier to remember names than strings of numbers. So usually your isp assigns their own dns server for you to use automatically and most people don't think about it. Sometimes a DNS server can go bad or become slow and people use services like google's dns services to speed up access to the sites they use. Google could use dns look up information from your computer to know what sites you visit even when you don't search google.com for it. I don't know if they do or not but I was thinking, if I was google I would probably do that. Its not that google needs your browsing habits to find web sites but it can use the querys it recieves to measure the popularity of web sites or web pages. As to why the current interest in DNS I'm not sure.

A lot of trust is in DNS and a lot of people don't realize that an evil dns server can make your browser think you are going to good sites but could actually be an imposter.

Other annoyances are NXDOMAIN (non existant domain) querys that are hyjacked to serve you ads.

Controling DNS servers is a great way for a nation state to censor communication. They could take any site they wish and forward your browser to an automatic service that logs you with other "wrong thinkers". Or just resolve the domain name to null reference.

Speed, security, privacy are things to consider for DNS. But like a lot of things on the internet, it all about trust...

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

#349

What is the benefit to Google/CloudFlare of providing free DNS resolution? Why do they offer it?

Long back when this started, OpenDNS was the largest public DNS provider. And I know at one point they started "hijacking" google requests - you can read this here : http://www.dslreports.com/forum/r21284386-Google-Com-Hijacke.... This was in 2008. They used to also hijack DNS requests to show their own ads. And i am pretty sure many ISPs always played around with DNS in this way.

In 2009, Google launched its own Public DNS - the reasons given were to make the web faster and safer, and i think there is some sense in which they have delivered. But I think another reason was defensive - provide an alternative to OpenDNS and to crappy ISP DNSs.

In 2014 - OpenDNS stopped using DNS to show ads : https://umbrella.cisco.com/blog/2014/05/29/no-more-ads/.

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

#350
post #141

Earlier quoted context omitted.

> Which ISPs are so bad that you want to use external services, which are further in distance than your ISP, for speed? When I upgraded my WiFi equipment at home a month ago I thought it was defective. Multiple times every day I'd seem to lose connectivity to the internet. After two weeks it occurred to me that my previous router was configured to do a couple things for me, one of which was overriding what DNS server…

To answer the question asked: Spectrum. I have Spectrum and have been fighting this exact problem for months. Trying out your steps now and hoping for success.

So did it work?
Post reply on HN