Quick Reference
Configuration Endpoints
Use these addresses across all three methods below.
🔒 DNS over HTTPS
🛡 DNS over TLS
§ I
Windows Settings
The recommended approach — no tools required, works on any Windows 11 install.
Method 1 — Built-in Network Settings
Right-click the network icon in your system tray → select "Network and Internet settings".
Click "Advanced network settings" → "More network adapter options".
Right-click your active connection (Ethernet or Wi-Fi) → "Properties".
Double-click "Internet Protocol Version 4 (TCP/IPv4)" to open its properties.
Select "Use the following DNS server addresses" and enter the resolver IP:
Click "Advanced" → open the DNS tab → check "Use DNS over HTTPS".
Set the dropdown to "Manual" and enter the DoT hostname:
§ II
PowerShell
Run as Administrator for a one-shot automated setup.
Method 2 — PowerShell (Administrator)
Open Windows PowerShell as Administrator and paste the following. Replace "Ethernet" with your interface name (Wi-Fi, etc.).
§ III
Registry Edit
For administrators deploying across machines or needing a persistent, script-friendly approach.
Method 3 — Registry (.reg file)
Copy the block below into a .reg file, then run it as Administrator.
Confirm It's Working
Verification
Run these commands to confirm DoT is active and no unencrypted queries are leaking.
Check DNS Settings via PowerShell
Test DoT Connection with kdig
Install kdig via Chocolatey (choco install knot), then run:
A successful response with no errors confirms the encrypted TLS tunnel is established.
Common Issues
Troubleshooting
If something isn't working, check these first.
DoT Not Working?
- Ensure Windows 11 is on version 22H2 or later
- Confirm port 853 is open on your firewall
- Verify the DNS server IP address is correct
- Try disabling IPv6 temporarily during setup
Falling Back to UDP?
- Set
AllowFallbackToUdpto$falsein PowerShell - Check registry value
DoHDefaultFallbackis0 - Verify the template URL format is exactly correct
- Restart the DNS Client service via
services.msc
Need More Help?
Reach out or explore other platform guides in the Knowledge Base.