diff options
Diffstat (limited to 'docs/cmdline-opts/doh-url.md')
-rw-r--r-- | docs/cmdline-opts/doh-url.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/cmdline-opts/doh-url.md b/docs/cmdline-opts/doh-url.md new file mode 100644 index 000000000..d12bf5194 --- /dev/null +++ b/docs/cmdline-opts/doh-url.md @@ -0,0 +1,27 @@ +--- +c: Copyright (C) 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 +Multi: single +See-also: + - doh-insecure +Example: + - --doh-url https://doh.example $URL +--- + +# `--doh-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 also applies to DoH since the +name lookups take place over SSL. However, the certificate verification +settings are not inherited but are 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) |