What is DNS over HTTPS (DoH)?

DNS is one of the important pillars of the internet. It acts like a phonebook of the internet. If helps in resolving the domain name to the IP address and vice versa.

By default, the DNS queries and responses are sent over the UDP. We all know that UDP is require lossless data transmission. That means someone can do a man-in-the-middle attack.

We need some solution to overcome this issue. This article will discuss that only.

Why Move from Traditional DNS to DNS over HTTPS?

As we discuss Traditional DNS work on the UDP. UDP is not a secure data transmission connection. That can be easily intercepted.

When we use the DNS over HTTPS it encrypts our data. So no one can intercept our data and change our data in middle.

Enabling DoH

Now we understand why we need to have DNS over HTTPS. Now let’s discuss how we can enable that. There are lots of ways to do that. But this article will discuss two popular methods.

Enabling DoH in the Windows 10 Registry

  • log in to your window machine and open Registry Editor
  • Find the below:
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters
screely 1669621088308
Enabling DoH in the Windows 10 Registry
  • Create the new DWORD name “EnableAutoDoh” and give it a value of 2.
  • Once done reboot the machine.
  • Now change your primary and alternate DNS in the internet setting. You can select anyone from the list:
  1. Cloudflare — Primary:, Alternate:
  2. Google — Primary:, Alternate:
  3. Quad9 — Primary:, Alternate:
screely 1669621261053
internet setting

Enabling DoH in the over network

If you are a bit advanced user then you can do this in an advanced way. In the previous video, we teach you how to create the docker host. You can create this docker host locally or you can run a cloud instance also. For this tutorial, I am using the local instance. I spin an Adgaurd docker instance.

screely 1669621332353
Enabling DoH in the over network
  • There you can add the name, a few names are already added you can use those also.
  • Once updated, log in to your router using or, go to the advance option, and change the DNS value as Ip of your adgaurd docker instance
  • Now all your home have DNS over HTTPS enabled.

What is DNS over HTTPS (DoH) Video?


What is DNS over HTTPS?

A protocol called DNS over HTTPS (DoH) enables remote Domain Name System (DNS) resolution using the HTTPS protocol.

Should I use DNS over HTTPS?

Bypassing censorship, enhancing network traffic security, and boosting network privacy are all possible when DoH is enabled.

Is DNS over HTTPS enabled by default?

No, you must manually enable it via Registry or on your workstation.

How do I enable HTTPS over DNS?

You can use any of the methods that is suggested ove

Leave a Reply

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