English
https
DNS over HTTPS.
The value is an address: host or host:port, port 443 by default (1.1.1.1).
Fields
| Field | Meaning |
|---|---|
path | The request path; /dns-query by default |
method | POST (default) or GET |
headers | Additional headers |
The common fields (via, bootstrap, tls, dial, skip_adblock) are in DNS upstreams.
Example
yaml
dns:
upstreams:
main:
https: 1.1.1.1
tls:
sni: cloudflare-dns.com
final:
upstream: mainBuild key: dns.https, see Build your own.