- Go to Menu ⇒ Prefereces (or visit
about:preferences
)- Scroll down to the Network Settings and press Settings button
- Check Enable DNS over HTTPS
- Choose a provider or set a custom one from the publicly available servers list
To edit the preference:
- double click it or click Edit (or Toggle, it depends) To save the preference:
- press Enter key or click Save To revert changes
- Visit
about:config
- Search for
network.trr.uri
preference- Set a preferred DNS resolver, e.g. https://mozilla.cloudflare-dns.com/dns-query for CloudFlare. Use the publicly available servers list for other providers
- Search for
network.trr.mode
preference- Set it to one of the following:
- 2 – Try TRR first, and use native resolver as a fallback (recommended)
- 3 — Only use TRR (see v.73 and v.74 notes)
- 0 — TRR off, default
- 5 — TRR off by choice, the same as 0, but set explicitly
- Set it to one of the following:
- Search for
- Search for
network.security.esni.enabled
preference- Set it to
true
- Set it to
Encrypted Client Hello: the future of ESNI in Firefox
Still available in Firefox ESR.
Set
- network.dns.echconfig.enabled ⇒ true
- network.dns.use_https_rr_as_altsvc ⇒ true
Coudflare test One more way to test
Sources: