Encrypted DNS

If encrypted DNS is configured, the traditional DNS will only be used to test the connectivity and resolve the domain in the encrypted DNS URL.

Supported Protocol:

  • DNS over HTTPS: https://example.com
  • DNS over HTTP/3: h3://example.com
  • DNS over QUIC: quic://example.com

Use Encrypted DNS for All Domains

encrypted-dns-server =

You may specify multiple encrypted servers here, separated by commas.

Use Encrypted DNS for Specified Domains

example.com = server:https://cloudflare-dns.com/dns-query

Use Encrypted DNS with Proxy

If you want to query DoH servers through a proxy, you can set encrypted-dns-follow-outbound-mode to true.


All the encrypted DNS connections will follow the outbound mode settings. Then configure a rule for the DoH hostname to use a proxy.

Or, use PROTOCOL,DOH, PROTOCOL,DOH3 or PROTOCOL,DOQ rule to match all encrypted DNS connections.

results matching ""

    No results matching ""