Select Provider for Secure DNS in Google Chrome
Google Chrome lets you pick which secure DNS provider it uses for a safer internet connection. DNS, or Domain Name System, is like a phonebook for the internet, translating website names into computer addresses.
Using secure DNS, specifically DNS-over-HTTPS (DoH), encrypts this lookup process. This stops others from easily seeing what websites you visit.
The DnsOverHttpsTemplates setting in Chrome’s policies allows you to define the specific address, called a URI template, for your chosen DoH provider. You might need to set this if you’ve already turned on secure DNS but want to ensure Chrome uses a particular service.
Open Chrome settings, navigate to Privacy and security > Security, and toggle “Use secure DNS” on. You can then select a provider from the list or enter a custom one.
Enable/Disable DNS Over HTTPS in Chrome
Users can enable or disable DNS over HTTPS in Chrome using the DnsOverHttpsMode policy.
Here’s how to do it.
First, open the Google Chrome browser.
Then, click the Customize and Control (3 vertical dots button) in the top right corner and select Settings.

Next, click the "Privacy and security" link on the left menu of the Settings page.

On the right, click the tile labeled "Security" to expand it.

On the Security settings page, under "Advanced," select the "Use secure DNS" option. Toggle the switch to enable or disable it.

You can close the Chrome settings page when you are finished.
Enable / Disable Secure DNS in Chrome using the Registry
For users who prefer manual control, Secure DNS can also be enabled or disabled via the Windows Registry Editor.
First, open the Windows Registry and navigate to the folder key path below.
Remember to back up your registry before making any changes, or create a System Restore point as a precaution.
ComputerHKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
If you don't find a 'Google' folder within the registry paths, right-click the 'Policies' key and choose 'New' > 'Key,' then name it 'Google.' Repeat this process to create a 'Chrome' key if it's missing.
Once there, right-click Chrome > New > String Value and name the new REG_SZ DnsOverHttpsMode.
Double-click the DnsOverHttpsMode entry to open it and set its value to one of the options listed below.
- off = Disable DNS-over-HTTPS
- automatic = Enable DNS-over-HTTPS with insecure fallback
- secure = Enable DNS-over-HTTPS without insecure fallback

To revert to Chrome's default settings and regain UI control over secure DNS, delete the DnsOverHttpsMode entry you created.
DnsOverHttpsMode
You may have to reboot your computer to apply the changes.
If you enable "secure" mode, you must only send DNS-over-HTTPS queries; otherwise, it will fail to resolve.
This post lets you configure a DnsOverHttpsTemplates or select a provider to use with the secure more settings.
That should do it!
Reference:
Conclusion:
Configuring secure DNS in Google Chrome is accessible through either browser settings or the Windows Registry. Here are the key points to remember:
- Multiple Options: You can select from "off," "automatic," or "secure" modes based on your privacy needs.
- Ease of Access: Adjustments can be made quickly in the Chrome settings or via Registry Editor for more advanced users.
- Backup Precaution: Always remember to back up your registry before making changes to avoid potential issues.
- Restore Defaults: Deleting the "DnsOverHttpsMode" entry will revert Chrome to its default settings, allowing user-configurable options.
- Reboot Required: A computer restart may be necessary for changes to take effect fully.
- Dedicated Support: For enterprise environments, refer to the Chrome Enterprise Policy for additional configuration options.
By understanding these options, users can enhance their browsing privacy and security effectively.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!