3.5 DNS over HTTPs
Terminology: DoH = DNS Over HTTPS
Introduction
Windows 10, Windows 11 (as well as Android, IOS, and MACOS) support DNS Over HTTPS. CS-DNS acts as a DOH server so an alternative to using the CS-DNS Agent is to use DoH directly.
MS Active Directory syadmins should not use this approach. Reference to Article
Setup in Microsoft Windows
Looking to setup DoH using GPO? Microsoft has a good article here:
https://learn.microsoft.com/en-us/windows-server/networking/dns/doh-client-support#configuring-doh-through-group-policy
Setup an “automatic template”
Run the following powershell script (as admin) and replace API_KEY_HERE with the appropriate key:
Add-DnsClientDohServerAddress
-ServerAddress '94.23.164.198'
-DohTemplate 'https://API_KEY_HERE.cs-dns.cybersift.online/dns-query'
-AllowFallbackToUdp $False -AutoUpgrade $True
Get-DNSClientDohServerAddressConfigure Windows DNS settings to use DoH
This is fairly straightforward and involves
Opening the “Network and Internet” settings
Edit DNS settings and set them to
ManualEnter the IP
94.23.164.198The URL (complete with API key) that you used in the script above should appear automatically
tags:
DoH
DNS over HTTPs
Setup