DNS-over-HTTPS in Mozilla Firefox

Use one of the following methods to configure for a secure browsing experience.

Preferences Menu

  1. Open Mozilla Firefox.

  2. In the menu, navigate to Tools > Preferences > General > Settings > Network Settings.

  3. Select Enable DNS over HTTPS.

  4. To set DNS resolver, choose one of the following options:

    (Default) Set Cloudfare.

    Set a custom DNS resolver.

Configuration Panel

  1. Open Mozilla Firefox.

  2. Type about:config in the URL bar.

  3. Search for network.ttr.mode and set one of the following values:

    2:Turns on DoH and keeps the regular DNS only as a backup.

    3: Turns on DoH with no regular DNS support.

  4. To set the domain name of the DNS resolver, search for network.ttr.uri and enter the following Cloudflare URI:

  5. (Optional). Search for network.ttr.bootstrapAddress and set up one of the IP addresses.

    Cloudfare: 1.1.1.1

    Google: 8.8.8.8

Last updated