Windows

Windows 11

Windows 11 21H2 and later versions support native DNS over HTTPS (DoH). You can enable it using the following steps:

  1. Open Settings
  2. Open Network & Internet
  3. Open Ethernet
  4. Find DNS server assignment, click Edit
    1. Select Manual
    2. Enter 120.26.96.167 in the Preferred DNS server IPv4 field, and 2408:4005:3de:8500:4da1:169e:dc47:1707 for the IPv6 address
    3. For DNS over HTTPS (DoH), select: On (Manual template)
    4. Enter https://xxxxxxxxxxxxxxxx.adguardprivate.com/dns-query in the DoH template field, where {xxxxxxxxxxxxxxxx} is your encrypted DNS service username.
    5. Do not check Use unencrypted requests on failure
    6. For the Alternate DNS server, you can optionally enter 223.5.5.5 (Alibaba Cloud Public DNS service), with DNS over HTTPS off, and check Use unencrypted requests on failure.

Windows 10 and Earlier Versions

Windows 10 and earlier versions do not support native encrypted DNS, but if you are using newer browsers like Chrome/Edge or various browsers based on the Chromium engine (such as 360/QQ and other domestic browsers), you can set up DoH encrypted DNS in the browser. Here’s how to set it up in Chrome:

  1. Open Chrome browser Settings
  2. Open Privacy, search, and services
  3. Scroll to Security
  4. Enable Use secure DNS to specify how to look up the network address of websites
  5. Enter https://xxxxxxxxxxxxxxxx.adguardprivate.com/dns-query in the Choose service provider field, where {xxxxxxxxxxxxxxxx} is your encrypted DNS service username.

For other browsers, please refer to their respective settings, which are generally found under Settings - Privacy - Security.