Prevent Google Chrome from bypassing CleanBrowsing DNS by disabling Secure DNS, deploying enterprise policy templates, and restricting extensions.
Google Chrome includes a built-in Secure DNS feature (DNS-over-HTTPS) that can bypass your network's DNS settings. When enabled, Chrome encrypts DNS queries and sends them directly to a provider like Google or Cloudflare, bypassing CleanBrowsing entirely.
Chrome also allows users to install extensions that can act as VPNs or proxies, providing another way to circumvent DNS-based content filtering. Hardening Chrome ensures your filtering remains effective.
Google provides ADMX/ADML administrative templates for managing Chrome via Group Policy.
Deploy the policy files to your Windows system:
:: Copy ADMX file to PolicyDefinitions
copy chrome.admx C:\Windows\PolicyDefinitions\
:: Copy ADML language file
copy chrome.adml C:\Windows\PolicyDefinitions\en-US\
Alternatively, you can use the legacy ADM format:
gpedit.msc, press Enterchrome.adm fileAfter installation, a Google Chrome section should appear under Administrative Templates.
In the Group Policy Editor:
Alternative: Force CleanBrowsing DoH
Instead of disabling DoH, you can force Chrome to use CleanBrowsing's DoH endpoint for encrypted, filtered DNS:
https://doh.cleanbrowsing.org/doh/family-filterAvailable CleanBrowsing DoH endpoints:
https://doh.cleanbrowsing.org/doh/family-filterhttps://doh.cleanbrowsing.org/doh/adult-filterhttps://doh.cleanbrowsing.org/doh/security-filterChrome has its own DNS resolver that can bypass system DNS settings:
This ensures Chrome uses the operating system's DNS resolver, which is configured to use CleanBrowsing.
While CleanBrowsing enforces SafeSearch at the DNS level, adding browser-level enforcement provides defense in depth:
These policies lock SafeSearch and YouTube restrictions at the browser level, complementing the DNS-level enforcement from CleanBrowsing.
Block extensions that could bypass DNS filtering:
* to block all extensionsThis "deny all, allow specific" approach ensures only approved extensions can be installed.
If Group Policy is not available, apply settings directly via the Windows Registry. Save as a .reg file and import:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"DnsOverHttpsMode"="off"
"BuiltInDnsClientEnabled"=dword:00000000
"ForceGoogleSafeSearch"=dword:00000001
"ForceYouTubeRestrict"=dword:00000002
"SafeSitesFilterBehavior"=dword:00000001
To apply via command line in an elevated Command Prompt:
reg add "HKLM\SOFTWARE\Policies\Google\Chrome" /v DnsOverHttpsMode /t REG_SZ /d "off" /f
reg add "HKLM\SOFTWARE\Policies\Google\Chrome" /v BuiltInDnsClientEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Google\Chrome" /v ForceGoogleSafeSearch /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Google\Chrome" /v ForceYouTubeRestrict /t REG_DWORD /d 2 /f
reg add "HKLM\SOFTWARE\Policies\Google\Chrome" /v SafeSitesFilterBehavior /t REG_DWORD /d 1 /f
After making changes, confirm everything is working:
chrome://policy/ in the address barchrome://settings/security and confirm that the Secure DNS toggle is greyed out or set to your chosen configurationnslookup -type=txt debug.cleanbrowsing.org in Command Prompt to verify DNS is resolving through CleanBrowsingIf policies do not appear, click "Reload policies" on the chrome://policy page or restart the computer.