| xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | c: Copyright (C) 1998 - 2022, 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 will apply to DoH since the | 
|  | 16 | name lookups take place over SSL. However, the certificate verification | 
|  | 17 | settings are not inherited and can be controlled separately via | 
|  | 18 | --doh-insecure and --doh-cert-status. | 
|  | 19 |  | 
|  | 20 | This option is unset if an empty string "" is used as the URL. (Added in | 
|  | 21 | 7.85.0) |