curl/docs/cmdline-opts/doh-url.d

18 lines
617 B
D
Raw Normal View History

2018-09-06 15:16:02 +08:00
Long: doh-url
Arg: <URL>
Help: Resolve host names over DoH
2018-09-06 15:16:02 +08:00
Protocols: all
2019-07-04 20:02:20 +08:00
Added: 7.62.0
Category: dns
Example: --doh-url https://doh.example $URL
2018-09-06 15:16:02 +08:00
---
Specifies which DNS-over-HTTPS (DoH) server to use to resolve hostnames,
2018-09-06 15:16:02 +08:00
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.
2018-09-06 15:16:02 +08:00
If this option is used several times, the last one will be used.