- Download Group Policy templates for your Firefox version here
- Copy *.admx files to C:\Windows\PolicyDefinitions
- Copy *.adml files to from en-US to C:\Windows\PolicyDefinitions\en-US (or other language folder if applicable and available)
- Launch gpedit.msc (gpedit.msc is not available on Home versions of Windows, if you have that, I recommend using third party Group Policy editor like PolicyPlus)
- Navigate to Computer Configuration -> Administrative Templates -> Mozilla -> Firefox -> DNS Over HTTPS
- “Enabled” -> Disabled; “Locked” -> Enabled.
Recently I upgraded my Huawei B525s-23a 4G router’s firmware (new software version 81.191.13.00.1134, Web UI version 81.100.31.02.1134) only to find out the trick to change DNS servers has stopped working:
After a brief inspection with browser’s developer console, worry not, DNS settings are still here (it’s Huawei, so they are hidden of course); to show the settings navigate to Router -> DHCP, press F12 and enter this into developer’s console:
Press enter, and the settings are back:
Tested with Firefox, Chrome and Chromium based Edge.