Best lists

7 Best DNS over HTTPS Providers in 2026 (Free & Private)

DNS over HTTPS encrypts your DNS lookups so your ISP and anyone on your network can't see which sites you visit. Here are the seven best DoH providers, free and paid, with their real trade-offs.

Cysoro Security TeamPublished · 11 min read
BEST LISTS DNS over HTTPS 7 private resolvers compared — free & fast 1.1.1.1 · 9.9.9.9 · 8.8.8.8 CYSORO.COM
Quick answer

The best DNS over HTTPS provider for most people is Cloudflare 1.1.1.1, because it is free, the fastest public resolver in most regions, and its logs are purged within 24 hours under a KPMG-audited privacy policy. Choose Quad9 (9.9.9.9) instead if you want built-in malware and phishing blocking from a Swiss nonprofit that logs no IP addresses, or NextDNS if you want customizable ad and tracker blocking.

Key takeaways

  • DNS over HTTPS encrypts your DNS lookups inside normal HTTPS traffic, hiding them from your ISP and anyone on your local network.
  • Cloudflare is fastest, Quad9 blocks malware by default, and NextDNS is the most customizable — all three are free to start.
  • DoH hides your lookups, not your IP address or the sites you connect to — pair it with a VPN if you need full traffic privacy.

Every website you visit starts with a DNS lookup — your device asking which IP address belongs to that domain name. By default that lookup is sent in plain text, so your internet provider, your employer, or anyone on the same public Wi-Fi can see every site you visit and even redirect you to a fake one. DNS over HTTPS fixes that by encrypting the lookup.

What is DNS over HTTPS?

DNS over HTTPS (DoH) sends your DNS queries inside an encrypted HTTPS connection, exactly like ordinary web traffic. It is defined in RFC 8484, published by the IETF in October 2018, and it is now built into Firefox, Chrome, Edge, Android, iOS and most modern routers.

Without DoH, a DNS query is a plain-text question sent over UDP port 53. Anyone on the path can read it, log it, block it or answer it with a lie — sending you to a phishing copy of your bank instead of the real site. With DoH, the query travels inside TLS on port 443, so observers see only an encrypted connection to your DNS provider.

DoH does not make you anonymous. Your DNS provider still sees every domain you look up, your ISP still sees the IP addresses you connect to, and the site name is often visible in the TLS handshake. Think of DoH as sealing the envelope, not changing the address on it.

How does DNS over HTTPS work?

Your device sends each DNS query as an HTTP request — a GET or POST — to your provider's DoH endpoint, such as Cloudflare's https://cloudflare-dns.com/dns-query or Quad9's https://dns.quad9.net/dns-query. The provider answers over the same encrypted connection, and your browser or operating system caches the result.

Because DoH traffic looks like ordinary HTTPS, it passes through firewalls and captive portals that would block the dedicated DNS-over-TLS port 853. That is also why it is controversial in some workplaces: a device using DoH can bypass the content filtering and logging that a company or school applies at the DNS layer.

Most browsers now enable DoH by default or offer it as a one-click setting. Firefox was first, shipping DoH by default in the US in 2020; Chrome and Edge followed with opportunistic DoH that upgrades to encryption when the configured resolver supports it.

Plain DNS vs DNS over HTTPS Plain DNS (port 53, no encryption) Your device asks: "Where is mybank.com?" — in plain text. Anyone on the path can read, log, block or fake the answer. DNS over HTTPS (port 443, TLS-encrypted) The same question travels inside an encrypted HTTPS connection. Observers see only encrypted traffic to your DNS provider.
DoH seals the envelope; it does not change who delivers the mail. Illustration by Cysoro.

The 7 best DNS over HTTPS providers in 2026

Every provider below supports DoH, is free to start, and is run by an organization with a published privacy policy. We ranked them on speed, privacy, blocking capability and ease of setup — not on marketing claims.

ProviderBest forDoH endpointPriceMalware blocking
Cloudflare 1.1.1.1Speed and privacycloudflare-dns.com/dns-queryFreeOptional (1.1.1.2)
Quad9Security and privacydns.quad9.net/dns-queryFreeYes, by default
Google Public DNSReliabilitydns.google/dns-queryFreeNo
NextDNSCustom filteringCustom per accountFree to 300k queries/mo, then $1.99/moYes, configurable
OpenDNSFamily filteringdoh.opendns.com/dns-queryFree (Home), paid plansYes, with filtering
AdGuard DNSAd and tracker blockingdns.adguard-dns.com/dns-queryFree, paid plansYes, plus ads
CleanBrowsingFamily safetydoh.cleanbrowsing.org/doh/family-filter/Free, paid plansYes, plus adult content

1. Cloudflare 1.1.1.1 — best overall for speed and privacy

Cloudflare launched 1.1.1.1 in April 2018 as a privacy-first public resolver, and it remains the fastest public DNS resolver in most global benchmarks, with an anycast network spanning hundreds of cities. Its DoH endpoint is https://cloudflare-dns.com/dns-query, and it also supports DNS over TLS and DNS over QUIC.

  • Key features: DoH, DoT and DoQ support, DNSSEC validation, 1.1.1.2 variant that blocks malware, 1.1.1.3 family variant that also blocks adult content, WARP app for mobile.
  • Privacy: Cloudflare commits to purging query logs within 24 hours, never sells query data, and submits its 1.1.1.1 privacy practices to annual KPMG audits.
  • Cons: US company subject to US legal process; the default 1.1.1.1 resolver blocks nothing, so you must switch to 1.1.1.2 for malware protection.

Pricing: free. Pick it if: you want the fastest resolver with a strong, audited privacy policy and no account or setup beyond changing one setting.

2. Quad9 — best for security and privacy

Quad9 is a Swiss nonprofit founded by IBM, Packet Clearing House and the Global Cyber Alliance. Its default resolver at 9.9.9.9 blocks known-malicious domains automatically, using threat intelligence from more than a dozen partners, and it operates from more than 183 locations in 90 nations, according to Quad9.

  • Key features: malware and phishing blocking by default, DoH at https://dns.quad9.net/dns-query, DoT on port 853, DNS over QUIC and DNS over HTTP/3 since March 2026, DNSSEC validation.
  • Privacy: Quad9 stores no IP addresses and no personal data, sends no EDNS Client Subnet data, and is governed by Swiss data-protection law.
  • Cons: slightly slower than Cloudflare in some regions; blocking can occasionally flag a legitimate site, though an unfiltered variant (9.9.9.10) exists.

Pricing: free. Pick it if: you want security and privacy weighted equally and you like the idea of a nonprofit with no commercial reason to monetize your data.

3. Google Public DNS — best for reliability

Google Public DNS (8.8.8.8) is the most widely used public resolver in the world, running on Google's global infrastructure. Its DoH endpoint is https://dns.google/dns-query. It validates DNSSEC and is the resolver most likely to be already supported by every device and network you own.

  • Key features: DoH and DoT support, DNSSEC validation, IPv6 support, enormous global capacity and uptime.
  • Privacy: Google states that it purges identifying logs within 24 to 48 hours, but it is a US advertising company, so privacy-conscious users usually prefer Cloudflare or Quad9.
  • Cons: no malware blocking, no content filtering, and the weakest privacy story on this list.

Pricing: free. Pick it if: reliability and compatibility matter most, for example on a network where other resolvers behave oddly.

4. NextDNS — best for custom filtering and control

NextDNS is the most flexible provider on this list. You get a personal DoH endpoint and a dashboard where you choose blocklists for ads, trackers, malware, social media and more, plus per-device profiles, analytics and parental controls. It supports DoH, DoT, DNS over QUIC and DNSCrypt.

  • Key features: customizable blocklists, analytics and query logs you control, per-device configuration, parental controls, support for all modern encrypted DNS protocols.
  • Privacy: logging is configurable, from zero retention to two years, and you can choose which data center region handles your queries.
  • Cons: the free tier caps at 300,000 queries per month, which a busy household can exceed; it is a US company.

Pricing: free up to 300,000 queries per month, then $1.99 per month. Pick it if: you want Pi-hole-style control without running your own server.

5. OpenDNS — best for family content filtering

OpenDNS, owned by Cisco, is the oldest name in public DNS filtering. Its Home service offers customizable content filtering by category — adult content, gambling, social media and more — and its DoH endpoint is https://doh.opendns.com/dns-query. It also validates DNSSEC.

  • Key features: category-based web filtering, phishing protection, customizable block and allow lists, dashboard reporting.
  • Privacy: Cisco's privacy policy applies; OpenDNS is a commercial service and its free tier is the entry point to paid Umbrella plans for businesses.
  • Cons: DoH support is less prominent than Cloudflare or Quad9; the most useful features sit behind paid plans.

Pricing: free for Home; paid Umbrella plans for businesses. Pick it if: you need category filtering for a family network and want a brand that has done it for over a decade.

6. AdGuard DNS — best for ad and tracker blocking

AdGuard DNS blocks ads, trackers and malicious domains at the DNS layer, so pages load faster and cleaner on every device, including smart TVs that cannot run an ad blocker. Its DoH endpoint is https://dns.adguard-dns.com/dns-query, and it offers both a default and a family-protection variant.

  • Key features: ad and tracker blocking, malware and phishing protection, family protection variant, DoH, DoT, DoQ and DNSCrypt support.
  • Privacy: AdGuard states a no-logging policy for its public DNS and publishes its privacy policy; it is based in Cyprus.
  • Cons: aggressive ad blocking can occasionally break a site; the free tier has usage limits and advanced controls need a paid plan.

Pricing: free tier available; paid plans add more queries and controls. Pick it if: you want system-wide ad blocking without installing anything on each device.

7. CleanBrowsing — best for family safety

CleanBrowsing is a filtering-first DNS service built for families and schools. Its free family filter blocks adult content, malware and phishing, and it offers security and adult-content filters as separate DoH endpoints. Paid plans add custom filtering, reporting and per-device controls.

  • Key features: pre-configured family, adult and security filters, DoH and DoT support, DNSSEC validation, paid plans with custom allow and block lists.
  • Privacy: CleanBrowsing states that it does not sell user data and offers a free tier without an account.
  • Cons: slower than Cloudflare or Google in some regions; the free tier is filter-only, with no customization.

Pricing: free family filter; paid plans from a few dollars per month. Pick it if: you want a set-and-forget family filter on your home router.

How do I choose a DNS over HTTPS provider?

Start with what you want the resolver to do for you. If the answer is simply "encrypt my lookups as fast as possible", pick Cloudflare. If you want malicious sites blocked before your browser ever connects, pick Quad9. If you want to block ads and trackers too, pick NextDNS or AdGuard DNS.

Then check the privacy policy, because your DNS provider sees every domain you visit. Look for three things: whether it logs IP addresses, how long it keeps logs, and which country's laws govern it. A nonprofit under Swiss law and a US company with an audited 24-hour purge are both defensible — but they are different promises, and you should know which one you are accepting.

Finally, measure speed from your own connection. Global averages hide local differences: the fastest resolver in a benchmark may not be the fastest from your ISP. Try each finalist for a day and keep the one that feels fastest. Our free DNS lookup tool can show you what your current resolver returns for any domain.

Which DoH provider fits you? Want maximum speed? Pick Cloudflare 1.1.1.1 — free, fastest in most regions Want malware blocked? Pick Quad9 9.9.9.9 — Swiss nonprofit, no IP logging Want custom control? Pick NextDNS — blocklists, analytics, per-device profiles Families: OpenDNS or CleanBrowsing. Reliability first: Google Public DNS.
Match the provider to your priority, not to a benchmark alone. Illustration by Cysoro.

How do I enable DNS over HTTPS?

In Firefox, open Settings, go to Privacy and Security, scroll to DNS over HTTPS, and choose a provider or enter a custom URL. In Chrome and Edge, open Settings, go to Privacy and security, then Security, and turn on "Use secure DNS" — you can pick your provider from the list or enter a custom DoH endpoint.

For whole-network protection, enable encrypted DNS on your router instead. Many Asus, pfSense, OpenWrt and MikroTik routers support DoT or DoH directly; enter your provider's endpoint or IP addresses and every device on the network is covered, including gadgets with no DNS settings of their own.

After enabling it, verify it worked. Quad9 offers a simple check: visit on.quad9.net in your browser, or run dig +short txt proto.on.quad9.net and look for a response of doh. If you see plaintext instead, your setting did not take effect. See our guide to securing your Wi-Fi for the rest of the home-network checklist.

DNS over HTTPS vs DNS over TLS: what's the difference?

Both protocols encrypt DNS queries, and both stop passive snooping and tampering. The difference is transport: DoH wraps queries in HTTPS on port 443, while DoT uses a dedicated TLS connection on port 853. DoH blends in with web traffic and is hard to block; DoT is easier for a network administrator to identify, allow or block on purpose.

DNS over HTTPSDNS over TLS
Port443 (HTTPS)853 (dedicated)
Blends with web trafficYesNo
Easy to blockHardEasy
Browser supportBuilt into all major browsersMostly OS and router level
StandardRFC 8484RFC 7858
Best forIndividuals, restrictive networksManaged networks, routers

For most people, DoH is the right choice because browsers support it natively. For a router or a managed network where the administrator wants to see and control DNS traffic, DoT is the cleaner option. Either is far better than plain DNS.

What does DNS over HTTPS not protect?

DoH hides your DNS lookups, but it does not hide everything else. Your ISP can still see the IP addresses you connect to, and on many websites the hostname is still visible in the TLS handshake through Server Name Indication (SNI). Encrypted Client Hello (ECH) closes part of that gap, but support is still limited.

DoH also does not stop phishing by itself. A phishing site with a valid certificate still loads fine over HTTPS — the DNS lookup was encrypted, but the destination was still malicious.

That is why Quad9's malware blocking matters: it refuses to resolve known-bad domains at all, which stops the connection before it starts.

Finally, DoH shifts trust rather than removing it. Instead of trusting your ISP with your lookups, you trust Cloudflare, Quad9 or Google. Read the privacy policy, check the jurisdiction, and pick a provider whose incentives align with yours.

What mistakes should you avoid with encrypted DNS?

The most common mistake is assuming DoH makes you anonymous. It does not. If you need to hide your traffic from your ISP or bypass censorship, use a reputable VPN — and check for leaks with our WebRTC leak test after connecting.

Other mistakes to avoid:

  • Enabling DoH in the browser but not the OS. Apps outside the browser still use plain DNS unless the operating system or router is configured too.
  • Picking a provider and never verifying it. A typo in the endpoint URL can silently fall back to plain DNS.
  • Ignoring the filtering trade-off. A resolver that blocks malware is safer, but it can also block a legitimate site your business needs. Know how to switch to the unfiltered variant.
  • Forgetting work networks. Some employers require their own DNS for security monitoring. Check your acceptable-use policy before overriding it.

The bottom line

For most people, Cloudflare 1.1.1.1 is the best DNS over HTTPS provider: free, fastest in most regions, and backed by an audited 24-hour log purge. If you want malware blocking and the strongest privacy story, Quad9 is the better pick. If you want to block ads and trackers your way, NextDNS is worth its $1.99 per month.

Whichever you choose, enabling DoH takes two minutes and removes one of the easiest ways for networks to watch or manipulate your browsing. Check what your current setup reveals with the free what-is-my-IP tool, then switch and verify.

Frequently asked questions

What is DNS over HTTPS?

DNS over HTTPS, or DoH, sends your DNS queries inside an encrypted HTTPS connection instead of plain text. It is defined in RFC 8484. Your lookups can no longer be read or tampered with by anyone on the network path, such as a public Wi-Fi operator or your ISP.

Is DNS over HTTPS free?

Yes, all the major DoH providers offer a free tier. Cloudflare 1.1.1.1, Quad9, Google Public DNS, OpenDNS, AdGuard DNS and CleanBrowsing are free for personal use. NextDNS is free up to 300,000 queries per month and costs $1.99 per month after that.

Does DNS over HTTPS hide my browsing from my ISP?

It hides your DNS lookups, which is the list of domain names you ask for. It does not hide your IP address or the IP addresses of the sites you connect to, and on many sites the hostname is still visible in the TLS handshake. For full traffic privacy you need a VPN as well.

What is the difference between DNS over HTTPS and DNS over TLS?

Both encrypt DNS queries. DNS over HTTPS sends them inside HTTPS traffic on port 443, so they blend in with normal web browsing and are hard to block. DNS over TLS uses a dedicated port, 853, which is easier for a network to identify and block. DoH is the better choice on restrictive networks.

Which DNS over HTTPS provider is the most private?

Quad9 is the strongest on privacy among the free providers: it is a Swiss nonprofit, it stores no IP addresses, and it is governed by Swiss data-protection law. Cloudflare is also strong, with logs purged within 24 hours and annual KPMG audits, but it is a US company subject to US legal process.

Can I use DNS over HTTPS on my router?

Many modern routers support encrypted DNS, including Asus, pfSense, OpenWrt and MikroTik, and browsers such as Firefox and Chrome support DoH directly. Setting it at the router protects every device on your network, including smart TVs and IoT gadgets that cannot configure DNS themselves.

Does DNS over HTTPS slow down my internet?

Usually not noticeably. Encrypted DNS adds a small amount of overhead, but the fastest public resolvers answer in roughly 25 to 30 milliseconds, which is often faster than a slow ISP resolver. If your connection feels slower after switching, try a different provider or measure with a DNS benchmark tool.

Sources

  1. IETF — RFC 8484: DNS Queries over HTTPS (DoH)
  2. Quad9 — Service overview
  3. Quad9 — Frequently Asked Questions
  4. Cloudflare — DNS over HTTPS endpoint
  5. Google Public DNS — DNS over HTTPS endpoint
Written & fact-checked byCysoro Security Team

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.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against RFC 8484, Quad9's service and FAQ pages, and the Cloudflare and Google Public DNS over HTTPS endpoints.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free