Cloudflare vs Google vs Quad9: Public DNS Compared
Cloudflare (1.1.1.1) is the fastest and most privacy-forward of the three major public DNS resolvers, Google Public DNS (8.8.8.8) is the most widely used and integrates well with Google's infrastructure, and Quad9 (9.9.9.9) is the only one of the three that blocks known malicious domains by default. All three are free, all three are recursive resolvers you can type into your router or device settings in under a minute, and for most people any of them will work — the differences matter when you care about speed, filtering, logging policy, or specific network quirks.
What a public DNS resolver actually does
When you type a domain name into a browser, your device asks a DNS resolver to translate that name into an IP address. Normally that resolver is run by your internet provider. A public resolver is simply one run by someone else that anyone can query, usually without authentication and usually for free. This is why a public resolver can change what you see: it can be faster than your ISP's resolver, it can filter out dangerous or unwanted domains, and it can decide whether to log your queries.
It is worth being clear about what DNS does not do. DNS servers do not encrypt your web traffic, do not hide your IP address from the websites you visit, and do not make you anonymous. A resolver only sees the names you look up, not the contents of your traffic. Some public resolvers support encrypted DNS (DNS over HTTPS or DNS over TLS), which hides queries from your ISP and local network, but that is a separate feature from the resolver itself.
The three providers at a glance
- Cloudflare (1.1.1.1, 1.0.0.1) — Advertises fast resolution and a strict no-logging policy for personal data; logs are kept only for a short period and then purged. Supports DNS over HTTPS and TLS. No default content filtering; a separate family variant (1.1.1.2) blocks malware, and 1.1.1.3 also blocks adult content.
- Google Public DNS (8.8.8.8, 8.8.4.4) — Operated by Google, extremely reliable and globally distributed. Google states it logs limited information (IP address, ISP, approximate location) and retains anonymized query data for a period to improve the service. Supports DNS over HTTPS and TLS. No content filtering.
- Quad9 (9.9.9.9, 149.112.112.112) — A Swiss non-profit foundation. Blocks domains known to host malware, phishing, and botnet command-and-control, using threat intelligence from multiple security vendors. No-logging by design, with no personal data stored. Supports DNS over HTTPS and TLS. A separate variant (9.9.9.10) disables blocking for those who need it.
Speed and reliability compared
Resolver speed is mostly a function of how close the server is to you. Cloudflare and Google both run large anycast networks, meaning the same IP address routes to a nearby data center automatically. In practice, the difference between them measured in milliseconds is usually small compared to the latency of the website itself. Quad9 also uses anycast and has broad coverage, though its footprint is somewhat smaller than the two giants'.
The practical advice is to test from your own connection. Resolver benchmarks published online reflect the tester's location, not yours. A resolver that is blazing fast in Europe may be ordinary in South America or Southeast Asia. Many routers and operating systems let you set a primary and secondary resolver, so a common strategy is to pick one provider for the primary address and a second provider for the secondary address so a single outage does not take down name resolution. Mixing providers is safe: if the primary answers, the secondary is rarely contacted.
Reliability also matters more than raw speed for most homes. A resolver that is 2 ms slower but never fails is better than a faster one with occasional timeouts, because a failed DNS query looks to the user like the whole internet is broken. DNS resolution failures are one of the most common causes of "no internet" complaints even when the connection itself is fine.
Privacy and logging policies
This is where the three differ most in spirit, even though no provider can prove its claims to an outside observer. Cloudflare commits to not selling data and to purging logs quickly, and has had its practices audited. Quad9 is structured as a non-profit foundation, which reduces the incentive to monetize query data, and states that it does not store IP addresses associated with queries. Google retains anonymized data for service improvement and security, and its broader business model means its privacy posture is evaluated differently by many users.
None of these policies is a guarantee. The honest summary is: if query privacy is your top concern, Cloudflare and Quad9 make stronger commitments, with Quad9's non-profit structure being the most distinctive. If you want queries hidden from your ISP entirely, look for encrypted DNS support on all three rather than relying on plain DNS.
Security filtering and malicious domain blocking
Quad9's main differentiator is that it blocks known malicious domains at the resolver level. If you look up a domain on a threat-intelligence blocklist, Quad9 returns a failure response instead of the real address, so the connection never completes. This is a genuine extra layer of defense against phishing and malware links, and it costs nothing. The trade-off is that the blocklists are imperfect: legitimate domains are occasionally caught in a false positive, and you cannot see why a site was blocked or easily override it. The unblocked variant at 9.9.9.10 avoids that problem.
Cloudflare and Google do no filtering on their main addresses. Their "family" variants are opt-in: Cloudflare's 1.1.1.2 blocks malware and 1.1.1.3 adds adult content filtering, while Google offers similar filtering addresses in its public DNS offering. These are useful for parents and for shared networks, but they are blunt instruments compared to software that filters per-user and per-device.
A common misconception is that a filtering resolver replaces antivirus or a firewall. It does not. Blocking a known-bad domain helps only when the domain is already on a list, and many attacks use newly registered domains, direct IP connections, or compromised legitimate sites. Treat DNS filtering as one layer, not the layer.
How to choose for your situation
- If you want the simplest no-frills option, use Cloudflare at 1.1.1.1 as primary and 1.0.0.1 as secondary.
- If you want malware and phishing domains blocked without installing anything, use Quad9 at 9.9.9.9 and 149.112.112.112.
- If you use Google services heavily or want maximum ubiquity, use Google at 8.8.8.8 and 8.8.4.4.
- If you manage a family network, consider Cloudflare 1.1.1.3 or Google's filtering addresses, understanding they are not fine-grained.
- If you switch and something breaks, revert to your previous settings before troubleshooting further — DNS changes are easy to undo.
One more factor: some networks, especially corporate and public Wi-Fi, block or redirect traffic to third-party resolvers. If a public resolver appears not to work, that is often why, and there is no legitimate way around a network operator's rules.
Frequently Asked Questions
Is 1.1.1.1 faster than 8.8.8.8?
Usually not by much, and not always. Both are anycast services with global infrastructure. The winner depends on where you are and which data center your traffic reaches. Measure from your own connection rather than trusting a blog post.
Does using Quad9 hide my browsing?
No. Quad9 protects you from known malicious domains and does not log personal query data, but your ISP and the websites you visit still see your traffic. To hide queries from your ISP, enable encrypted DNS where available.
Can I use two different DNS providers at once?
Yes. Setting one provider as primary and another as secondary is common and safe. The secondary is normally only used if the primary fails to respond.
Will changing DNS bypass parental controls or office filters?
No, and it should not be attempted. Networks that enforce filtering may block third-party resolvers. Respect the rules of the network you are using.
Do these resolvers log my IP address?
Policies differ and you should read the current documentation for each provider. Cloudflare and Quad9 make stronger commitments about short or no retention, while Google states it retains some limited data. Policies can change, so check before relying on them.