How to Enable DNS over HTTPS for All Apps in Windows 11

Microsoft has added DNS over HTTPS (DoH) feature to enhance security and privacy on Windows 11. With this new feature, Windows 11 users will not be tracked for their internet activities.

When you connect to a website or server on the internet, your computer must query a domain name system (DNS) server for the IP address associated with the hostname.

DoH allows your computer to perform these DNS lookups over an encrypted HTTPS connection instead of through plaintext DNS lookups. This makes it impossible for your internet service provider (ISP) and surveillance agencies to get your information.

DoH even helps users access blocked websites by monitoring DNS traffic.

Microsoft initially released DoH in Windows 10 20185 build for Windows Insider Program users for testing purposes, but they removed it after a few more builds.

Now, on Windows 11 Microsoft has re-enabled DoH and users can experience it right on the Windows 11 Insider Preview version.

How to Enable DNS over HTTPS for All Apps in Windows 11
Using DNS over HTTPS (DoH) can make web browsing more secure

How to enable DNS over HTTPS Windows 11

First, to experience DoH on Windows 11, you must install Windows 11 Insider Preview first. You can refer to how to join the Windows Insider Program to experience Windows 11 Insider Preview in the article below:

Then, you enable DoH on Win 11 by following these steps:

  • Access Settings by pressing Windows + I or clicking Start then clicking Settings

How to Enable DNS over HTTPS for All Apps in Windows 11

  • You go to Network & Internet settings

How to Enable DNS over HTTPS for All Apps in Windows 11

  • Here, click on WiFi or Ethernet depending on your needs, then select Edit in the DNS server assignment section . With WiFi networks, you can find DNS server assignment in the Hardware properties section.

How to Enable DNS over HTTPS for All Apps in Windows 11

  • On the new window, click on the drop-down menu below Edit DNS settings and select Manual

How to Enable DNS over HTTPS for All Apps in Windows 11

  • You switch the button on IPv4 from Off to On then enter a DNS you like in the Preferred DNS box (for example 1.1.1.1)

How to Enable DNS over HTTPS for All Apps in Windows 11

  • Once you're done, the Preferred DNS encryption box below will be enabled for you to choose the encryption method you want. These include:
    • Unencrypted only - Use standard unencrypted DNS
    • Encrypted only (DNS over HTTPS) - Uses only DoH servers
    • Encrypted preferred, unencrypted allowed - Attempts to use DoH servers but if none are available will fall back to standard insecure DNS encryption

How to Enable DNS over HTTPS for All Apps in Windows 11

  • You choose a DNS security method then click Save
  • Additionally, you can also enter a backup DNS in the Alternate DNS encryption section . Of course, you can also choose the security method for the backup DNS.

How to Enable DNS over HTTPS for All Apps in Windows 11

DNS servers that support DoH on Windows 11

At this time, Microsoft says the following DNS servers support DoH and can be automatically used by Windows 11's DNS over HTTPS feature:

  • Cloudflare: 1.1.1.1 and 1.0.0.1
  • Google: 8.8.8.8 and 8.8.8.4
  • Quad9: 9.9.9.9 and 149.112.112.112

How to Check if DNS over HTTPS is Configured on Windows 11

To check if DNS over HTTPS is configured on your Windows 11, you can use the following commands:

With netsh:

netsh dns show encryption

With PowerShell:

Get-DnsClientDohServerAddress

Microsoft also allows administrators to create their own DoH servers using the following commands:

With netsh:

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

With PowerShell:

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

Manage DoH via Group policies

Microsoft is also adding the ability to manage Windows 11 DNS over HTTPS settings via Group policies. Microsoft has added a policy called "Configure DNS over HTTPS (DoH) name resolution" under Computer Configuration > Administrative Templates > Network > DNS Client.

  • First, open Group policies by clicking Start, then typing gpedit.msc , then pressing Enter. Note, Group policies do not support Windows 11 Home version.
  • Then you go to Computer Configuration > Administrative Templates > Network > DNS Client

How to Enable DNS over HTTPS for All Apps in Windows 11

  • Find Configure DNS over HTTPS (DoH) name resolution in the right pane and double-click it
  • Here you can enable/disable or configure DoH

How to Enable DNS over HTTPS for All Apps in Windows 11

Good luck!

Sign up and earn $1000 a day ⋙

Leave a Comment

How to fix “Well Need Your Current Windows Password” error on Windows 10/11

How to fix “Well Need Your Current Windows Password” error on Windows 10/11

Are you getting the “We'll need your current Windows password one last time” error? This annoying pop-up can prevent you from getting things done.

Quickly fix Unmountable Boot Volume error on Windows 10/11

Quickly fix Unmountable Boot Volume error on Windows 10/11

The Unmountable Boot Volume error occurs due to some installed software conflicting with the operating system or due to the computer suddenly shutting down,... In the article below, WebTech360 will guide you through some ways to fix this error.

How to Fix Clipboard History Error in Windows 11 Latest Update

How to Fix Clipboard History Error in Windows 11 Latest Update

If you use Clipboard History to store data for later use, there is a small chance that the data will remain empty no matter what you try.

How to remove Copilot and other AI features in Windows

How to remove Copilot and other AI features in Windows

If you don't care about having extra bloatware on your system, there are ways to remove or disable Windows Copilot on Windows 11.

Why is the laptop battery percentage estimate never accurate?

Why is the laptop battery percentage estimate never accurate?

Most laptop users have encountered a situation where Windows shows 2 hours of battery life left, then five minutes later it jumps to 5 hours or even 1 hour. Why does this time jump around like that?

10 Windows 11 settings to maximize laptop battery life

10 Windows 11 settings to maximize laptop battery life

Laptop batteries degrade over time and lose capacity, resulting in less battery life. But after tweaking some deeper Windows 11 settings, you should see a significant improvement in battery life.

Microsoft: PCs running Windows 11 21H2/22H2 will be forced to update to 23H2 next month

Microsoft: PCs running Windows 11 21H2/22H2 will be forced to update to 23H2 next month

Windows 11 version 21H2 is one of the major original releases of Windows 11 that began rolling out globally on October 4, 2021.

Microsoft spams Copilot QR codes on Windows 11 lock screen to lure users

Microsoft spams Copilot QR codes on Windows 11 lock screen to lure users

The year 2023 saw Microsoft betting heavily on artificial intelligence and its partnership with OpenAI to make Copilot a reality.

How to Disable User Accounts on Windows 11

How to Disable User Accounts on Windows 11

You can disable User Accounts so that others can no longer access your computer.

Buying a Windows laptop is harder than ever

Buying a Windows laptop is harder than ever

Is the NPU different enough to delay purchase and wait for the PC Copilot+ to become mainstream?

How to turn on and off battery saving mode on Windows 11 laptop

How to turn on and off battery saving mode on Windows 11 laptop

Windows 11's Battery saver mode is a feature designed to extend laptop battery life.

Microsoft Launches New Sticky Notes App for Windows 11

Microsoft Launches New Sticky Notes App for Windows 11

After keeping things the same for years, the Sticky Note update in mid-2024 changed the game.

How to fix IRQL NOT LESS OR EQUAL error on Windows

How to fix IRQL NOT LESS OR EQUAL error on Windows

The IRQL NOT LESS OR EQUAL error is a memory-related error that typically occurs when a system process or driver attempts to access a memory address without proper access permissions.

6 Ways to Copy File and Folder Paths in Windows 11

6 Ways to Copy File and Folder Paths in Windows 11

Paths are the locations of files or folders in Windows 11. All paths include the folders you need to open to get to a specific location.

Compare Windows 10 and Windows 11

Compare Windows 10 and Windows 11

Windows 11 has officially launched, compared to Windows 10 Windows 11 also has many changes, from the interface to new features. Please follow the details in the article below.