DEV Community

Kostas Vrouvas
Kostas Vrouvas

Posted on • Edited on

Enabling DNS-over-HTTPS (DoH) in Firefox & Chrome

What is DNS-over-HTTPS

DNS-over-HTTPS (DoH) sends the domain name you typed to a DoH-compatible DNS server using an encrypted HTTPS connection instead of a plain text one. This prevents third-parties from seeing what websites you are trying to access, hiding domain name lookups from someone lurking on public WiFi, your ISP, or anyone else on your local network.

How to enable it on Firefox

You can manually enable DNS-over-HTTPS from the Firefox settings:

  • Click the menu button and select Preferences.
  • In the General panel, scroll down to Network Settings and click the Settings… button. -In the dialog box that opens, scroll down to Enable DNS over HTTPS.

You can also select providers, between Cloudflare and NextDNS and, in case you are afraid about your personal data sniffed by these providers, Mozilla states that "...has a strong Trusted Recursive Resolver (TRR) policy in place that forbids CloudFlare or any other DoH partner from collecting personal identifying information. To mitigate this risk, our partners are contractually bound to adhere to this policy."

How to enable in Chrome

To enable DNS-over-HTTPS in Chrome, paste “chrome://flags/#dns-over-https” into the address bar and press Enter.

And then click relaunch. This will relaunch Chrome with your tabs.

Keep in mind that in Chrome, there is no option to select a provider. You will have to do it yourself at your routers' settings.

Top comments (0)