The best public DNS servers in 2026 are Cloudflare (1.1.1.1) for speed and privacy, Google Public DNS (8.8.8.8) for reliability, and Quad9 (9.9.9.9) for built-in malware blocking. OpenDNS suits families, AdGuard DNS blocks ads, NextDNS offers the most control, Control D offers preset filters with no account, and CleanBrowsing offers simple family filtering.
Key takeaways
- Cloudflare 1.1.1.1 is the best all-rounder for speed and privacy; Quad9 9.9.9.9 is best for security.
- Pick by what you want blocked — nothing, malware, ads or adult content — not by speed alone.
- Turn on encrypted DNS (DoH or DoT) so your lookups stay private from your network.
Your internet provider's DNS is convenient, but it is rarely the fastest, the most private or the safest option. A public DNS server can fix all three — in about two minutes.
How did we choose the best public DNS servers?
We chose resolvers that are free to try, widely available, documented by their operators, and strong on at least one of speed, security, privacy or filtering.
Every entry below lists its real IPv4 and IPv6 addresses, what it blocks, whether it supports encrypted DNS, and what it costs. Speed varies by location, so the fastest resolver for you is the one that answers fastest from your own connection — measure it, do not trust a global ranking alone.
We did not rank by sponsored placement or by invented test scores. The order below puts the best all-rounders first, then the best specialists for families, ad blocking and custom control.
Before you switch, check what your network currently uses with our DNS lookup tool, which compares the answer and speed of the public resolvers for any domain.
Which public DNS server is best? Comparison table
Cloudflare is the best all-rounder, Google is the most reliable, and Quad9 is the best for security. The rest win on filtering, family controls or customization.
| DNS server | Best for | IPv4 addresses | Free plan | Starting price |
|---|---|---|---|---|
| Cloudflare | Speed and privacy | 1.1.1.1, 1.0.0.1 | Yes | Free |
| Google Public DNS | Reliability | 8.8.8.8, 8.8.4.4 | Yes | Free |
| Quad9 | Security | 9.9.9.9, 149.112.112.112 | Yes | Free |
| OpenDNS | Families, customization | 208.67.222.222, 208.67.220.220 | Yes | Free |
| AdGuard DNS | Blocking ads and trackers | 94.140.14.14, 94.140.15.15 | Yes | Free |
| NextDNS | Custom rules and logs | Your own addresses | Yes, 300,000 queries/month | From $1.99/month as of November 2026 |
| Control D | Preset filters, no account | 76.76.2.0, 76.76.10.0 | Yes, preset resolvers | Paid plans — check vendor site |
| CleanBrowsing | Simple family filtering | 185.228.168.9, 185.228.168.10 | Yes, preset filters | Paid plans — check vendor site |
All eight support encrypted DNS; check each provider's docs for its DoH and DoT hostnames. Addresses are from each provider's own documentation, checked in November 2026.
What are the best public DNS servers?
The eight resolvers below cover speed, security, privacy, family filtering, ad blocking and custom control. Start with the first three unless you have a specific filtering need.
1. Cloudflare — best for speed and privacy
Cloudflare (1.1.1.1) is the best all-round public DNS server for most people: fast almost everywhere, free, and strong on privacy, with no filtering on the default addresses.
- Addresses: 1.1.1.1 and 1.0.0.1; IPv6 2606:4700:4700::1111 and 2606:4700:4700::1001.
- Filtering: none by default; 1.1.1.2 blocks malware, 1.1.1.3 blocks malware and adult content.
- Encrypted DNS: DoH at cloudflare-dns.com/dns-query, DoT hostname one.one.one.one.
- Privacy: Cloudflare says it will not sell your data; check the 1.1.1.1 privacy policy for log-retention terms.
Pros: consistently low latency in most regions; simple, memorable addresses; free family variants; strong privacy policy.
Cons: no malware blocking on the default addresses; a single provider outage can affect everyone using it.
Pricing: Free.
Who should pick it: anyone who wants a fast, private default and does not need filtering — or who will use 1.1.1.2 for malware blocking. Cloudflare documents the 1.1.1.1 and 1.1.1.1 for Families addresses on its 1.1.1.1 setup page.
2. Google Public DNS — best for reliability
Google Public DNS (8.8.8.8) is a long-running public resolver on Google's infrastructure, with no filtering.
- Addresses: 8.8.8.8 and 8.8.4.4; IPv6 2001:4860:4860::8888 and 2001:4860:4860::8844.
- Filtering: none — it returns exactly what the domain publishes.
- Encrypted DNS: DoH at dns.google/dns-query, DoT hostname dns.google.
- Privacy: Google publishes a privacy policy for Public DNS; check it for log-retention terms.
Pros: long track record, strong uptime, consistent answers, easy to remember.
Cons: no malware or ad blocking; Google is a US advertising company, so some privacy-conscious users prefer a non-profit instead.
Pricing: Free.
Who should pick it: power users, developers and anyone who wants an unfiltered baseline behind other security controls.
3. Quad9 — best for security
Quad9 (9.9.9.9) is the best secure DNS server for most users: it blocks lookups of domains tied to malware, phishing and botnets by default, with no account or setup beyond entering the addresses.
- Addresses: 9.9.9.9 and 149.112.112.112; IPv6 2620:fe::fe and 2620:fe::9.
- Filtering: malware and phishing blocking on by default; 9.9.9.10 is the unfiltered variant.
- Encrypted DNS: DoH at dns.quad9.net/dns-query, DoT hostname dns.quad9.net.
- Privacy: a Swiss non-profit that states it does not store user IP addresses.
Pros: threat blocking on by default; non-profit operator; no account needed.
Cons: slightly slower than Cloudflare in some regions; blocking can occasionally stop a legitimate site that shares infrastructure with a malicious one.
Pricing: Free.
Who should pick it: families, small businesses and anyone who wants a phishing link to fail to resolve. Quad9 explains its malware blocking and no-IP-logging policy on its own site.
4. OpenDNS — best for families and flexible settings
OpenDNS, run by Cisco, is the best choice for families that want content filtering with a free account, plus phishing protection on the default addresses.
- Addresses: 208.67.222.222 and 208.67.220.220; IPv6 2620:119:35::35 and 2620:119:53::53.
- Filtering: FamilyShield (208.67.222.123) blocks adult content with no account; a free account adds category filtering.
- Encrypted DNS: DoH and DoT supported — check the OpenDNS support pages for the current hostnames.
- Privacy: Cisco's published privacy policy applies.
Pros: long-running service; flexible category filtering; FamilyShield needs no account.
Cons: full customization needs an account; some features are now part of Cisco's paid Umbrella product.
Pricing: Free for the public resolvers and FamilyShield.
Who should pick it: parents who want a simple family filter, and small teams that want category blocking without running their own server.
5. AdGuard DNS — best for blocking ads and trackers
AdGuard DNS (94.140.14.14) is the best public DNS for blocking ads, trackers and phishing domains with no account — just enter the addresses and ads start disappearing.
- Addresses: 94.140.14.14 and 94.140.15.15; IPv6 2a10:50c0::ad1:ff and 2a10:50c0::ad2:ff.
- Filtering: ads, trackers and phishing on the default resolver; Family variant (94.140.14.15) adds adult-content blocking and Safe Search.
- Encrypted DNS: DoH at dns.adguard-dns.com/dns-query, DoT hostname dns.adguard-dns.com.
- Privacy: check AdGuard's published DNS privacy policy for its logging terms.
Pros: no account, no setup beyond the addresses; blocks ads across apps, not just the browser.
Cons: no custom blocklists on the free public resolver; ad blocking can break some sites that detect it.
Pricing: Free for the public resolvers.
Who should pick it: anyone who wants fewer ads and trackers without installing anything. For router setup, see our guide to how to secure your Wi-Fi.
6. NextDNS — best for custom rules and logs
NextDNS is the best choice when you want DNS to behave like a configurable firewall: you build a profile, pick blocklists, add allow and deny rules, and apply it per device.
- Addresses: your own addresses, generated when you create a free account — there is no address everyone shares.
- Filtering: custom blocklists, threat intelligence, per-app blocking, Safe Search and parental controls.
- Encrypted DNS: DoH, DoT and DNS over QUIC, with generated profiles for routers, phones and browsers.
- Privacy: logging can be turned off; you choose data retention and storage location.
Pros: the most flexible free tier; filtering follows devices off your home network; detailed per-device logs.
Cons: needs an account and setup; free filtering stops after 300,000 queries a month, after which it keeps answering as a plain DNS server until the next month.
Pricing: Free up to 300,000 queries per month; Pro is from $1.99/month as of November 2026, or $19.90 per year, for unlimited queries.
Who should pick it: households and small teams that want their own blocklists and logs without running a server. NextDNS lists its free 300,000-query tier and $1.99 Pro plan on its pricing page.
7. Control D — best preset filters with no account
Control D offers free, no-account resolvers, each with a different level of filtering — unfiltered, malware, ads, social or family — so you pick a preset and enter its addresses.
- Addresses: unfiltered 76.76.2.0 and 76.76.10.0; malware 76.76.2.1; ads and tracking 76.76.2.2; family variants use other addresses in the same range.
- Filtering: ready-made presets; paid plans add custom rules, profiles per device and traffic redirection.
- Encrypted DNS: DoH, DoT and DNS over QUIC supported on the free resolvers.
- Privacy: Control D states it does not log queries on the free resolvers.
Pros: no account for the presets; clear, named filters; paid plans add fine control.
Cons: custom rules need a paid plan; fewer people have heard of it, so community support is smaller.
Pricing: Free preset resolvers; paid plans add custom rules, profiles per device and traffic redirection — check the Control D pricing page for current prices.
Who should pick it: anyone who wants a preset filter without an account, with a path to custom rules later.
8. CleanBrowsing — best simple family filter
CleanBrowsing is the cleanest choice for a family that wants three clearly named presets and no account: Family, Adult and Security, each with published addresses.
- Addresses: Security 185.228.168.9, Adult 185.228.168.10, Family 185.228.168.168; the Family filter also blocks proxies and VPNs and forces YouTube Restricted Mode.
- Filtering: malware and phishing on Security; adult content on Adult; both plus Safe Search on Family.
- Encrypted DNS: DoH and DoT hostnames published for each filter.
- Privacy: check the CleanBrowsing site for free-tier limits and paid-plan details.
Pros: simplest family choice; no account; Safe Search enforced.
Cons: customization, reporting and support need a paid plan.
Pricing: Free presets; paid plans — check the CleanBrowsing pricing page for current prices.
Who should pick it: parents who want a set-and-forget family filter on the router. CleanBrowsing lists its free filters and paid plans on its own site.
How do you switch to a public DNS server?
Change it on the router to cover every device, or on one device in its network settings. It takes effect in a few seconds, and you can switch back just as fast.
- Measure: test speed twice, at different times of day. Differences of a few milliseconds do not matter; a provider two or three times slower does.
- Choose by need: the fastest one if you only want speed, or the fastest of the filtering versions if you want malware, adult content or ads blocked.
- Switch: on the router for every device, or on one device. On Windows 11, it is Settings, Network and internet, Wi-Fi or Ethernet, your connection's properties, DNS server assignment, Edit.
- Confirm: run a DNS leak test; it shows which provider now answers your lookups. If it still shows your internet provider, the change did not apply.
Use both addresses from the same provider, primary and secondary, so blocking and privacy stay the same when the second one answers. Add its IPv6 addresses if you have IPv6, and turn on encrypted DNS where your device or browser offers it.
How to choose the right DNS server for you?
Choose by what you want blocked first, then by speed from your location, then by privacy. Speed alone is the wrong first filter.
| You want | Use | Addresses |
|---|---|---|
| Fast, nothing blocked | Cloudflare or Google | 1.1.1.1, 8.8.8.8 |
| Malicious sites blocked | Quad9, or Cloudflare for Families | 9.9.9.9, 1.1.1.2 |
| Adult content blocked too | Cloudflare for Families, OpenDNS FamilyShield or AdGuard Family | 1.1.1.3, 208.67.222.123, 94.140.14.15 |
| Fewer ads and trackers | AdGuard DNS | 94.140.14.14 |
| Your own blocklists and logs | NextDNS or OpenDNS, with a free account | Your own, 208.67.222.222 |
Keep "automatic" DNS on work or school networks, hotel and airport Wi-Fi, and for a few provider TV services — their login pages and services may need their DNS. A family filter on the router covers every device, but a child can still get around it with a VPN, so use device parental controls too.
For gaming, the best DNS is the one that answers fastest from your connection, usually Cloudflare or Google. It speeds up sign-ins and downloads, but it does not lower your ping in a match.
Free vs paid DNS: what do you actually pay for?
Most public DNS is free, and free is enough for most people. Paid plans buy customization, logs, support and higher limits — not faster lookups.
NextDNS free covers 300,000 queries a month, with unlimited devices and all features. Past that it keeps answering as a plain DNS server, without filtering or logs, until the next month. Its Pro plan is from $1.99/month as of November 2026.
Control D and CleanBrowsing both offer paid plans with more control — check their pricing pages for current prices.
Do not pay for speed. No paid consumer DNS plan makes lookups meaningfully faster than the free resolvers. Pay when you need per-device rules, logs for a small team, or support — otherwise stay free.
Remember what DNS cannot do: changing DNS does not hide your IP address, does not encrypt your traffic, and does not block malware that arrives by other means. Pair it with the rest of your security, starting with the small business cybersecurity checklist.
The bottom line
Start with Cloudflare 1.1.1.1 for speed and privacy, or Quad9 9.9.9.9 if you want malicious sites blocked by default. Both are free, take two minutes to set, and work on any device.
Turn on encrypted DNS, confirm the change with a leak test, and live with it for a day. You can check which resolver your network is actually using with our free IP and DNS tools.
Frequently asked questions
What is the best public DNS server?
For most people, Cloudflare (1.1.1.1) or Google Public DNS (8.8.8.8): both are fast almost everywhere and filter nothing. Quad9 (9.9.9.9) is the best free choice if you also want known malicious sites blocked, and AdGuard DNS if you want ads blocked.
What is 1.1.1.1?
Cloudflare's free public DNS resolver. Its addresses are 1.1.1.1 and 1.0.0.1, with IPv6 2606:4700:4700::1111 and 2606:4700:4700::1001. The variants 1.1.1.2 and 1.1.1.3 also block malware, and adult content.
What are 8.8.8.8 and 8.8.4.4?
The two addresses of Google Public DNS, Google's free DNS resolver. Use both, one as primary and one as secondary. Its IPv6 addresses are 2001:4860:4860::8888 and 2001:4860:4860::8844.
Is public DNS safe?
The big public resolvers are run by well-known companies and non-profits and publish privacy policies. The resolver you use sees every site name you look up, so pick one you trust. Encrypted DNS hides the lookups from your network and your provider.
Is public DNS faster than my provider's DNS?
Often, but not always. A DNS lookup only happens at the start of a visit and is cached afterwards, so a faster resolver makes new sites open sooner but does not change your download speed. Measure from your own connection.
Does changing DNS hide my IP address?
No. Changing DNS does not hide your IP address or your location: websites still see your connection's address. For that you need a VPN. It only changes who resolves the names you look up.
What is the difference between DoH and DoT?
DNS over HTTPS (DoH, RFC 8484) sends DNS queries inside HTTPS, while DNS over TLS (DoT, RFC 7858) sends them over a dedicated TLS connection. Both encrypt lookups; DoH is easier to use in browsers, DoT is common on Android Private DNS.
Can I use a different DNS on my router?
Yes. Change it on the router to cover every device at home, or on one device in its network settings. Some provider routers do not allow it, so change it on each device instead.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against each provider's own documentation: Cloudflare, Google, Quad9, OpenDNS, AdGuard, NextDNS, Control D and CleanBrowsing. Control D and CleanBrowsing prices were not shown on the pages opened, so they are given as check the vendor site.
How we write and fact-check →