User Agents

Web browsers and everyday web tech, explained

Enable DNS Over HTTPS in Every Major Browser

· 6 min read · How the Web Works

In this article
  1. What DNS over HTTPS Does
  2. How to Turn On DoH in Chrome and Edge
  3. How to Turn On DoH in Firefox
  4. How to Turn On DoH in Safari
  5. How to Turn On DoH in Opera and Brave
  6. Which DNS Provider Should You Choose?
  7. Common Problems and How to Fix Them
  8. Frequently Asked Questions
  9. Should You Enable DoH?

Yes, you can enable DNS over HTTPS (DoH) in every major browser — Chrome, Edge, Firefox, Safari, and Opera all include built-in DoH settings, though the steps and default behavior differ. This guide walks you through each browser’s current settings, explains what DoH actually does, and helps you decide whether to turn it on.

What DNS over HTTPS Does

When you type a website address, your device asks a DNS resolver to translate that name into an IP address. Normally, that request is sent in plain text, so anyone on the same Wi‑Fi network or your internet provider can see which sites you visit. DNS over HTTPS encrypts that query and sends it inside a normal HTTPS connection, so the request is hidden from eavesdroppers and harder for attackers to tamper with.

DoH does not hide your traffic from the DNS resolver itself — the company operating the resolver still sees your queries. It only protects the request in transit, and it prevents third parties on the network path from reading or modifying it.

How to Turn On DoH in Chrome and Edge

Google Chrome and Microsoft Edge use the same underlying settings because both are Chromium-based. In current desktop versions:

  1. Open Settings → Privacy and security → Security.
  2. Scroll to the Advanced section and find Use secure DNS.
  3. Toggle it on. By default, Chrome uses its own resolver, but you can choose a custom provider from the dropdown (e.g., Cloudflare, NextDNS, or a custom URL).

On mobile, Chrome for Android and iOS have a similar toggle under Settings → Privacy and security → Use secure DNS. Edge on Android follows the same path.

How to Turn On DoH in Firefox

Firefox has supported DoH since 2020 and now enables it by default for most users in the United States and Canada. To check or change the setting:

  1. Go to Settings → Privacy & Security.
  2. Scroll to DNS over HTTPS.
  3. Choose Increased Protection to use DoH with a fallback to normal DNS if the secure connection fails, or Max Protection to always use DoH and show an error if it cannot connect.
  4. Select a provider (default is Cloudflare, but NextDNS and Custom are available).

Firefox’s default behavior is “off” in some regions, so you may need to manually select a protection level. The Max Protection mode can break networks that rely on local DNS filtering, so use it only if you know your network works with DoH.

How to Turn On DoH in Safari

Safari does not have a DoH toggle in its own settings. Instead, it uses the DNS configuration of the operating system. On macOS and iOS, you can enable DoH by installing a configuration profile that sets a DNS-over-HTTPS server, or by using a third-party app that configures it. For most users, the simplest way is to use a DNS provider that offers a profile, such as Cloudflare or NextDNS, and install it from their website.

Once installed, the profile appears in System Settings → General → DNS on macOS, or Settings → General → VPN & Device Management on iOS. Safari will then send all DNS queries over HTTPS automatically.

How to Turn On DoH in Opera and Brave

Opera and Brave are also Chromium-based, so they follow the same pattern as Chrome:

  • Opera: Go to Settings → Privacy & security → Security → Use secure DNS.
  • Brave: Go to Settings → Privacy and security → Security → Use secure DNS.

Both offer a dropdown to choose a resolver, and both default to their own (Opera’s is provided by Opera, Brave’s by Cloudflare).

Which DNS Provider Should You Choose?

The provider you select sees all your DNS queries, so choose one you trust. Common options include Cloudflare (1.1.1.1), Google Public DNS (8.8.8.8), Quad9 (9.9.9.9), and NextDNS (which offers customizable filtering). If you already use a VPN or a parental-control service, check whether they have their own DoH resolver — using a different one may bypass their filtering.

For most people, the default provider in the browser is fine. If you want more control over blocking malware or adult content, NextDNS or Quad9 offer filtering options. If privacy is your main concern, any of the major public resolvers are acceptable — they all publish privacy policies and are widely audited.

Common Problems and How to Fix Them

DoH is generally reliable, but you may encounter a few issues:

  • Some websites break. If a site uses its own DNS-based load balancing or geo‑targeting, DoH may send your query to a resolver that returns a different IP than your ISP would. Switching to a different provider or turning off DoH for that site usually fixes it.
  • Network login pages (captive portals) don’t load. Airports, hotels, and coffee shops often require you to log in through a web page that uses DNS to redirect you. DoH can bypass that redirect. If you can’t connect, temporarily disable DoH until you’re on the network.
  • Your ISP’s parental controls stop working. If your ISP filters DNS, DoH will bypass those filters. If you rely on them, either keep DoH off or configure a resolver that applies the same filtering.
  • Performance may vary. In some regions, a remote DoH resolver can be slower than your ISP’s local DNS. Test with a tool like dig or an online speed test to compare.

Frequently Asked Questions

Does DNS over HTTPS slow down my internet?

Usually not. The encryption overhead is tiny, and many DoH providers have fast, globally distributed servers. In some cases, DoH can be slightly slower than a local ISP resolver, but the difference is rarely noticeable. If you see a big slowdown, try a different provider.

Is DNS over HTTPS the same as a VPN?

No. A VPN encrypts all your internet traffic and hides your IP address from websites. DoH only encrypts your DNS queries — it does not hide your browsing activity from your ISP, and websites can still see your IP address.

Will DoH stop my employer from seeing my browsing history?

No. If you are on a company network, the network administrator can still see the IP addresses you connect to, and they may use a proxy or firewall that intercepts HTTPS traffic. DoH only hides the DNS query from the network, not the actual connection.

How do I know if DoH is working?

You can check by visiting a site like 1.1.1.1/help or whoer.net, which will show whether your DNS is encrypted. In Chrome, you can also go to chrome://net-internals/#dns and look for “DoH” in the resolver list.

Does enabling DoH in my browser affect other apps on my phone?

No. Browser DoH only applies to that browser. Other apps still use the system DNS. To encrypt DNS for all apps, you need to enable DoH at the operating system level (as with Safari) or use a VPN that provides DoH.

Can I use DoH with a custom DNS server I run myself?

Yes. Most browsers allow you to enter a custom DoH URL in the provider settings. You would need to run a DNS server that supports DoH, such as Unbound or Pi‑hole with DoH enabled.

Should You Enable DoH?

For most home users, enabling DoH is a simple privacy upgrade with little downside. It prevents casual snooping on your DNS queries and adds a layer of protection against DNS spoofing. However, if you rely on your ISP’s DNS for parental controls or if you frequently use public Wi‑Fi with captive portals, you may want to keep it off or use a provider that matches your needs.

If you’re unsure, start with Chrome or Firefox’s default DoH settings — they are designed to fall back to normal DNS when something goes wrong, so you’ll rarely notice it’s there.