doh-url.d 743 B

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