TL;DR — Quick Summary

Enable DNS over HTTPS (DoH) to encrypt DNS queries and prevent ISP snooping. Step-by-step setup for Windows 11, macOS, Firefox, Chrome, and custom DNS providers like Cloudflare and Quad9.

Why DNS over HTTPS?

Your ISP sees every domain you visit through DNS queries. DoH encrypts them:

  • Encrypted queries — ISP can’t see your DNS lookups.
  • Uses port 443 — Looks like normal HTTPS, hard to block.
  • Fast — Cloudflare and Google DoH are faster than most ISP DNS.
  • Built into browsers — Firefox and Chrome support it natively.

Setup by Platform

Windows 11

  1. Settings > Network & Internet > Wi-Fi (or Ethernet).
  2. Click your connection > DNS server assignment > Edit.
  3. Set Preferred DNS to 1.1.1.1.
  4. Under DNS over HTTPS, select On (manual template).
  5. Set Alternate DNS to 1.0.0.1.

macOS

macOS doesn’t have a native DoH toggle. Options:

# Option 1: Install dnscrypt-proxy
brew install dnscrypt-proxy
# Edit /usr/local/etc/dnscrypt-proxy.toml to use DoH servers
sudo brew services start dnscrypt-proxy

# Option 2: Install Apple configuration profile for Cloudflare DoH
# Download from https://1.1.1.1/dns/ and install the .mobileconfig

Firefox

  1. Settings > Privacy & Security > scroll to DNS over HTTPS.
  2. Select Max Protection.
  3. Choose provider: Cloudflare (default) or Custom.

Chrome / Edge

  1. Settings > Privacy and Security > Security.
  2. Toggle Use secure DNS.
  3. Select Cloudflare (1.1.1.1) or custom.

DNS Provider Comparison

ProviderPrimarySecondaryDoH URLFeatures
Cloudflare1.1.1.11.0.0.1https://cloudflare-dns.com/dns-queryFastest, privacy-first, no logging
Google8.8.8.88.8.4.4https://dns.google/dns-queryReliable, wide availability
Quad99.9.9.9149.112.112.112https://dns.quad9.net/dns-queryBlocks malware domains
NextDNSCustomCustomhttps://dns.nextdns.io/IDCustom filtering, ad blocking
AdGuard94.140.14.1494.140.15.15https://dns.adguard-dns.com/dns-queryAd + tracker blocking

DoH vs DoT vs Plain DNS

FeaturePlain DNSDNS over TLS (DoT)DNS over HTTPS (DoH)
EncryptionNoneTLSHTTPS
Port53853443
Blockable?No (needed)Yes (port 853)Hard (blends with HTTPS)
Browser supportN/AN/AFirefox, Chrome, Edge
ISP can see queriesYesNoNo
Best forLegacyEnterprise controlPrivacy

Troubleshooting

ProblemSolution
DNS resolution slower after DoHTry a different provider; Cloudflare is usually fastest
Corporate network blocks DoHIT may require plain DNS for monitoring; use DoT as compromise
Some sites not resolvingQuad9 blocks malware domains by default; switch to Cloudflare for unfiltered
Can’t verify DoH is workingVisit 1.1.1.1/help to check if DoH is active

Summary

  • Encrypt your DNS to prevent ISP snooping.
  • Windows 11 + Firefox + Chrome have built-in DoH support.
  • Cloudflare 1.1.1.1 is the fastest and most private provider.
  • Combine with a VPN for complete traffic privacy.