doh-url.d 809 B

12345678910111213141516171819202122
  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. ---
  11. Specifies which DNS-over-HTTPS (DoH) server to use to resolve hostnames,
  12. instead of using the default name resolver mechanism. The URL must be HTTPS.
  13. Some SSL options that you set for your transfer will apply to DoH since the
  14. name lookups take place over SSL. However, the certificate verification
  15. settings are not inherited and can be controlled separately via
  16. --doh-insecure and --doh-cert-status.
  17. This option is unset if an empty string "" is used as the URL. (Added in
  18. 7.85.0)
  19. If this option is used several times, the last one will be used.