How to Turn On DNS over HTTPS (DoH) in Windows 11
- 2 steps
- Needs administrator rights
DNS over HTTPS (DoH) in Windows 11 encrypts the website lookups your PC sends, so your internet provider and anyone else on your network cannot read them. The setting sits in the normal network menus under Settings Network & internet, so you need no extra software. It works on Home and Pro editions of a currently supported Windows 11 version (25H2 or 26H2).
Every website address you type goes through the Domain Name System (DNS), which acts like a phone book and turns names into numeric IP addresses. Standard DNS requests travel in plain text, so anyone on the path can read them. DoH wraps those requests in the same kind of encryption your browser uses for secure sites, which keeps the lookups private.
Turn on DNS over HTTPS in Windows 11 under Settings Network & internet Wi-Fi (or Ethernet) > Hardware properties DNS server assignment, then set Encryption to Encrypted only (DNS over HTTPS). The option appears only after you enter a supported provider’s DNS address, such as Cloudflare or Google. Restart is not needed.
What is DNS over HTTPS (DoH)?
DNS over HTTPS (DoH) is a security feature that encrypts your DNS lookups. Normally, the request that asks “where is this website?” travels in plain text. Your internet provider, a public Wi-Fi operator, or anyone else on the network can read it.
DoH on Windows 11 sends these lookups inside an encrypted HTTPS connection instead. Outsiders can no longer see which websites you ask for, and they cannot easily alter the answers on the way back.
One limit to keep in mind: DoH protects the lookup, not the whole connection. Your provider can still see the IP address you connect to, so DoH adds privacy but does not make you anonymous.
DoH sends each address lookup through a secure connection, much like your browser connects securely to a website. The lookup travels as ordinary-looking encrypted web traffic, so anyone watching the network sees that you contacted a DNS server but not which sites you asked about.
The DNS server you use must support DoH for this to work. Many ISP-provided servers do not, which is why the steps below have you pick a public provider that does.
How to Turn On DNS over HTTPS in Windows 11
You can turn on DNS over HTTPS in Windows 11 from the Settings app, using the properties page of your network connection. In short: open Settings, go to Network & internet, pick Wi-Fi or Ethernet to match your connection, open that connection’s properties, find DNS server assignment, and change it to a provider that supports encryption.
The Encryption choices appear only after you enter a DNS address from a provider Windows knows, such as the ones in the provider table later in this guide. If you use any other server, Encrypted only (DNS over HTTPS) is not offered. In that case, add the server’s DoH template (the HTTPS web address the server uses for encrypted lookups) under Settings Network & internet Advanced network settings, or use the DNS server’s template field.
Windows stores DNS settings per connection, so there is no single switch that covers every connection. Each Wi-Fi or Ethernet connection has its own DNS server assignment on its properties page (Network & internet Wi-Fi or Ethernet Hardware properties). A VPN, or the DoH setting inside Edge, Chrome, or Firefox, is separate from the Windows setting. Changing one does not change the other.
You may need to be signed in with an administrator account, or enter administrator credentials when prompted, to save DNS changes. On a work or school PC, an administrator may manage DNS for you, and the settings can be locked. The change takes effect straight away. No restart or sign-out is needed.
- Open Settings: Click the Start button (Windows logo) on the taskbar, then click Settings. You can also press the Win and I together. The Settings window should open with a list of categories on the left.

- Go to Network settings: In the Settings window, click Network & internet in the left menu. It sits near the top, below System and Bluetooth & devices. The right side should now show your connections, such as Wi-Fi and Ethernet, with the one in use marked as connected.

- Choose your connection: Click the connection you are using right now. If you have a wired connection, click Ethernet. If you use wireless, click Wi-Fi instead, then open Hardware properties or the properties page for the network you are connected to. If you do not see Ethernet at all, you are not using a wired connection. Pick the one marked as connected.
- Find DNS settings: Scroll down the properties page until you see DNS server assignment. Click the Edit button next to it. A window titled Edit DNS settings should open. If you see no Edit button, make sure you are on the properties page of the connection and not the main Wi-Fi or Ethernet list. If the button is greyed out, sign in with an administrator account.

- Change to manual: In the Edit DNS settings window, click the dropdown menu. Change it from Automatic (DHCP) to Manual. Automatic means your router hands out DNS servers on its own. Switches for IPv4 and IPv6 should appear below it.
- Turn on IPv4 or IPv6: Turn on the switch for IPv4 or IPv6. IPv4 is the older, shorter address format, and IPv6 is the newer, longer one. You can turn on both if you want. Most home networks use IPv4, so if you are unsure, start with that one. Once a switch is on, boxes for the DNS addresses appear.
- Add DNS addresses: Type in the DNS addresses you want to use, one in the preferred box and a second one in the alternate box if you wish. See the provider table below for popular choices. If you turned on both IPv4 and IPv6, enter an address of each type. Check each address carefully. A typo here is the most common reason the connection stops resolving names later.
- Enable encryption: Under Encryption, select Encrypted only (DNS over HTTPS). Windows recognises well-known providers such as Cloudflare, Google and Quad9 and fills in the DoH setting for them. If the Encryption choices do not appear, Windows does not recognise the address, so see the template requirement earlier in this guide. With this option, Windows refuses to fall back to unencrypted DNS. If the server you typed does not support DoH, websites will not load. In that case, check the address, or pick the “encrypted preferred” option if your build shows one.
- Save your changes: Click Save to apply the settings. The window closes and the properties page should now list your DNS servers. Open a website to confirm that pages still load. To undo this later, return to Edit and switch the dropdown back to Automatic (DHCP).
That’s it. This connection now sends its DNS lookups to the provider you chose over an encrypted HTTPS connection, and the change is already active. Repeat the steps for any other connection you use.

Popular DNS Servers You Can Use
Popular DNS servers for Windows 11 include trusted providers such as Cloudflare, Google Public DNS and Quad9. All three support DNS over HTTPS and offer fast, reliable connections. Windows recognises them, so the Encryption choices appear as soon as you enter their addresses. Using one of them instead of your internet provider’s default servers often makes page loading a little quicker, though results vary by location.
The main differences are policy rather than speed. Quad9, for example, blocks known malicious domains, while Cloudflare and Google do not do that by default. Read each provider’s privacy policy and choose the one you are comfortable with.
| DNS Provider | Type | Primary DNS | Secondary DNS |
|---|---|---|---|
| Google Public DNS (IPv4) | IPv4 | 8.8.8.8 | 8.8.4.4 |
| Cloudflare (IPv4) | IPv4 | 1.1.1.1 | 1.0.0.1 |
| Quad9 (IPv4) | IPv4 | 9.9.9.9 | 149.112.112.112 |
| Google Public DNS (IPv6) | IPv6 | 2001:4860:4860::8888 | 2001:4860:4860::8844 |
| Cloudflare (IPv6) | IPv6 | 2606:4700:4700::1111 | 2606:4700:4700::1001 |
| Quad9 (IPv6) | IPv6 | 2620:fe::fe | 2620:fe::9 |
After saving your changes, your DNS configuration should match this layout. In current builds of Windows 11, each DNS server that is using DoH is marked as encrypted next to its address on the connection’s properties page. If a server shows no encrypted label, open Edit again and check that Encryption is set to Encrypted only (DNS over HTTPS):

Two other things can bypass the Windows setting. A VPN often sends lookups through its own DNS servers, and a browser with its own secure DNS option in Edge, Chrome, or Firefox uses that option instead. Check those settings if you want the same protection there.
Summary
- If a site stops loading, open Edit on that connection’s properties page and switch the dropdown back to Automatic (DHCP).
- A feature update or a reinstalled network driver can reset a connection, so look for the encrypted label again afterwards.
- Check the DoH settings in your browser and VPN next, because they are separate from Windows.
- For a server Windows does not recognise, add its DoH template before you expect the Encryption choices to appear.
- Repeat the steps on every Wi-Fi or Ethernet connection you use to keep them all encrypted.
- If you want to learn more about DNS over HTTPS, read this Cloudflare explanation page.
Have a question about this guide?
Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.
Did this guide fix your problem?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!