Skip to content

https ​

DNS over HTTPS.

The value is an address: host or host:port, port 443 by default (1.1.1.1).

Fields ​

FieldMeaning
pathThe request path; /dns-query by default
methodPOST (default) or GET
headersAdditional 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: main

Build key: dns.https, see Build your own.

GPL-3.0-or-later