DNS-over-HTTPS Setup
Enable DNS over HTTPS (DoH) on Windows 11
To configure DNS over HTTPS (DoH) on Windows 11, use these steps:
-
Open Start on Windows 11.
-
Search for Settings and click the top result to open the app.
-
Click on Network & internet.
-
Click the Ethernet or Wi-Fi tab (depending on the active connection).
Quick note: If you have a wireless connection, you need to click on the connection properties setting to access the settings. -
Click the Edit button in the “DNS server assignment” setting.
- Select the Manual option from the drop-down menu.
- Turn on the IPv4 toggle switch.
- Under the “Preferred DNS” and “Alternate DNS” sections, specify the primary and secondary DoH provided by SafeDNS - doh.safedns.com
-
Use the “DNS over HTTPS” drop-down menu and select the On (automatic template) option, but you can also choose other encryption preferences, including:
- Off: Transmits all DNS traffic without encryption.
- On (automatic template): Sends all DNS traffic with encryption (recommended).
- On (manual template): This option allows you to specify a specific template. It is only required if the DNS service doesn’t work automatically or has a template that works as expected.
-
Turn off the “Fallback to plaintext” toggle switch.
Quick tip: If you enable this feature, the system will encrypt DNS traffic, but it allows queries to be sent without encryption.

