• To enable DoH on Windows 11, open Settings > Network & internet > Wi-Fi and manually configure the “DNS server assignment” setting.
  • To check DoH configuration, open Settings > Network & internet > Wi-Fi, and check the “IPv4 DNS servers” address should include an Encrypted label.

On Windows 11, you can enable DNS over HTTPS (DoH) for a more secure and private online experience, and in this guide, you will learn how.

DNS over HTTPS is a networking protocol designed to encrypt Domain Name System (DNS) queries using the Hypertext Transfer Protocol Secure (HTTPS) protocol. The main purpose of DoH is to protect these queries to increase user privacy and security by stopping malicious individuals from viewing and manipulating DNS traffic originating from your computer to prevent things like man-in-the-middle attacks.

Web browsers like Google Chrome and Mozilla Firefox already support this additional layer of security, but now, Windows 11 now supports DoH natively, and you can configure it in the Settings app.

This guide will teach you the steps to enable DNS over HTTPS on Windows 11 to make your online experience a little more private.

Enable DNS over HTTPS (DoH) on Windows 11

To configure DNS over HTTPS (DoH) on Windows 11, use these steps:

  • Open Start on Windows 11.
  • Search for Settings and click the top result to open the app.
  • Click on Network & internet.
  • Click the Ethernet or Wi-Fi tab (depending on the active connection).
  • Quick note: If you have a wireless connection, you need to click on the connection properties setting to access the settings.
  • In the “DNS server assignment” setting, click the Edit button.
  • Select the Manual option from the drop-down menu.
  • Turn on the IPv4 toggle switch.
  • Under the “Preferred DNS” and “Alternate DNS” sections, specify the primary and secondary DoH IP address from one of the supported services:
  • Cloudflare:
  • 1.1.1.1
  • 1.0.0.1
  • Google:
  • 8.8.8.8
  • 8.8.4.4
  • Quad9:
  • 9.9.9.9
  • 149.112.112.112
  • Use the “DNS over HTTPS” drop-down menu and select the On (automatic template) option, but you can also choose other encryption preferences, including:
  • Off: Transmits all DNS traffic without encryption.
  • On (automatic template): Sends all DNS traffic with encryption (recommended).
  • On (manual template): Allows you to specify a specific template. Only required if the DNS service doesn’t work automatically or has a template that works as expected.
  • Turn off the “Fallback to plaintext” toggle switch.
  • Quick tip: If you enable this feature, the system will encrypt DNS traffic, but it allows queries to be sent without encryption.
  • (Optional) Turn on the IPv6 toggle switch.
  • Under the “Preferred DNS” and “Alternate DNS” sections, specify the primary and secondary DoH IP address from one of the supported services:
  • Cloudflare:
  • 2606:4700:4700::1111
  • 2606:4700:4700::1001
  • Google:
  • 2001:4860:4860::8888
  • 2001:4860:4860::8844
  • Quad9:
  • 2620:fe::fe
  • 2620:fe::fe:9
  • Use the “Preferred DNS encryption” drop-down menu and select the On (automatic template) option.
  • Turn off the “Fallback to plaintext” toggle switch unless you want to allow traffic to be sent unencrypted if some reason, it cannot be encrypted.
  • Click the Save button.

Once you complete the steps, Windows 11 will encrypt DNS traffic over the HTTPS protocol.

Open Start on Windows 11.

Search for Settings and click the top result to open the app.

Click on Network & internet.

Click the Ethernet or Wi-Fi tab (depending on the active connection).

In the “DNS server assignment” setting, click the Edit button.

Select the Manual option from the drop-down menu.

Turn on the IPv4 toggle switch.

Under the “Preferred DNS” and “Alternate DNS” sections, specify the primary and secondary DoH IP address from one of the supported services:

  • Cloudflare:
  • 1.1.1.1
  • 1.0.0.1
  • Google:
  • 8.8.8.8
  • 8.8.4.4
  • Quad9:
  • 9.9.9.9
  • 149.112.112.112

Use the “DNS over HTTPS” drop-down menu and select the On (automatic template) option, but you can also choose other encryption preferences, including:

  • Off: Transmits all DNS traffic without encryption.
  • On (automatic template): Sends all DNS traffic with encryption (recommended).
  • On (manual template): Allows you to specify a specific template. Only required if the DNS service doesn’t work automatically or has a template that works as expected.

Turn off the “Fallback to plaintext” toggle switch.

(Optional) Turn on the IPv6 toggle switch.

  • Cloudflare:
  • 2606:4700:4700::1111
  • 2606:4700:4700::1001
  • Google:
  • 2001:4860:4860::8888
  • 2001:4860:4860::8844
  • Quad9:
  • 2620:fe::fe
  • 2620:fe::fe:9

Use the “Preferred DNS encryption” drop-down menu and select the On (automatic template) option.

Turn off the “Fallback to plaintext” toggle switch unless you want to allow traffic to be sent unencrypted if some reason, it cannot be encrypted.

Click the Save button.

Confirm DNS over HTTPS is working

To check if DoH is working on Windows 11, use these steps:

  • Open Start.
  • Search for Settings and click the top result to open the app.
  • Click on Network & Internet.
  • Click the Ethernet or Wi-Fi tab.
  • Under the “DNS server assignment” section, the “IPv4 DNS servers” address should include an Encrypted label.

After you complete the steps, you will know whether the DNS over HTTPS has been configured correctly on Windows 11.

Open Start.

Click on Network & Internet.

Click the Ethernet or Wi-Fi tab.

Under the “DNS server assignment” section, the “IPv4 DNS servers” address should include an Encrypted label.