Skip to content

Instantly share code, notes, and snippets.

@navhaxs
Created July 10, 2026 07:35
Show Gist options
  • Select an option

  • Save navhaxs/ae1eea488ef069901b083c9ffc582831 to your computer and use it in GitHub Desktop.

Select an option

Save navhaxs/ae1eea488ef069901b083c9ffc582831 to your computer and use it in GitHub Desktop.
Disable-DoH-Browsers.reg
Windows Registry Editor Version 5.00
; ============================================================
; Disable DNS-over-HTTPS (DoH) via Group Policy registry keys
; ============================================================
; --- Google Chrome ---
; DnsOverHttpsMode "off" disables DoH entirely and is locked as a managed policy
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"DnsOverHttpsMode"="off"
"DnsOverHttpsTemplates"=""
; --- Microsoft Edge (Chromium) ---
; Same policy model as Chrome
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"DnsOverHttpsMode"="off"
"DnsOverHttpsTemplates"=""
; --- Mozilla Firefox ---
; Enabled=0 turns DoH off; Locked=1 prevents users from re-enabling it in settings
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox\DNSOverHTTPS]
"Enabled"=dword:00000000
"Locked"=dword:00000001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment