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!

Leave a Comment

How to Use Windows 11 Quick Assist for Help

How to Use Windows 11 Quick Assist for Help

Discover how to use Windows 11 Quick Assist for seamless remote support. Learn step-by-step setup, troubleshooting, and tips to help friends or family with tech issues instantly.

Troubleshooting Windows 11 Dual Monitor Lag Fixes

Troubleshooting Windows 11 Dual Monitor Lag Fixes

Struggling with dual monitor lag on Windows 11? Discover proven troubleshooting fixes to eliminate stuttering, delays, and performance issues for seamless multi-monitor setups. Step-by-step guide inside.

How to Fix Windows 11 Startup Settings Blank Error

How to Fix Windows 11 Startup Settings Blank Error

Struggling with the frustrating Windows 11 "Startup Settings" blank error? Discover proven, step-by-step fixes to restore your boot options quickly and get your PC running smoothly again. No tech expertise needed!

How to Activate Windows 11 Enterprise with KMS

How to Activate Windows 11 Enterprise with KMS

Discover how to activate Windows 11 Enterprise using KMS effortlessly. This comprehensive guide covers everything from requirements to troubleshooting, ensuring seamless activation for your business needs.

How to Fix Windows 11 Kmode Exception Not Handled

How to Fix Windows 11 Kmode Exception Not Handled

Struggling with the dreaded KMODE EXCEPTION NOT HANDLED error on Windows 11? Discover proven, step-by-step fixes to resolve this blue screen nightmare quickly and get your PC running smoothly again. No tech expertise needed!

Troubleshooting Windows 11 Motherboard Driver Error Fix

Troubleshooting Windows 11 Motherboard Driver Error Fix

Struggling with Windows 11 "Motherboard" Driver Error? Discover proven troubleshooting steps to fix it fast and get your PC running smoothly again. Easy, step-by-step guide for beginners.

How to Fix Windows 11 Ping Spikes Over Wi-Fi Fixes

How to Fix Windows 11 Ping Spikes Over Wi-Fi Fixes

Struggling with ping spikes on Windows 11 over Wi-Fi? Discover proven fixes to stabilize your connection, reduce lag, and enjoy smooth gaming or streaming. Step-by-step solutions for instant results.

How to Recover Deleted Photos in Windows 11

How to Recover Deleted Photos in Windows 11

Accidentally deleted precious photos? Discover proven methods to recover deleted photos in Windows 11 effortlessly. Step-by-step guides, tools, and tips to restore your images safely.

How to Use Windows 11 Terminal Instead of CMD

How to Use Windows 11 Terminal Instead of CMD

Discover how to use Windows 11 Terminal instead of CMD for a modern, efficient command-line interface. Learn installation, setup, and tips to boost your productivity with tabs, themes, and more.

How to Activate Windows 11 Pro Without a Product Key

How to Activate Windows 11 Pro Without a Product Key

Discover safe, legitimate ways to activate Windows 11 Pro without a product key. Learn step-by-step methods using built-in tools and official Microsoft options to get your OS up and running smoothly. No risks, no hassle – just pure productivity.

Fixing Battery Drain During Hibernate in Windows 11

Fixing Battery Drain During Hibernate in Windows 11

Struggling with battery drain during hibernate in Windows 11? Discover expert fixes to preserve your laptop

How to Fix Windows 11 Input Lag for Valorant and CS2

How to Fix Windows 11 Input Lag for Valorant and CS2

Struggling with input lag in Windows 11 while playing Valorant or CS2? Discover proven, step-by-step fixes to restore smooth gameplay and boost your performance. Say goodbye to delays and hello to precision shots.

How to Fix Out of Memory Error in Microsoft Edge

How to Fix Out of Memory Error in Microsoft Edge

Struggling with the frustrating "Out of Memory" error in Microsoft Edge? Discover proven, step-by-step fixes to reclaim your browsing speed and stability. Updated with the latest tips for optimal performance.

How to Fix Windows 11 Google Drive Not Launching Fix

How to Fix Windows 11 Google Drive Not Launching Fix

Struggling with Google Drive not launching on Windows 11? Discover proven fixes to resolve the issue fast, from restarts to advanced troubleshooting. Get your cloud storage working seamlessly today!

How to Disable Gamebar Presence Writer for Performance

How to Disable Gamebar Presence Writer for Performance

Discover how to disable Game Bar Presence Writer on Windows to optimize gaming performance. Step-by-step guide to reduce lag, boost FPS, and enhance your setup for smoother gameplay. Essential tips for gamers in 2026.