There's no single public DNS server that's fastest everywhere. In independent benchmarks, Cloudflare (1.1.1.1), Google Public DNS (8.8.8.8), and OpenDNS most often come out on top, but the result depends on region, provider, and the moment you test. Below, we compare the main public DNS resolvers, explain why rankings don't match, and show how to measure speed on your own connection in a few minutes.

In this article, by public DNS server we mean a DNS resolver: a service that looks up a website's IP address in response to a request from your device. This isn't the same as DNS hosting for a domain: authoritative servers store domain records, while a resolver only looks them up on request. Here we're talking only about resolvers.

Quick table: major public DNS servers

Provider

IPv4 addresses

DoH / DoT

Filtering

Positioning

Cloudflare

1.1.1.1, 1.0.0.1

Yes / yes

None by default (separate addresses 1.1.1.2 and 1.1.1.3 block malware and adult sites)

Speed and privacy

Google Public DNS

8.8.8.8, 8.8.4.4

Yes / yes

None

Speed and reliability

Quad9

9.9.9.9, 149.112.112.112

Yes / yes

Blocks known malicious domains

Security

OpenDNS (Cisco)

208.67.222.222, 208.67.220.220

Yes / limited

Optional, paid tiers available

Parental controls, filtering

AdGuard DNS

94.140.14.14, 94.140.15.15

Yes / yes

Blocks ads and trackers

Filtering and privacy

The table doesn't list response times in milliseconds. Such numbers without a specified location, date, and methodology are misleading: on your own connection they'll be different.

What "fast" DNS actually means, and what it really speeds up

A fast DNS server is one that answers requests consistently and with low delay. Latency is the time between a request and the resolver's response.

Scheme of request and resolver

In practice, four things matter:

  • Response time. For cached names, it's usually lower than for names not yet in the resolver's cache.

  • Consistency. A resolver that sometimes responds in a few milliseconds and sometimes stalls is worse than one with even performance. The spread in latency is called jitter.

  • Node proximity. Large providers use anycast: the same address is served from dozens of locations worldwide, and the request goes to the nearest one. The closer the node is to you, the lower the latency.

  • Cache size. Popular domains are already in a large resolver's cache, so the answer comes back instantly.

An important caveat: DNS only affects the name-resolution step, i.e., the pause before a page starts loading. File download speed, in-game ping, and streaming quality won't change by switching DNS. The gain is usually a fraction of a second on the first request to a site, not an "internet speed boost."

Why "fastest DNS" rankings disagree

Open a few reviews and you'll see different winners. That's normal, and there are several reasons:

  • Test location. Results for Berlin, and New York differ because the nearest nodes and routes differ.

  • ISP. Different internet providers have different peering agreements with Cloudflare, Google, and others, so the path to the resolver differs.

  • Caching. Some tests measure only cached queries, others mix in uncached ones.

  • Domain set. If a test uses popular sites, results look better than with rarely visited domains.

  • Author's interests. Some "rankings" are published by the vendors themselves. That doesn't mean they're lying, but the methodology tends to favor the service's strengths.

When reading any benchmark, check three things: who ran it, when, and how. Independent sources such as DNSPerf and ThousandEyes publish their methodology and measurement period. A claim like "our service is 30% faster" without a method or date reference remains a marketing statement.

Overview: Cloudflare, Google, Quad9, OpenDNS, and others

Cloudflare 1.1.1.1

Claudflare DNS

Addresses 1.1.1.1 and 1.0.0.1, with DoH and DoT support. Cloudflare positions the service as fast and private and describes its log retention policy on its official page. Variants are available that block malicious sites (1.1.1.2) and adult content (1.1.1.3). A good fit for anyone who wants a simple, fast resolver with no filtering by default.

Google Public DNS 8.8.8.8

Google public DNS

Addresses 8.8.8.8 and 8.8.4.4, with DoH and DoT supported. The service has been around for a long time and is known for its stability. A downside for some users: Google is an advertising company, and it's worth reading its logging policy in the official documentation. A good fit if you want a proven, all-purpose option.

Quad9 9.9.9.9

Quad9 DNS

Addresses 9.9.9.9 and 149.112.112.112. Its main feature: the resolver blocks domains listed as malicious. This gives protection against phishing and infected sites without installing separate software. A good fit if security matters more to you than maximum speed.

OpenDNS 208.67.222.222

Addresses 208.67.222.222 and 208.67.220.220, owned by Cisco. Its strength is flexible category-based filtering and parental controls, available in both free and paid tiers. A good fit for a household or small office that needs to restrict certain categories of sites.

AdGuard DNS and others

AdGuard DNS (94.140.14.14 and 94.140.15.15) blocks ads and trackers at the DNS level, meaning instantly for every app on the device. Russian-speaking users sometimes consider Yandex DNS (77.88.8.8) as well, but its addresses, filtering modes, and availability should be checked on its official page before use.

How to test DNS speed yourself

The best test is one run from your own connection. Here are three methods, from simple to thorough:

  1. The dig command. Available on Linux and macOS; on Windows it's installed separately. Run a query against a specific resolver and check the Query time field:

dig @1.1.1.1 example.com
dig @8.8.8.8 example.com
dig @9.9.9.9 example.com

Run each command several times. The first query often bypasses the cache and will be slower than the subsequent ones.

  1. GRC DNS Benchmark. A free Windows tool that automatically compares dozens of resolvers, including your ISP's DNS, and shows average response time and variance.

  2. dnsperf and resperf. Tools for serious load testing. These are meant for administrators and anyone comparing resolvers for their own infrastructure. For a home choice, the first two methods are enough.

To get an honest result:

  • repeat the test at different times of day;

  • include your ISP's DNS in the comparison: it's often faster simply because it's closer;

  • test several domains, not just one;

  • look not only at the average but also at how consistent the responses are.

How to change DNS on Windows, macOS, Linux, and a router

The steps below are given in general form. Menu item names vary depending on your system version.

Windows

  1. Open Settings, Network & Internet, your connection, then Hardware Properties.

  2. Click Edit next to DNS server assignment and select Manual.

  3. Turn on IPv4 and enter the preferred and alternate addresses, for example 1.1.1.1 and 1.0.0.1.

  4. In the encryption field, choose DoH if your system offers it.

macOS

  1. System Settings, Network, your connection, then Details.

  2. Open the DNS tab and add the addresses you want with the "+" button.

  3. Remove any outdated entries and save the settings.

Linux (Ubuntu)

  1. Open network settings and your connection's properties, then the IPv4 tab.

  2. Turn off automatic DNS and enter the resolver addresses.

  3. Reconnect to the network.

Router

  1. Log in to the router's web interface (usually 192.168.0.1 or 192.168.1.1).

  2. Find the DHCP or WAN settings and the DNS servers field.

  3. Enter the addresses of the chosen resolver and save. The new DNS will apply to all devices on the network, though you may need to reconnect them.

If sites stop loading after you change DNS, the cause is often something else. For a breakdown of the error, see our article on DNS_PROBE_FINISHED_NXDOMAIN.

When public DNS won't help, and when you need your own

Switching DNS doesn't fix a slow connection or a congested Wi-Fi network. If pages load slowly because of a weak signal or a limited plan, the resolver will barely make a difference. Also, your ISP's DNS sometimes responds faster than public ones simply because it's on the same network as you.

Running your own resolver on a server (Unbound, AdGuard Home, Pi-hole) purely for speed is rarely worth it: public resolvers with caching and anycast usually perform just as well. The real point is different: control over logs, privacy, ad and malware-domain filtering for a family or team, and consistent rules across all devices.

If that's what you need, you can deploy a resolver on a VPS. In that case, it makes sense to pick a location close to your users so latency stays low. This isn't a promise to outrun Cloudflare — it's a way to get DNS on your own terms.

Conclusion

In short:

  1. Choose DNS based on a test on your own connection, not someone else's ranking.

  2. Decide what you actually need: speed, privacy, or filtering. That determines your choice between Cloudflare, Quad9, OpenDNS, and AdGuard.

  3. Re-check your choice about once a year: nodes and routes change over time.

If you need your own resolver with filtering and full control over the settings, you can deploy it on Leneex VPS.