Windows 11 includes native support for DNS-over-HTTPS (DoH), allowing you to encrypt DNS queries without installing any third-party software. This guide walks you through enabling DoH with CleanBrowsing so your filtered DNS traffic stays private and tamper-proof.
Learn About Pricing
DNS-over-HTTPS (DoH) encrypts your DNS queries by sending them over the HTTPS protocol, the same secure channel used by websites. This prevents your ISP, network administrator, or anyone on the same network from seeing which domains you are resolving.
Without DoH, DNS queries are sent in plaintext over port 53, making them visible to anyone who can inspect network traffic. With DoH enabled, your queries are wrapped inside an encrypted HTTPS connection to port 443, making them indistinguishable from normal web traffic.
Windows 11 introduced native DoH support, meaning you can enable encrypted DNS directly in the operating system settings without installing additional software. When combined with CleanBrowsing, you get both encryption and content filtering in a single configuration.
To begin configuring DoH, you need to access the DNS settings for your active network connection.
Both paths will take you to the network adapter properties page where you can edit DNS settings.
Once you are on the network adapter properties page, locate the DNS server assignment section. By default, it will show Automatic (DHCP), meaning your device is using whatever DNS servers your router or ISP provides.
You will now see fields for entering preferred and alternate DNS servers, along with encryption options for each.
With manual DNS mode enabled, enter the CleanBrowsing Family Filter DNS addresses. These servers filter adult content, malware, and phishing domains while supporting encrypted DNS.
| Setting | Value |
|---|---|
| Preferred DNS server | 185.228.168.168 |
| Alternate DNS server | 185.228.169.168 |
The DoH endpoint for the Family Filter is:
https://doh.cleanbrowsing.org/doh/family-filter
If you have a paid CleanBrowsing subscription, use your custom filter URL instead:
https://doh.cleanbrowsing.org/doh/custom-filter/YOUR_CODE
Replace YOUR_CODE with the code found in your CleanBrowsing dashboard under account settings.
After entering the DNS IP addresses, you need to configure the encryption settings for each server.
https://doh.cleanbrowsing.org/doh/family-filter
Once saved, Windows 11 will encrypt all DNS queries using HTTPS. The DNS server assignment section should now display Encrypted preferred to confirm that DoH is active.
If your network supports IPv6, you can also configure DoH for IPv6. Toggle the IPv6 switch to On and enter:
| Setting | Value |
|---|---|
| Preferred DNS server (IPv6) | 2a0d:2a00:1:: |
| Alternate DNS server (IPv6) | 2a0d:2a00:2:: |
Use the same DoH template URL for both IPv6 servers.
After saving, confirm that your DNS traffic is both encrypted and filtered.
Open a Command Prompt or PowerShell window and run:
nslookup cleanbrowsing.org
The response should return the correct IP address for cleanbrowsing.org. The server listed should be 185.228.168.168 or 185.228.169.168.
Visit cleanbrowsing.org/checkfiltering in your browser. This page will confirm whether CleanBrowsing is filtering your DNS traffic.
Return to Settings > Network & internet > Wi-Fi (or Ethernet) and check the DNS server assignment section. It should display:
If you see "Unencrypted" instead, double-check that the DoH template URL is entered correctly and that Windows has recognized the DNS server as DoH-capable.
If DoH is not working as expected:
ipconfig /flushdns in Command Prompt.