-
Create a file called local-setting.js into /lib/firefox-esr/defaults/pref
Copy and paste the following:
pref("general.config.obscure_value", 0); // only needed if you do not want to obscure the content with ROT-13
pref("general.config.filename", "mozilla.cfg"); -
Create a file called Mozilla.cfg into /lib/firefox-esr
Copy and paste the following into the file:
// IMPORTANT: Start your code on the 2nd line
lockPref("network.proxy.type", 5)
lockPref("network.proxy.no_proxies_on", "")
lockPref("network.proxy.socks_remote_dns", false)
lockPref("network.trr.mode", 5)
This is good if you are an administrator and want non admin. users from turning on Firefox DOH. Only lockPref("network.trr.mode", 5) is needed in the above code to turn off DOH. The rest are for other network settings in Firefox.