In Windows 11, DNS over HTTPS is supported natively by Windows, without the use of additional software.
1. Right click the Network or WiFi icon, and left click Network and Internet Settings
2. Select "Ethernet" or "WiFi", depending on your connection type.
3. Scroll down and click Edit next to DNS server assignment
4. Make the following changes:
- Change Automatic (DHCP) to Manual
- Toggle the On switch to change the DNS server
- Enter into Preferred DNS: 18.104.22.168
- Set Preferred DNS encryption to Encrypted Only (DNS over HTTPS)
- Enter into Alternate DNS: 22.214.171.124
- Set Alternate DNS encryption to Encrypted Only (DNS over HTTPS)
Note: if using a laptop that roams to other networks which may block DNS over HTTPS, consider choosing Encryption preferred, unencrypted allowed, instead of Encrypted Only.
- Click Save
5. If using IPv6, which you can confirm here, you should also scroll down and set up Quad9 on IPv6.
Note: if Windows is not configured with an IPv6 address, setting up an IPv6 DNS server could cause DNS resolution to fail.