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

31–40 of 364 posts

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

#31
You can run a benchmark of your own using namebench. I recommend you uncheck the options for the included nameservers or it will take a very long time to run and enter only the DNS servers you want to test manually. It can use your Firefox browsing history as a source for domains to resolve.

Ignore the "incorrect" and "hijacked" warnings, I think the program has hardcoded, outdated IP ranges for popular services which causes those.

https://code.google.com/archive/p/namebench/

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

#33
post #18
post #7

Earlier quoted context omitted.

Quad9 is supported/funded by City Of London Police, the same police that cooperates with ad companies to track people online. https://www.theguardian.com/media-network/media-network-blog... Keep away from this.

Interesting question: would I rather protect my elderly Mum from known malicious domains potentially trying to scam/phish, or from potential tracking and ad targeting? (Actually, it's not really a difficult choice at all, is it?)

Why not both? You're smart enough I guess to find a good solution.

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

#34
post #28

9.9.9.9 does not seem to be geographically-aware. Here are the resolutions for the same domain name (CNAME referring to the hopefully closest edge server), from France. % dig [domain] @8.8.8.8 +short [id].kxcdn.com. p-frpa00.kxcdn.com. # France % dig [domain] @9.9.9.9 +short [id].kxcdn.com. s-us-ca00.kvcdn.com. # America p-ussj00.kxcdn.com. % dig [domain] @1.1.1.1 +short [id].kxcdn.com. p-frpa00.kxcdn.com. # France %…

A more comprehensive benchmark would also measure a ping or HTTP request to each resolved IP take to this into account. Actual browser performance is very skewed now without it.

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

#35
post #28

9.9.9.9 does not seem to be geographically-aware. Here are the resolutions for the same domain name (CNAME referring to the hopefully closest edge server), from France. % dig [domain] @8.8.8.8 +short [id].kxcdn.com. p-frpa00.kxcdn.com. # France % dig [domain] @9.9.9.9 +short [id].kxcdn.com. s-us-ca00.kvcdn.com. # America p-ussj00.kxcdn.com. % dig [domain] @1.1.1.1 +short [id].kxcdn.com. p-frpa00.kxcdn.com. # France %…

9.9.9.9 does not pass along EDNS client subnet resulting in wrong geo-located responses. It is their "feature".

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

#36
post #3

I wasn't aware of Quad9, it seems like a pretty great option for those that are easy targets of scams/phishing.

Quad9 doesn’t seem to work at some universities in Australia, not sure why. DNS fails to resolve from the WiFi.

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

#37
post #24
post #23

Just run your own DNS resolver if you value your privacy. With prefetching and caching there will be little difference in performance.

But your DNS will have to query other DNS providers so if you’re the only one using it, it won’t be private.

You can query DNS root server. https://www.iana.org/domains/root/servers

And use long TTL time with large cache size.

Other than some small edge cases, this is pretty much the most secure and fastest DNS performance you will have, in most instances getting about 1 or I have been using unbound for at least 4 years. Simple and fast.

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

#39
post #27

Besides response time, the next level of comparison is how well geo-DNS-based services (global load balancing, etc.) support these resolvers. AFAIK 8.8.8.8 gives decent results in most places, though I've seen suboptimal US-centric results from Quad9 in Asia. Support for RFC 7871 (Client Subnet in DNS Queries) comes into play here too.

I always used 8.8.8.8, since I couldn't remember OpenDNS's IPs.

But just found out today that, from Sydney, OpenDNS and Cloudflare are kicking Google's ass for speed. 8.8.8.8 is on par with my ISP-default DNS.

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

#40
If you want to see the performance from even more locations here is a more detailed benchmark https://www.cdnperf.com/tools/cdn-latency-benchmark/0d8b484e...

Or you can even use a CLI https://perfops.net/cli to run custom tests from any location

Post reply on HN