DoH error during the configuration process

Anonymous
2024-12-12T20:18:08+00:00

Hello everyone,

I want to set up DNS over HTTPS (DoH) for IPv6. The provider in this case is Cloudflare. However, I get the following error message when I try to save the settings:

I have double-checked all entries, everything should be correct. I have also checked the steps with the help of these instructions ( https://www.elevenforum.com/t/enable-dns-over-https-doh-in-windows-11.280/ ) to see if an error has crept in. Did I make a mistake in the configuration?

DoH works fine over IPv4 only IPv6 just doesn't.

Does anyone have any idea what the problem might be? System specifications are as follows:

Motherboard: ASUS ROG B650E- E Gaming WiFi (BIOS version 3042)

Processor: AMD Ryzen 7 7800X3D

RAM: G.SKILL Trident Z5 Neo RGB 2x16GB (32G)

Graphics Card: ASUS ROG GeForce RTX 4090 Gaming OC

M.2 Drive: Samsung 990 PRO 1TB

***moved from Windows / Windows 11 / Internet and connectivity***

Windows for business Windows Client for IT Pros Networking Software-defined networking

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2025-01-26T21:41:42+00:00

    Hi @Kxixca,
    I think I have solved the problem. Please set Cloudflare DNS IPv4 and IPv6 address correctly using square brackets in the https:// URL because they are all numbers.

    I have performed no further setting anywhere else.

    Note: I am using the addresses of Cloudflare for Families, Set up 1.1.1.1 on Windows · Cloudflare 1.1.1.1 docs

    Image

    Image

    Image

    And I have got this in the end:

    Image

    However, please bear in mind this remark from that page I have mentioned from Cloudflare:

    Image

    3 people found this answer helpful.
    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-12-17T08:38:20+00:00

    Hello,

    Even if DoH is enabled, DNS settings that are not configured correctly will result in "Not Encrypted" being displayed. You can confirm that the configuration is correct in the following ways.

    Method 1: Group Policy Settings

    Press Win + R, enter gpedit.msc to open the Local Group Policy Editor.

    Navigate to: Computer Configuration > Administrative Templates > Network > DNS Client Double-click Configure DNS over HTTPS (DoH), select "Enabled", and enter your DoH server URL.

    Method 2: Registry Configuration

    Open the Registry Editor (Win + R, enter regedit).

    Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters

    Make sure the following two DWORD keys exist: EnableAutoDoh, with the value set to 2 (automatically enable DoH). The DoH value is your DoH server address, for example https://cloudflare-dns.com/dns-query

    Note If you modify the registry incorrectly, you can cause serious problems. Therefore, follow these steps carefully. For additional protection, back up the registry before you modify it. For more information about how to back up and restore the registry, see How to back up and restore the registry in Windows.

    Best Regards

    Zunhui

    0 comments No comments
  2. Anonymous
    2024-12-22T21:13:32+00:00

    Hello,

    Sorry for the late reply. I looked at the two methods you mentioned. However, I could not find the options mentioned in the methods either in the Group Editor or in the registry?

    Can the Configure DNS over HTTPS (DoH) option be added manually in method 1 or is it not possible?
    Image

    In method 2, does the DWORD key need to be created in the Parameters folder?

    Image

    0 comments No comments
  3. Anonymous
    2024-12-24T14:16:37+00:00

    Hi,

    The default group policy has this configuration as shown in the figure below. You can try to add this key value in the registry and restart the computer to see if this problem can be solved:

    Best Regards

    Zunhui

    0 comments No comments
  4. Anonymous
    2024-12-25T16:00:18+00:00

    Hi,

    I added the key value to the registry and restarted the computer. However, the "Configure DNS over HTTPS (DoH) name resolution" option is still not present:

    Maybe the option does not show up in Windows 11, but it does in Windows 10, or is there no difference at all?

    0 comments No comments