Every time you visit a website, play an online game, or launch an app, your computer sends a domain lookup request (DNS query). By default, Windows sends these requests unencrypted over UDP port 53. This means your Internet Service Provider (ISP), Wi-Fi hotspot owners, and network snoopers can log every single website you visit, even when the site itself uses HTTPS.
What is DNS-over-HTTPS (DoH) and Why Does it Matter?
DNS-over-HTTPS (DoH) encrypts your DNS lookups by routing them through standard HTTPS traffic on port 443. To any third party inspecting your network packets, your DNS queries look identical to normal encrypted web browsing.
- Stops ISP Surveillance: Prevents internet providers from logging your browsing habits to sell targeted advertising.
- System-Wide Ad Blocking: When paired with privacy providers like AdGuard DNS, intrusive banner ads and malicious trackers are blocked across all browsers and desktop applications simultaneously.
- Zero Speed Loss: Unlike VPNs which reroute all data and decrease download speeds by 20% to 50%, DoH only encrypts initial domain resolution and runs at full gigabit speed.
Method 1: Manual Configuration via Windows 11 Settings
Windows 11 includes native support for DoH, but configuring it requires navigating deep through multi-level settings:
Step 1: Open Network Adapter Properties
Press Win + I to open Settings, navigate to Network & internet, and select your active connection (Wi-Fi or Ethernet).
Step 2: Change DNS Server Assignment
Scroll down to the DNS server assignment row and click the Edit button. Change the dropdown from Automatic (DHCP) to Manual.
Step 3: Enter DNS Provider IPs
Toggle IPv4 to On. Enter the server IPs of your chosen DoH resolver:
Step 4: Set Encryption to "Encrypted only (DNS over HTTPS)"
Under DNS encryption, select Encrypted only (DNS over HTTPS). Click Save.
⚡ The Faster 1-Click Way
Tired of digging through Windows menus every time you switch networks or want to toggle ad-blocking? Pexoris DoH Switcher is an ultra-lightweight 38 KB portable utility that changes and tests encrypted DNS resolvers instantly with zero setup.
Download Pexoris DoH Switcher Free (17 KB)Method 2: 1-Click Switching with Pexoris DoH Switcher
- Download and run PexorisDoHSwitcher.exe (no installer required).
- Select your preferred preset: Cloudflare, AdGuard (Ad-Block), Google, or Quad9.
- Click 🔒 Apply & Encrypt DNS.
- Click ⚡ Flush DNS Cache to purge outdated entries immediately!
Frequently Asked Questions
Does enabling DoH break local network printer sharing?
No. Local network discovery (.local mDNS and NetBIOS) operates independently on local broadcast protocols. Encrypted DNS only applies to public internet domain lookups.
How can I verify that my DNS queries are truly encrypted?
You can test your encryption state by visiting Cloudflare's diagnostic page at 1.1.1.1/help or AdGuard's test page. Both will confirm whether "Using DNS-over-HTTPS" is active on your Windows system.