If a dns variable were required in the doh setting of the Edge 100? Edge 101 is OK now. Thanks.

notmember 21 Reputation points
2022-04-02T14:18:55.997+00:00

Hello:
After upgrading to Edge 100 (29-36) in a Windows 11 PC, the default DOH seems to be strange that if select a default server it will show the parameter such as {?dns} in some of them. Then it won't remember the setting, and reversed back to the original default system setting after clicking the other setting and back.
The Edge 100 in 2 other Windows 10 PCs will leave the manual doh server set while Edge 99, but not be able to reset it.
I Tried to remove by "setup --uninstall --force-uninstall --system-level", downloaded and installed the Windows 11 Version Edge, but it still has the same problem.

And I found a manual which can force the DOH working, and seems to work.

https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies#dnsoverhttpstemplates
Windows Registry Settings
Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
Path (Recommended): N/A
Value Name: DnsOverHttpsTemplates
Value Type: REG_SZ
If the URI template contains a dns variable, requests to the resolver will use GET; otherwise requests will use POST.
"https://dns.example.net/dns-query{?dns}"

But the new questions happens that the parameter will affect some methods to get DNS record, how to tell which one is better for a DOH server?

Although it seems to be a RFC8484 standard, but a article shows that there are some servers such as QUAD9 and Cloudflare have no {?dns} parameter.

https://source.chromium.org/chromium/chromium/src/+/HEAD:net/dns/public/doh_provider_entry.cc;bpv=0;bpt=0

By the way, if the {?dns} is needed in the registry since the some DOH serve is not default such as 1.1.1.2 (https://security.cloudflare-dns.com/dns-query) for the family by the cloudflare?

HKLM\System\CurrentControlSet\Services\Dnscache\Parameters\DohWellKnownServers

Best Regards

Edge 101 is OK now. Thanks.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,130 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,164 questions
{count} votes