Quick fix: DNS over HTTPS (DoH) requires DNS server supporting DoH (Cloudflare, Google, Quad9). Settings → Network & internet → pick connection → DNS server assignment → Edit. Pick Encrypted only (DNS over HTTPS) → verify DNS server is DoH-capable (e.g., 1.1.1.1, 8.8.8.8). For DoH server not responding: switch to alternate (Cloudflare 1.0.0.1 or Quad9 9.9.9.9).
DoH encrypts DNS queries. Fails when: DNS server doesn’t support DoH, network blocks port 443 to DoH endpoints, captive portal interfering. Fallback to alternate DoH provider or disable DoH.
Affects: Windows 11.
Fix time: ~10 minutes.
What causes this
DoH (DNS over HTTPS): encrypts DNS queries. Failures from:
- DNS server not supporting DoH (rare for major).
- Network firewall blocking DoH endpoints.
- Captive portal needing port 53 (unencrypted).
- Specific DNS server temporary outage.
- Mismatched IP / cert.
Method 1: Switch DoH provider
The standard route.
- Open Settings → Network & internet → pick Wi-Fi / Ethernet.
- Click DNS server assignment → Edit.
- Manual DNS settings.
- Preferred DNS: 1.1.1.1 (Cloudflare).
- Encrypted only: pick.
- Alternate: 1.0.0.1.
- OK.
- For Google: 8.8.8.8 / 8.8.4.4.
- For Quad9: 9.9.9.9 / 149.112.112.112.
- For OpenDNS: 208.67.222.222 / 208.67.220.220.
- Test:
nslookup google.com. Should resolve.
This is the standard fix.
Method 2: Disable DoH temporarily for testing
For diagnostic.
- Settings → Network & internet → pick connection → DNS server assignment → Edit.
- Change Encrypted only to Unencrypted preferred, encrypted only when possible or Unencrypted only.
- Save.
- Test: if works, DoH is the issue.
- For captive portal scenarios: temporarily disable DoH, sign in to portal, re-enable.
- For chronic: use Cloudflare 1.1.1.1 app which handles DoH at app level.
- For corporate networks blocking DoH: contact IT.
This is the diagnostic.
Method 3: Configure DoH per-app
For browser-only DoH.
- If system DoH unreliable: use browser-level DoH instead.
- Edge:
edge://settings/privacy→ Security → Use secure DNS. Pick custom DNS provider. - Chrome / Brave:
chrome://settings/security→ Secure DNS. - Firefox: Settings → Privacy & Security → Network Settings → Enable DNS over HTTPS.
- Browser-level DoH works even when system DoH fails.
- For chronic system DoH issues + working browser DoH: leave system at default (auto), use browser DoH.
- For VPN with own DNS: VPN handles DNS. System DoH may not matter.
This is the per-app route.
How to verify the fix worked
- Browsing works.
nslookup google.comresolves.- Settings shows DoH active for connection.
- Test at cloudflare.com/ssl/encrypted-sni/ — shows if DNS is encrypted.
If none of these work
If chronic: Network MTU / proxy: corporate networks may have specific config. Use IT-approved DNS. For specific app failures while DNS works: not DNS issue. Other network problem. For Wi-Fi captive portals: temporarily disable DoH, sign in, re-enable. For chronic IPv6 + DoH issues: disable IPv6 temporarily. For Windows 11 specific build: known DoH bugs. Update to latest. Last resort: don’t use DoH: regular DNS (port 53) usually works. Privacy trade-off.
Bottom line: Settings → Network & internet → DNS → pick DoH-capable provider (Cloudflare 1.1.1.1, Quad9 9.9.9.9). For chronic: switch provider or use browser-level DoH instead of system.