master-server/deps/curl/docs/cmdline-opts/doh-url.md

28 lines
770 B
Markdown
Raw Normal View History

2024-05-15 15:20:32 -04:00
---
2023-12-11 20:30:44 -05:00
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: doh-url
Arg: <URL>
2024-05-15 15:20:32 -04:00
Help: Resolve hostnames over DoH
2023-12-11 20:30:44 -05:00
Added: 7.62.0
Category: dns
Multi: single
2024-05-15 15:20:32 -04:00
See-also:
- doh-insecure
Example:
- --doh-url https://doh.example $URL
2023-12-11 20:30:44 -05:00
---
2024-05-15 15:20:32 -04:00
# `--doh-url`
2023-12-11 20:30:44 -05:00
Specifies which DNS-over-HTTPS (DoH) server to use to resolve hostnames,
instead of using the default name resolver mechanism. The URL must be HTTPS.
Some SSL options that you set for your transfer also applies to DoH since the
name lookups take place over SSL. However, the certificate verification
settings are not inherited but are controlled separately via --doh-insecure
and --doh-cert-status.
This option is unset if an empty string "" is used as the URL.
(Added in 7.85.0)