Your device is probably using a DNS server it never chose: whatever the router or ISP handed out. That default works, but it isn't always the fastest, the most private or the most reliable. Switching takes about a minute, and there are good free options. The trick is knowing what actually differs between them, because speed claims on the internet are mostly marketing.
The main contenders
- Google Public DNS:
8.8.8.8and8.8.4.4. Very reliable, supports DNSSEC validation and encrypted DNS, and doesn't filter anything. It does log queries for a short time under its published policy. - Cloudflare:
1.1.1.1and1.0.0.1. Built with privacy as the selling point, and the company says it doesn't sell data or use it for advertising. There are filtered variants:1.1.1.2blocks malware and1.1.1.3blocks malware and adult content. - Quad9:
9.9.9.9and149.112.112.112. Run by a non-profit foundation based in Switzerland. It blocks domains known to host malware and phishing by default and validates DNSSEC. - AdGuard DNS:
94.140.14.14and94.140.15.15. Blocks ads and trackers at the DNS level, which is useful for every device on a network at once. - CleanBrowsing:
185.228.168.9and185.228.169.9. Aimed at families, with a security filter and stricter adult-content filters.
What we measured, and what it can't tell you
We ran a small test from our server in the UK on 22 November 2026. For each resolver we sent 24 queries for random, never-before-seen names under real domains (so the resolver had to do real work) and 24 repeat queries for one name (so the answer was already cached). The medians, in milliseconds:
Resolver Uncached Cached Quad9 3.5 1 Cloudflare 5 2 CleanBrowsing 5 2 Control D 5 3 Google 7.5 2 AdGuard 75.5 72
Please read this carefully rather than treating it as a league table. A data centre with a fast connection sits almost next door to every resolver's nearest anycast node. Your home connection will see larger numbers, and a different order. AdGuard's 75 ms means the nearest node to our server happens to be far away, not that it's slow everywhere. The honest conclusion from the test: the big names all answer in a handful of milliseconds when they're nearby, and distance matters far more than brand.
We also asked OpenDNS (208.67.222.222) and it refused our queries. That's common with resolvers aimed at home users, and a reminder that not every free resolver accepts queries from every network.
How to run your own test
On Windows, macOS or Linux, run each of these a few times and compare the "Query time":
dig @8.8.8.8 wikipedia.org dig @1.1.1.1 wikipedia.org dig @9.9.9.9 wikipedia.org
Ignore the first run for each, since it may need to fetch the answer, and compare the later ones. Better still, test names you actually visit. Free tools such as namebench-style benchmarkers exist, but even a simple loop in a terminal tells you what you need.
Privacy: the part that really differs
Whichever resolver you use sees every domain you look up. Your ISP's resolver does too, and some ISPs monetise that data. Moving to a public resolver changes who sees it, not whether anyone does. What to compare is the privacy policy, how long logs are kept, and whether the provider commits to not selling or profiling the data. Cloudflare and Quad9 are the most explicit about this.
Encryption is a separate point. Plain DNS travels in the clear, so anyone on your network can read it. All the services above support DNS over HTTPS and DNS over TLS, which wrap queries so local observers can't see them. Windows 11, Android, iOS and the major browsers can use them natively.
The CDN catch
There's one subtle drawback to leaving your ISP's resolver. Large sites and CDNs use the resolver's location to choose a nearby server for you. Some public resolvers pass along part of your own network address to help with this, which is called EDNS client subnet; others deliberately don't, for privacy. We checked from our server: Google's resolver forwarded our /24 subnet, while Cloudflare's didn't. With a resolver that hides your location, you may occasionally be sent to a slightly farther copy of a site. Quad9 offers a separate address, 9.9.9.11, that includes the subnet if that matters to you.
Which should you choose?
- Just want something reliable: Google or Cloudflare.
- Want safer browsing without extra software: Quad9, or Cloudflare
1.1.1.2. - Want to block ads for the whole household: AdGuard DNS, set once on the router.
- Setting up a child's device: CleanBrowsing's family filter.
You can also set two different providers as primary and secondary, for example Cloudflare and Quad9, so an outage at one doesn't take your internet with it.
How to switch
The cleanest place is the router: enter the two addresses in its DHCP or Internet settings, and every device follows. For a single machine, use the network settings (see our guide to checking which DNS server you use for where those live on each system). Afterwards, flush the DNS cache, then confirm the change took effect.
If you're curious how each resolver answers for a particular domain, the DNS checker queries dozens of public resolvers at once and shows their answers side by side, including the big names above. Different answers for the same record often point to stale caches, which our article on DNS propagation explains.