Setup DNS over HTTPS on Windows 11!

Written by Dom Kirby

Former MSP Owner, CyberSec Practitioner, Modern Work Pro, Evangelist, Husband & Father

January 12, 2022

Did you know that Windows 11 ships with built in support for DNS over HTTPS (DoH)? DoH is both a privacy and security enhancement that allows you to encrypt your DNS queries instead of send them in the clear over UDP. It uses HTTP/2 and HTTPS, and supports the wire format DNS response data, as returned in existing UDP responses, in an HTTPS payload. This accomplishes two things:

  • Server assurance: Like any HTTPS connection, public key cryptography is in play. The DNS provider’s environment will present a trusted certificate, proving control of the environment, before a connection is completed.

  • DNS Privacy: DNS is one of the number one ways a threat actor can start to ascertain your habits, especially on untrusted networks but really anywhere in between you and your DNS service provider.

In this article, I’ll walk you through setting up DoH using Cloudflare (1.1.1.1,1.0.0.1) but you can use any provider of your choice that supports DoH.

Setting up DNS over HTTPS


First, open settings. You can do this by click start and typing “Settings”


On the left, go to “Network & internet” and click on Wi-Fi (or Ethernet if using a wired connection)


Click “Hardware properties”


Next to “DNS server assignment” click “Edit”

Change “Automatic (DHCP)” to Manual and complete the fields as shown below:


You’ll want to set the same settings under IPv6 as well!

That’s it! Your DNS queries will now be encrypted.

Note on Falling Back

DNS over HTTPS can cause issues in some scenarios. For example, some captive portals will fail to function if they are not on updated technology. Turing on the “Fallback to plaintext” switch will allow Windows to fallback to a traditional, insecure DNS lookup. This may be necessary in some scenarios, but please note that it is hypothetically possible to force your machine to fallback through certain methods as a form of attack.

You May Also Like…

Share This