How to use the DNS over HTTPS privacy feature in Windows 11

Claudiu Andone
by Claudiu Andone
Windows & Software Expert
Oldtimer in the tech and science press, Claudiu is focused on whatever comes new from Microsoft. His abrupt interest in computers started when he saw the first Home Computer as a kid. However, his... Read more
Affiliate Disclosure
  • The new DNS over HTTPS feature in Windows 11 was implemented in order to help when it comes to encrypting your communication.
  • You can start the new feature by simply accessing the DNS server alignment option.
  • Microsoft acknowledged only a few DoH servers and they could become overcrowded.
  • For IT admins it's important to know that they can set up the new feature from Group Policy.
Enable DNS over HTTPS in Windows 11

Fix Windows 11 OS errors with Restoro PC Repair Tool:This software repairs common computer errors by replacing the problematic system files with the initial working versions. It also keeps you away from critical file loss, hardware failure, and repairs damages made by malware and viruses. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows 11 issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

Windows 11 has a new feature called DNS over HTTPS that you can use to perform encrypted DNS lookups to bypass certain Internet activity blockages.

In fact, a lot of governments and ISP monitor a user’s DNS traffic to apply bans and censorship.

That’s where the DNS over HTTPS steps into place and goes around any of these imposed limitations.

What is DNS over HTTPS and what does it do?

When you’re browsing online and you go to a website, your PC is communicating with a DNS (domain name system) server to get the IP address of the website.

Well, such a DNS inquiry can be monitored by your government or even by the ISP but if you use a DNS over HTTPS (DoH) that lookup is encrypted and can no longer be interrogated from outside.

You should know that if you’re using a Chromium-based browser like Chrome, Edge, Firefox, or Opera, you already have support for DoH.

But that will cover only the browsing activity, not the transfers from the other apps that you’re running on your PC.

By embedding that feature in the OS, you will be sure that all the DNS inquiries will be encrypted.

How can I use the DNS over HTTPS feature on Windows 11?

It’s not the first time that Microsoft is testing the DoH feature. It first appeared in the Windows 10 preview build 20185 for Windows Insiders but it was pulled back pretty fast.

Now, with Windows 11, the Redmond giant is taunting the feature again. If you installed the Preview Build, you can enable it if you go to Settings, then select Network & Internet, choose the Ethernet/Wireless option and click on Edit DNS server assignment.

The preferred DNS encryption option offers the following choices:

  • Unencrypted only – Equivalent to an OFF feature, really
  • Encrypted only (DNS over HTTPS) – Only use DoH servers
  • Encrypted preferred, unencrypted only – If no DoH servers are available, switch to standard unencrypted DNS

What are the DNS over HTTPS servers?

As you’ve seen above, there is a tricky part to DoH encryption and that is that the data has to pass through a DoH server for encryption.

However, there are not a lot of servers that support DoH and can be used by default by Windows 11.

In fact, Microsoft provided a short list of servers that can provide the DNS-over-HTTPS feature:

  • Cloudflare: and DNS servers
  • Google: and DNS servers
  • Quad9: and DNS servers

Things will get pretty crowded very soon unless something motivates the birth of a lot more of these.

But if you’re an IT manager, you can create your own DoH server definitions by performing the following commands in netsh or PowerShell.

Netsh command:

netsh dns add encryption server=[resolver-IP-address] dohtemplate=[resolver-DoH-template] autoupgrade=yes udpfallback=no

PowerShell command:

Add-DnsClientDohServerAddress -ServerAddress '[resolver-IP-address]' -DohTemplate '[resolver-DoH-template]' -AllowFallbackToUdp $False -AutoUpgrade $True

Configure DoH through Group Policy

  1. Type group policy in Windows search and click on Edit Group Policy from the results.
  2. Go to the following path: Computer Configuration/Administrative Templates/Network/DNS Client
  3. Look for the Configure DNS over HTTPS policy and double-click it.
  4. Click on Enable, then click on the drop-down menu from the Configure DoH options to select the preferred option.

Microsoft allows you to configure the DNS over HTTPS feature in Windows 11 through the group policies so use the steps above to do that.

We hoped that our guide helped you understand more about DNS over HTTPS and how to set it up.

If you’re having any problems with your new Windows 11 build, check this comprehensive guide where you will find all the current bugs and their solutions.

What do you think about the new DNS over HTTPS feature from Windows 11. Tell us all about it in a comment below.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

This article covers:Topics: