DNS-over-HTTPS in Mozilla Firefox

Configure for secure browsing experience.

Preferences Menu

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

  2. Select Enable DNS over HTTPS.

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

    (Default) Set Cloudfare.

    Set a custom DNS resolver.

Configuration Panel

  1. Type about:config in the URL bar.

  2. 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.

  3. Search for network.ttr.uri to set the domain name of the DNS resolver.

  4. (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