doh-url.d 757 B

123456789101112131415161718192021
  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. Some SSL options that you set for your transfer will apply to DoH since the
  15. name lookups take place over SSL. However, the certificate verification
  16. settings are not inherited and can be controlled separately via
  17. --doh-insecure and --doh-cert-status.
  18. This option is unset if an empty string "" is used as the URL. (Added in
  19. 7.85.0)