<- Chrome Settings Library

DnsOverHttpsTemplates

Specify URI template of desired DNS-over-HTTPS resolver
Last updated October 8, 2024

The URI template of the desired DNS-over-HTTPS resolver. To specify multiple DNS-over-HTTPS resolvers, separate the corresponding URI templates with spaces. If the DnsOverHttpsMode is set to Google ChromeOS only, either this policy or the DnsOverHttpsTemplatesWithIdentifiers must be set, otherwise the DNS resolution will fail. If the DnsOverHttpsMode is set to "automatic" and this policy is set then the URI templates specified will be used; if this policy is unset then hardcoded mappings will be used to attempt to upgrade the user's current DNS resolver to a DoH resolver operated by the same provider. If the URI template contains a dns variable, requests to the resolver will use GET; otherwise requests will use POST. Incorrectly formatted templates will be ignored.

Supported On:
Platform Start End
Android 85
Chrome (Windows, Mac, Linux) 80
ChromeOS 80
Example value:

"https://dns.example.net/dns-query{?dns}"

Features: