Every time a device on your network opens a website, checks email or pulls a firmware update, it first asks a DNS resolver to turn a name like 5gstore.com into an IP address. Most people never choose that resolver. The router hands out whatever the carrier or ISP supplied, and every lookup on the network flows through it, unencrypted and unfiltered.
That one setting is worth a few minutes of attention. The resolver you pick affects how quickly new connections start, whether known malware and phishing domains get blocked before a device ever connects, and who gets to see a log of every domain your network asks about. This post walks through the major free public resolvers, what the measured speed data says, how their security and privacy models differ, and how to set one on the routers we sell.
What a DNS resolver actually does
Your router or device sends a query to a recursive resolver. If the resolver has the answer cached, it replies in a few milliseconds. If not, it walks the DNS hierarchy on your behalf, asking the root servers, then the top level domain servers, then the authoritative server for the domain, and caches the result. Speed is mostly a function of two things: how physically close the nearest resolver node is to you, and how often the resolver already has the answer in cache.
The big public resolvers all use anycast, which means a single address like 1.1.1.1 is announced from hundreds of data centers and your query lands at whichever one is nearest on the network. That is why speed rankings change from city to city and ISP to ISP, and why any benchmark, including the one below, is a starting point rather than a verdict.
The providers
Google Public DNS (8.8.8.8 and 8.8.4.4) launched in 2009 and remains the most widely used public resolver. It validates DNSSEC, supports DNS over HTTPS and DNS over TLS, and does no content filtering of any kind. Google sends EDNS Client Subnet information upstream, which helps CDNs route you to a nearby edge server but also reveals your approximate network to the authoritative side.
Cloudflare (1.1.1.1 and 1.0.0.1) launched in 2018 with a privacy first pitch and is consistently the fastest resolver in global measurements. It offers two filtered variants: 1.1.1.2 blocks malware domains and 1.1.1.3 adds an adult content filter. Cloudflare does not send Client Subnet data upstream.
Quad9 (9.9.9.9 and 149.112.112.112) is run by a Swiss nonprofit founded by IBM, Packet Clearing House and the Global Cyber Alliance. Threat blocking is on by default: every query is checked against feeds from roughly twenty threat intelligence partners, and a match returns NXDOMAIN so the device never connects. It validates DNSSEC and does not store client IP addresses. An unfiltered address, 9.9.9.10, exists for troubleshooting.
OpenDNS (208.67.222.222 and 208.67.220.220) was acquired by Cisco in 2015 and now runs on the same infrastructure as Cisco Umbrella. The free Home tier blocks phishing and, with a free account, lets you block content categories. FamilyShield at 208.67.222.123 is a preconfigured adult content filter that needs no account. Cisco ended sales of the paid consumer tiers in 2023, so the free service is what remains for individuals.
Others worth knowing. AdGuard DNS (94.140.14.14) blocks ads and trackers at the DNS layer. NextDNS and Control D are account based services with per device profiles, custom blocklists and analytics, with free tiers that are generous enough for a home network. Gcore runs a fast unfiltered resolver that ranks near the top of the global tables. All of these support encrypted DNS.
What the speed data actually shows
DNSPerf tests every public resolver once a minute from more than 200 probe locations worldwide with a one second timeout and publishes the averages. In its late December 2025 worldwide 30 day table, Cloudflare averaged 10.36 ms, Google 19.16 ms, Gcore 21.17 ms, OpenDNS 21.54 ms and Quad9 21.56 ms. You can pull the current numbers yourself at dnsperf.com.
Three things about that chart matter more than the ranking.
First, the worldwide average hides regional reality. Quad9 and Cloudflare have strong North American and European footprints, and published regional breakdowns put all of the top resolvers within a couple of milliseconds of each other in North America, roughly 7 to 9 ms. Quad9’s global number is pulled up by thinner coverage in parts of Asia and South America. If you are in the United States, the worldwide table overstates the gap.
Second, these are cached lookups of popular domains. A 2025 academic study that measured resolvers against real CDN traffic found Google and OpenDNS trailing Cloudflare, and in some cases Quad9, on latency, and traced the cause to lower cache hit rates rather than slower servers. The same study found Cloudflare’s decision not to send Client Subnet data cost it some accuracy in Akamai’s edge selection, and Quad9 paid a noticeable penalty with three of the four CDNs tested. In other words, the fastest DNS answer does not always produce the fastest page load.
Third, the difference between 10 ms and 20 ms is invisible in practice. A DNS lookup happens once per domain and is then cached on your device for the life of the record. What you will notice is the difference between any of these resolvers and a carrier or ISP resolver that answers in 80 to 200 ms, or one that fails intermittently. Reliability, not the last few milliseconds, is the performance story.
We attempted our own multi resolver benchmark from a cloud environment for this post and discovered that the environment was transparently redirecting all port 53 traffic to a single upstream resolver, which made every provider report identical results. It was a useful reminder that many networks, including some hotel, campus and carrier networks, intercept DNS. If your benchmark shows every resolver within a millisecond of each other, that is the likely reason. Run your test from a network you control.
Security: filtering, DNSSEC and encryption
Speed is the smaller half of the decision. Three security features separate these services.
Malware and phishing blocking. Quad9 and OpenDNS block known malicious domains by default. Cloudflare does so only on 1.1.1.2. Google does not filter at all. The scale of what a filtering resolver catches is instructive: Quad9’s report covering January through June 2026 found that its top fifty blocked domains alone accounted for more than 14 billion blocked queries, and 33.9 billion blocked queries went to .com domains in that six month window. The most blocked cluster was command and control traffic from botnets running on cheap Android TV boxes that shipped with malware preinstalled, with more than 2.2 billion queries to one rotating set of algorithmically generated domains. A DNS layer block stops that traffic even when the infected device has no security software and cannot be patched, which is exactly the situation with most IoT gear on a small business or vehicle network.
DNSSEC validation. All four major resolvers validate DNSSEC signatures, which prevents a forged answer from being accepted for domains that are signed. Quad9 tightened this in 2026 by enforcing strict validation on all of its public endpoints.
Encrypted transport. DNS over HTTPS and DNS over TLS wrap your queries in encryption so nobody between your device and the resolver, including a carrier, a public Wi-Fi operator or an attacker on the local network, can read or tamper with them. Google, Cloudflare, Quad9, OpenDNS, AdGuard, NextDNS and Control D all support both. Quad9 and AdGuard also offer DNS over QUIC. One operational note: as of December 15, 2025, Quad9 requires HTTP/2 for DoH connections and no longer accepts HTTP/1.1 clients, so older embedded devices that only speak HTTP/1.1 need to use DoT instead.
Privacy: who logs what
This is where the providers diverge most sharply, and the details come from their own published policies.
Google keeps temporary logs that include your full IP address and query for 24 to 48 hours, then retains a sampled permanent log with the IP replaced by a city or region level location. Google states it does not use Public DNS data for advertising.
Cloudflare commits to never writing client IP addresses to non volatile storage, truncates and deletes what it does hold within 25 hours, and shares anonymized query data only with APNIC for research. An independent examination published in April 2026, its first since 2020, confirmed those commitments were met, with the caveat that up to 0.05 percent of network packets may be sampled with IP addresses for troubleshooting and attack mitigation.
Quad9 states that it does not store client IP addresses at all and operates under Swiss jurisdiction as a nonprofit.
OpenDNS logs more than the others because its filtering and reporting features depend on it, and that data feeds Cisco Talos threat intelligence. For a household that wants category filtering and a dashboard, that is the trade. For a network that wants minimal logging, it is the wrong pick.
Reliability and the counterpoint
It would be easy to read the above and conclude that everyone should switch to 1.1.1.1 or 9.9.9.9 today. The honest case for caution has three parts.
The fastest resolver had the worst outage of the past two years. On July 14, 2025, Cloudflare’s 1.1.1.1 went dark worldwide for 62 minutes because an internal configuration change withdrew its address prefixes from every data center. During the gap, a Tata Communications network began announcing one of the prefixes, which looked like a hijack and was not the cause but showed how fragile a single point of failure can be. Any device configured with only 1.1.1.1 and 1.0.0.1 lost DNS entirely for an hour. The lesson is not to avoid Cloudflare. It is to never configure both DNS slots with addresses from the same provider.
Filtering resolvers will occasionally block something you need. A false positive from Quad9 or OpenDNS looks exactly like a site being down, and you will not get a friendly block page, just NXDOMAIN. Quad9 publishes a lookup tool so you can check whether a domain is on its blocklist, but a business that runs into this without knowing why can lose real time.
Public DNS is not a substitute for a VPN or for a proper security stack. It hides nothing from the websites you visit, it does not encrypt your traffic, and a filtering resolver only catches domains that are already on a list. It is a cheap, high leverage layer, not a complete one.
There is also a fair argument that concentrating more of the internet’s DNS traffic in two or three companies is its own risk, and that carrier resolvers, whatever their speed, at least keep that data local. If that concerns you, Quad9’s nonprofit structure or a self hosted recursive resolver are the alternatives.
Setting DNS on your router
Changing DNS at the router applies it to every device on the network, including cameras, printers and IoT devices that have no DNS setting of their own. On Peplink routers, the WAN and LAN DNS settings live under the Network tab, and current firmware can proxy queries to your chosen upstream so clients keep pointing at the router. Cradlepoint and Digi devices expose the same setting in NetCloud and Digi Remote Manager respectively, and Teltonika, Inseego, Semtech and Katalyst gateways all allow custom DNS in their web interfaces. Cellular routers deserve particular attention here, because the carrier assigned resolver is often the slowest option and the one with the least published privacy policy.
Use two addresses from two different providers, for example 9.9.9.9 primary and 1.1.1.1 secondary, so that a provider outage degrades to the other rather than taking the network down. If your router supports DNS over HTTPS or DNS over TLS in its DNS proxy, enable it. If it does not, most laptops, phones and browsers can enable encrypted DNS on their own.
We carry cellular and networking gear from Peplink, Cradlepoint, Teltonika, Semtech, Inseego, Digi and Katalyst, and every one of them lets you make this change in a couple of minutes.
How to run your own test
The only benchmark that matters is the one from your network. On Windows, Steve Gibson’s free DNS Benchmark tool tests dozens of resolvers at once. On a Mac or Linux machine, this one liner compares the four major resolvers on a single domain:
for r in 8.8.8.8 1.1.1.1 9.9.9.9 208.67.222.222; do echo -n "$r "; dig +noall +stats @$r 5gstore.com | grep "Query time"; done
Run it several times across a range of domains, and run it once from the cellular WAN and once from any wired WAN if your router has both. Pick the two providers that are consistently fast and reliable, then let the security and privacy discussion above break the tie.
5Gstore Take
For most of our customers, the practical answer is Quad9 primary and Cloudflare secondary. You get default malware and botnet blocking that covers every unpatchable device on the network, a privacy policy that does not retain your IP, near identical speed in North America, and a second provider on a completely separate network in case one has a bad day. Google is the right choice if you need Client Subnet for CDN performance or are on a network that blocks the others. OpenDNS is the right choice if you want category filtering and reporting without running your own software.
If you are deploying routers across vehicles, job sites or branch locations and want DNS filtering, encrypted DNS and failover set up consistently, our team can help. Reach us at 5gstore.com/site/contact_us.
FAQ
Will a faster DNS server increase my download speed?
No. DNS only affects how quickly a new connection starts. Once the name is resolved, the transfer runs at whatever speed your connection provides.
Is 1.1.1.1 or 8.8.8.8 faster?
In DNSPerf’s worldwide data Cloudflare is faster, 10.36 ms to Google’s 19.16 ms in the December 2025 table. In North America the two are usually within a couple of milliseconds. Test from your own network to know for sure.
Does Quad9 slow things down because it filters?
No. The blocklist check happens in memory and adds no measurable latency. Quad9’s global average is higher than Cloudflare’s because of coverage in some regions, not because of filtering.
Should I use the same provider for primary and secondary DNS?
No. Use two different providers so an outage at one does not take down name resolution for your whole network.
Does public DNS hide my browsing from my ISP?
Only if you use DNS over HTTPS or DNS over TLS, and even then it hides just the lookups. The websites themselves still see your IP address. A VPN is a different tool for a different job.
Can I set encrypted DNS on my router?
It depends on the model and firmware. Check the DNS proxy or DNS settings page for a DNS over HTTPS or DNS over TLS option. If it is not there, enable encrypted DNS on individual devices instead.

