chromium/components/policy/resources/templates/policy_definitions/Miscellaneous/DnsOverHttpsTemplates.yaml

caption: Specify URI template of desired DNS-over-HTTPS resolver
desc: |-
  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 <ph name="SECURE_DNS_MODE_SECURE">"secure"</ph> then this policy must be set and not empty. On <ph name="PRODUCT_OS_NAME">$2<ex>Google ChromeOS</ex></ph> only, either this policy or the <ph name="DOH_TEMPLATES_WITH_IDENTIFIERS_POLICY_NAME">DnsOverHttpsTemplatesWithIdentifiers</ph> must be set, otherwise the DNS resolution will fail.

        If the DnsOverHttpsMode is set to <ph name="SECURE_DNS_MODE_AUTOMATIC">"automatic"</ph> 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 <ph name="HTTP_VARIABLE_DNS">dns</ph> variable, requests to the resolver will use <ph name="HTTP_METHOD_GET">GET</ph>; otherwise requests will use <ph name="HTTP_METHOD_POST">POST</ph>.

        Incorrectly formatted templates will be ignored.
example_value: https://dns.example.net/dns-query{?dns}
features:
  dynamic_refresh: true
  per_profile: false
future_on:
- fuchsia
owners:
- [email protected]
- [email protected]
schema:
  type: string
supported_on:
- android:85-
- chrome_os:80-
- chrome.*:80-
tags: []
type: string