How to enable DNS over HTTPS in Firefox

Below is a guide for enabling DNS over HTTPS in Firefox on macOS/Windows

DNS over HTTPS is a protocol for performing remote Domain Name System resolution via the HTTPS protocol. A goal of the method is to increase user privacy and security by preventing eavesdropping and manipulation of DNS data by man-in-the-middle attacks by using the HTTPS protocol to encrypt the data between the DoH client and the DoH-based DNS resolver.


  • Open Firefox
  • Click on the Menu Button located top right

  • Select Options (if using Windows) or Preferences (if on macOS)

  • Scroll down to the bottom to the section named Network Settings and click on the Settings button

  • Click in the check box labeled Enable DNS over HTTPS. You can also click OK now to save the settings but if you want to change the default provider - which is Cloudflare - then you can click on the drop down box, select Custom and enter your own details. For most just leaving it as Cloudflare is the best option

You can opt-out of Analytics from Google by using the following link