mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
18 lines
617 B
Makefile
18 lines
617 B
Makefile
Long: doh-url
|
|
Arg: <URL>
|
|
Help: Resolve host names over DoH
|
|
Protocols: all
|
|
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.
|