Windows
Windows DoH/DoT encrypted DNS configuration: system-level settings and browser-integrated DoH solutions to ensure ad blocking and privacy protection remain stable.
Windows 11
Starting with Windows 11 21H2, native DNS over HTTPS (DoH) is supported. You can enable it as follows:
- Open
Settings
- Open
Network & Internet
- Open
Ethernet
- Locate
DNS server assignment
, clickEdit
- Choose
Manual
- In
Preferred DNS server
, enter120.26.96.167
for IPv4 and2408:4005:3de:8500:4da1:169e:dc47:1707
for IPv6 - DNS over HTTPS (DoH): On (manual template)
- In
DoH template
, enterhttps://xxxxxxxxxxxxxxxx.adguardprivate.com/dns-query
;{xxxxxxxxxxxxxxxx}
is your encrypted DNS service username. - Do not check
Fallback to plaintext
- For the alternate DNS server you can optionally enter
223.5.5.5
(Alibaba Cloud public DNS service), setDNS over HTTPS
to Off, and checkFallback to plaintext
.
- Choose
Windows 10 and Earlier
Windows 10 and earlier versions do not support native encrypted DNS, but if you are using a newer browser such as Chrome/Edge or any Chromium-based browser (360, QQ, and other Chinese browsers), you can configure DoH
encrypted DNS within the browser. Here are the steps for Chrome:
- Open Chrome
Settings
- Open
Privacy, search, and services
- Scroll to
Security
- Enable
Use secure DNS to specify how to look up the network address for websites
- In
Choose service provider
, enterhttps://xxxxxxxxxxxxxxxx.adguardprivate.com/dns-query
;{xxxxxxxxxxxxxxxx}
is your encrypted DNS service username.
For other browsers, please refer to their respective settings; generally, the option can be found under Settings
→ Privacy
→ Security
.