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