1. Home
  2. How To Guides
  3. Configure DNS-over-HTTPS (DOH) (Firefox)

Configure DNS-over-HTTPS (DOH) (Firefox)

DNS-over-HTTPS (DoH) is a new DNS protocol that enhances security and privacy by encrypting DNS requests using the HTTPS protocol. This prevents Man-in-the-Middle (MiTM) attacks and bypasses local DNS restrictions. Follow this guide to configure DoH in Mozilla Firefox for optimal security and privacy.

Steps to Enable DNS-over-HTTPS in Firefox

  1. Open Firefox: Launch your Firefox browser.
  2. Access Preferences: Type about:preferences in the address bar and press Enter.
  3. Navigate to Network Settings: Scroll down to the “Network Settings” section.
  4. Open Network Settings: Click on the “Settings” button.
  5. Enable DNS-over-HTTPS: Check the box next to “Enable DNS over HTTPS.”
  6. Select Custom Provider: Choose “Custom” from the drop-down menu.
  7. Enter DoH URL: Input the CleanBrowsing DoH URL (e.g., https://doh.cleanbrowsing.org/doh/family-filter/).
  8. Advanced Configuration (Optional but Recommended):
    • Type about:config in the address bar and press Enter.
    • Update the following configuration properties:
      • Set network.trr.mode to 2.
      • Set network.trr.bootstrapAddress to 185.228.168.10.
    • Verify the following properties are set correctly:
      • network.trr.custom_uri should be your DoH URL.
      • network.trr.uri should also be your DoH URL.
  9. Clear Cache and Restart Browser:

Illustrations for Configuration

Preferences Page:

Navigate to about:preferences and scroll to the network settings section.

Enable DoH:

Check the box for “Enable DNS over HTTPS” and select “Custom.”

Input DoH URL:

Enter your DoH URL in the provided input box.

Advanced Settings:

Navigate to about:config and update the specified properties.

Update these properties:

  • network.trr.mode to 2
  • network.trr.bootstrapAddress to 185.228.168.10

Verify these properties:

  • network.trr.custom_uri
  • network.trr.uri

Configuring DNS-over-HTTPS in Firefox ensures that your DNS queries are secure and private. Follow these steps to enhance your online privacy and protect against potential threats.

By following this guide, you can leverage the benefits of DoH and ensure your browsing experience is both secure and private.

Updated on August 7, 2024
Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support