doh-insecure.md: expand

Closes #13889
This commit is contained in:
Daniel Stenberg 2024-06-05 10:18:21 +02:00
parent 65651dc02b
commit 881e9a616f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -8,10 +8,20 @@ Category: dns tls
Multi: boolean
See-also:
- doh-url
- insecure
- proxy-insecure
Example:
- --doh-insecure --doh-url https://doh.example $URL
---
# `--doh-insecure`
Same as --insecure but used for DoH (DNS-over-HTTPS).
By default, every connection curl makes to a DoH server is verified to be
secure before the transfer takes place. This option tells curl to skip the
verification step and proceed without checking.
**WARNING**: using this option makes the DoH transfer and name resolution
insecure.
This option is equivalent to --insecure and --proxy-insecure but used for DoH
(DNS-over-HTTPS) only.