mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
f7e14fee68
A possible future addition could be to parse the URL first too to verify that it is valid before trying to use it. Assisted-by: Jay Satiro Closes #9207
23 lines
809 B
D
23 lines
809 B
D
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: doh-url
|
|
Arg: <URL>
|
|
Help: Resolve host names over DoH
|
|
Added: 7.62.0
|
|
Category: dns
|
|
Example: --doh-url https://doh.example $URL
|
|
See-also: doh-insecure
|
|
---
|
|
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.
|
|
|
|
This option is unset if an empty string "" is used as the URL. (Added in
|
|
7.85.0)
|
|
|
|
If this option is used several times, the last one will be used.
|