Set up encrypted DNS on every platform

Short answer: the two easiest starts are Android’s Private DNS (type a hostname, done) and a provider’s signed profile on iPhone or Mac. On Windows 11 the DNS-over-HTTPS option lives in the network settings, with an extra step for less-known resolvers. Firefox and Chrome can do it per-browser, and a router can cover a whole household.

Before you start: pick a provider from our providers page. The examples below use Quad9; swap in the endpoint of your chosen provider.

Android (Private DNS)

Android 9 and later support encrypted DNS system-wide via “Private DNS”, which uses DoT and takes a hostname rather than a URL:

  1. Open Settings, then Network & internet (or Wi-Fi & network, depending on your phone).
  2. Tap Private DNS — you may need to expand “Advanced” first.
  3. Choose Private DNS provider hostname and enter dns.quad9.net.
  4. Save. To check it worked, some providers (such as Quad9, via its Connect app) offer a status check, or use a DNS-leak test site in your browser.

All apps and browsers on the phone now use the encrypted resolver.

Windows 11

Windows supports DNS-over-HTTPS for the whole system, but only for resolvers on Microsoft’s list of “known” DoH servers — by default Cloudflare, Google and Quad9:

  1. Open Settings, then Network & internet.
  2. Choose your connection type (Wi-Fi or Ethernet) and open your connected network’s properties.
  3. Beside DNS server assignment, choose Edit, then Manual.
  4. Turn on IPv4 and enter 9.9.9.9 as preferred and 149.112.112.112 as alternate DNS server (add the IPv6 addresses too if you use IPv6).
  5. In the dropdown beneath each address, set DNS over HTTPS to On (automatic template) or On (manual template).
  6. Save.

If your chosen provider is not recognised (the encryption dropdown stays greyed out), register it once in PowerShell using Microsoft’s Add-DnsClientDohServerAddress command with the provider’s IP address and DoH template, then repeat the steps above — see the Microsoft Learn article in the sources for the exact syntax. Browser-level DNS (below) is the simpler route in that case.

iPhone, iPad and macOS (signed profiles)

Apple devices support encrypted DNS through configuration profiles. Apple does not provide a built-in screen for creating them, so download a signed profile from your provider — Quad9, AdGuard and Control D all publish signed iOS and macOS profiles, which show a “Verified” label:

  1. On the device, visit your provider’s setup page and download its iOS or macOS profile.
  2. Open Settings; a “Profile Downloaded” entry appears near the top. Tap it.
  3. Tap Install and follow the prompts (on Mac: System Settings → Profiles).
  4. Once installed, the encrypted resolver is used system-wide; select it in Settings → General → VPN & Device Management if prompted.

Lockdown Mode note: while Lockdown Mode is enabled, configuration profiles cannot be installed. You would need to turn Lockdown Mode off, install the profile, then turn it back on.

Firefox

Firefox has full DoH controls — but note it is not switched on by default in the UK. Mozilla has only rolled out default-on DoH in the United States, Canada, Russia and Ukraine, so UK users must enable it themselves:

  1. Open Settings (Menu → Settings), choose Privacy & Security.
  2. Scroll to DNS over HTTPS and set it to Max Protection (DoH always, with an error if the resolver fails) or Default Protection (DoH first, falls back to the system resolver — weaker, because a filter can intercept the fallback).
  3. Choose your provider from the list, or “Custom” and paste the DoH endpoint (for Quad9: https://dns.quad9.net/dns-query).

Firefox also uses ECH automatically where sites support it — see our ECH page.

Chrome (and Edge, Brave, other Chromium browsers)

Chrome’s setting is called Use secure DNS (Settings → Privacy and security → Security). Its default “automatic” mode has an honest caveat: Chrome only upgrades your lookups to encrypted DNS if the network’s current DNS provider is on its known-DoH list — otherwise everything stays unencrypted, silently. So choose a provider explicitly:

  1. Open Settings → Privacy and security → Security.
  2. Scroll to Use secure DNS and turn it on.
  3. Select With: and pick your provider from the dropdown (Cloudflare and Quad9 are listed), or choose the custom option and paste the DoH endpoint.

Remember this protects that browser only — other apps still use the system’s DNS.

Router level (covers every device)

Setting encrypted DNS on the router protects consoles, smart TVs and anything that cannot be configured individually. Ordinary ISP routers usually only offer plain DNS addresses, which is not encrypted DNS. Firmware that supports DoH/DoT includes OpenWrt (via the HTTPS DNS proxy packages) and OPNsense, both of which have official documentation for configuring encrypted upstream resolvers — see their docs for current steps. Note that browser-level settings can override the router for that browser, and iOS/macOS profiles or Android Private DNS override it per device; decide which layer you want in charge.

Check it worked

Open a site that your provider would normally filter (for example, a domain on your broadband filter’s block list) — if it loads where it used to show the ISP’s block page, your lookups are going elsewhere. A DNS-leak test site should show your chosen resolver, not your ISP’s.

What this does NOT protect you from

Sources

  1. Microsoft Learn — Secure DNS Client over HTTPS (DoH) on Windows (accessed 1 Dec 2026).
  2. Privacy Guides — DNS Overview and DNS Resolvers (accessed 1 Dec 2026).
  3. Mozilla — About DNS over HTTPS support documentation (accessed 1 Dec 2026).
  4. Chromium project — DNS over HTTPS (aka DoH) (accessed 1 Dec 2026).
  5. Quad9 — Service Addresses & Features (accessed 1 Dec 2026).
  6. Apple — About Lockdown Mode (accessed 1 Dec 2026).