mirror of
https://github.com/Nexoniarz/nexoniarz-config-nixos-laptop.git
synced 2026-11-03 04:24:27 +00:00
Firefox: DNS-over-HTTPS through Quad9
network.trr.mode 2 with dns.quad9.net: DoH first, falling back to the system resolver (systemd-resolved over DNS-over-TLS), so lookups stay encrypted either way. Mode 5 had turned Firefox's DoH off entirely. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bc190454b6
commit
466df890c4
1 changed files with 7 additions and 3 deletions
|
|
@ -102,9 +102,13 @@ pref("browser.safebrowsing.downloads.remote.enabled", false);
|
||||||
|
|
||||||
/*** NETWORK ***/
|
/*** NETWORK ***/
|
||||||
|
|
||||||
// DNS: use the system resolver (systemd-resolved with DNS-over-TLS) and
|
// DNS-over-HTTPS through Quad9 (no logging, blocks known malware domains).
|
||||||
// never let Firefox switch itself to its own DNS-over-HTTPS provider.
|
// Mode 2: Quad9 first; if it fails, the system resolver (systemd-resolved,
|
||||||
pref("network.trr.mode", 5);
|
// itself DNS-over-TLS), so lookups are encrypted either way and pages don't
|
||||||
|
// break when Quad9 has a bad moment. Mode 3 would allow Quad9 only.
|
||||||
|
pref("network.trr.mode", 2);
|
||||||
|
pref("network.trr.uri", "https://dns.quad9.net/dns-query");
|
||||||
|
pref("network.trr.custom_uri", "https://dns.quad9.net/dns-query");
|
||||||
|
|
||||||
// No preloading pages or DNS you didn't ask for.
|
// No preloading pages or DNS you didn't ask for.
|
||||||
pref("network.dns.disablePrefetch", true);
|
pref("network.dns.disablePrefetch", true);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue