How to Turn on DNS over HTTPS EnableAutoDoh in Windows 10

Ways to DNS over HTTPS using EnableAutoDoh in Windows 10.

How to Turn on DNS over HTTPS EnableAutoDoh in Windows 10

An integration of DNS over HTTPS is possible for Windows Insiders in the Dev Channel by enabling its testable version. You can pretty effortlessly turn on DNS over HTTPS and test it but by tweaking EnableAutoDoh DWORD in Registry. As of writing this, it is a part of the Windows Insiders Program only and stable version users need to wait for it. DNS over HTTPS (in short DoH) assists you to do away with ISP monitoring. In simple terms, DoH prevents ISPs from following users’ activities by avoiding the default DNS service.

This feature was already integrated into popular browsers like Edge, Chrome, Firefox, etc but you can implement it as a system-wide setting in Windows 10 as well. However, to make it possible in Win 10, ensure your Microsoft Account is a part of Windows Insider Dev Channel. Once your system satisfies this requirement, verify that it is running Build 19628 or higher. So walk through the given steps to enable and test this feature.

Turn on DNS over HTTPS EnableAutoDoh

Here is How to Turn on DNS over HTTPS EnableAutoDoh in Windows 10 –

Stage 1 – Modify Registry Editor

  1. Type regedit on the taskbar search box and press Enter.
  2. Once you access Registry Editor, head to the below-mentioned path –
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters
  1. Switch to the right pane of Parameters key and create a new DWORD here. To do so, right-click on an empty space, hover over New followed by a click on DWORD (32 Bit) Value.
How to Turn on DNS over HTTPS EnableAutoDoh in Windows 10 Image 1
  1. Name this DWORD as EnableAutoDoh.
  2. Double-click on EnableAutoDoh DWORD and on its edit window set the value as 2 and click OK.
How to Turn on DNS over HTTPS EnableAutoDoh in Windows 10 Image 2

This will Turn on DNS over HTTPS using EnableAutoDoh registry DWORD.

Stage 2 – Change Default DNS Settings on your PC

  1. Press “Win logo + R” hotkey to open Run dialog box.
  2. Insert the command ncpa.cpl and click OK.
  3. Do a right-click on the connected network and choose Properties.
  4. Now, perform a double-click on Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6). However, it completely depends on which version of IP your ISP is using.
  5. Subsequently, select the radio button Use the following DNS server addresses. Moving on, provide the IP addresses as given below –
Change Default DNS Settings on your PC Image 3
Server OwnerServer IP addresses
Google8.8.8.8

8.8.4.4

2001:4860:4860::8888

2001:4860:4860::8844

Cloudflare1.1.1.1

1.0.0.1

2606:4700:4700::1111

2606:4700:4700::1001

Quad99.9.9.9

149.112.112.112

2620:fe::fe

2620:fe::fe:9

 

  1. Click OK, close all the active windows, and Restart Windows 10 PC to reboot the DNS service.

Stage 3 – Add a New Traffic Filter to Port 53

  1. Fire up taskbar search and type cmd.exe.
  2. Right-click on Command prompt and select “Run as administrator“.
  3. Hit Yes upon a UAC pop up on the PC screen.
  4. Once you access elevated Command Prompt, insert the following and hit Enter to reset the current network traffic filters.
pktmon filter remove
  1. Now, its time to add a new traffic filter to Port 53 and to do so, execute the given command –
pktmon filter add -p 53
  1. To get a clear picture and understand the monitoring process, you need to start logging the real-time traffic. For that, run the below command –
pktmon start --etw -m real-time
  1. By executing the above command, all the port 53 packets should be redirected and moreover printed to the command line.
  2. In case you prefer to test a DoH server that is not in the official auto-promotion list, then you are required to register it. First, do that manually from your computer by entering a command line. However, make sure to identify the IP address along with the DoH URI template for the server you wish to add. Once you are ready, run the following command –
netsh dns add encryption server=<your-server’s-IP-address> dohtemplate=<your-server’s-DoH-URI-template>
  1. Finally, you can also verify the template was applied to the well-known DoH server list through this command. It should eventually show you the template being used for a given IP address –
netsh dns show encryption server=<your-server’s-IP-address>
  1. Windows is now completely configured to use that IP address as a DNS server, and as a result, it will use DoH rather than classic DNS.

This is all about Turn on DNS over HTTPS using EnableAutoDoh in Windows 10.

That’s all!!!

Tagged with 
   
 
About Sunita
Avatar for Sunita
Love to play with Windows 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.

Leave a Reply

Your email address will not be published. Required fields are marked *