Before a browser can load a site, it usually needs to look up the address behind the site's name. DNS over HTTPS (DoH) lets desktop Firefox send those lookups to a DNS provider over an encrypted connection.

Firefox's default protection uses secure DNS where it is available. In Firefox 160, Custom lets you select the provider that receives Firefox's DNS lookups.

Work and school networks sometimes rely on their own DNS to resolve internal site names. If your network requires a particular resolver, use the settings your administrator provides.

Steps to enable DNS over HTTPS in Firefox:

  1. Open the application menu (☰) at the upper right of Firefox.
  2. Select Settings from the application menu.

    On macOS, Firefox → Settings in the menu bar opens the same page.

  3. Select Privacy and security in the Settings sidebar.
  4. Scroll the main pane down to DNS over HTTPS.
  5. Select Advanced settings under DNS over HTTPS.

    Firefox starts using the provider currently shown as soon as you select Custom. If sites stop resolving, restore your previous protection setting.

  6. Select Custom to enable DNS over HTTPS.

    With Always warn me if secure DNS isn’t available selected, Firefox can show a warning when it cannot reach the resolver or the resolver returns no address.

  7. Scroll down within Advanced settings until Choose provider is fully visible.
  8. Open the Choose provider list.
  9. Select NextDNS from the Choose provider list.

    The Custom entry is for a separate setup that requires a resolver URL.

  10. Reload the DNS over HTTPS settings page using the toolbar's reload button.
  11. Verify that the green DNS over HTTPS is using the provider status names the provider you selected.

    The status reads DNS over HTTPS is using the provider NextDNS when NextDNS is active. If the status is off or your provider is unavailable, see Mozilla's DNS over HTTPS help for connection and policy causes.

Share this guide