summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/doh-url.d
blob: 93d67b8fc989103f7d5859d58102b2f89f14e808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Long: doh-url
Arg: <URL>
Help: Resolve host names over DoH
Added: 7.62.0
Category: dns
Example: --doh-url https://doh.example $URL
---
Specifies which DNS-over-HTTPS (DoH) server to use to resolve hostnames,
instead of using the default name resolver mechanism. The URL must be HTTPS.

Some SSL options that you set for your transfer will apply to DoH since the
name lookups take place over SSL. However, the certificate verification
settings are not inherited and can be controlled separately via
--doh-insecure and --doh-cert-status.

If this option is used several times, the last one will be used.