curl-curl/docs/cmdline-opts/doh-insecure.md
Daniel Stenberg 1f0f0bdb19
managen: strict protocol check
- protocols MUST match one in the accept-list
- protocols are typically all uppercase
- drop All
- use SCP and SFTP instead of SSH
- add Protocols: to some options previously missing one

Closes #18675
2025-09-22 09:06:00 +02:00

744 B

c SPDX-License-Identifier Long Help Added Category Protocols Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl doh-insecure Allow insecure DoH server connections 7.76.0 dns tls DNS boolean
doh-url
insecure
proxy-insecure
--doh-insecure --doh-url https://doh.example $URL

--doh-insecure

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.