DNS-over-HTTPS (DoH) is a security protocol for the Internet. The idea behind it is user privacy. DNS-over-HTTPS excludes certain attacks because DoH uses HTTPS. This requires a DoH supported server to perform encrypted DNS queries of users.
In Windows 10 was DNS-over-HTTPS (DoH) not available via built-in functionality. However, it was possible to provide certain apps such as a browser with DNS-over-HTTPS (DoH) functionality.
Fortunately, Windows 11 has included this essential security feature in its default settings and you, the users, can easily take advantage of it to ensure greater privacy.
DNS over HTTPS works the same way as DNS, but HTTPS sessions track the requests and minimize the information exchanged during the request.
Enable DNS over HTTPS in Windows 11
Right-click on the Windows start button. Click on Settings in the menu.
Click on Network and Internet in the menu on the left. Then click on the active connection. This can be an Ethernet (via cable) or a Wi-Fi connection.
Then click on the Edit button in the menu: DNS server assignment.
Change the DNS setting from Automatic to Manual. If Manual is already configured, leave it as it is.
Click on IPv4 and enable this option. In the preferred DNS, enter the following servers (these are Google public DNS servers).
8.8.8.8
In the Alternate DNS server field, enter:
8.8.8.4
Change the settings: Preferred DNS encryption to Encrypted Only (DNS over HTTPS).
There are two more options available, set them to your choice: Only unencrypted and preferably encrypted, unencrypted allowed. You could also select this last option.
Click the Save button.
You have now activated DNS over HTTPS in Windows 11. I hope this helped you. Thank you for reading!