blob: 4717a6ac6b7f57789dbe448e703c731e46bbc96c [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: doh-url
4Arg: <URL>
5Help: Resolve host names over DoH
6Added: 7.62.0
7Category: dns
8Example: --doh-url https://doh.example $URL
9See-also: doh-insecure
10Multi: single
11---
12Specifies which DNS-over-HTTPS (DoH) server to use to resolve hostnames,
13instead of using the default name resolver mechanism. The URL must be HTTPS.
14
15Some SSL options that you set for your transfer will apply to DoH since the
16name lookups take place over SSL. However, the certificate verification
17settings are not inherited and can be controlled separately via
18--doh-insecure and --doh-cert-status.
19
20This option is unset if an empty string "" is used as the URL. (Added in
217.85.0)