xref: /aosp_15_r20/external/curl/docs/cmdline-opts/doh-insecure.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: doh-insecure
5*6236dae4SAndroid Build Coastguard WorkerHelp: Allow insecure DoH server connections
6*6236dae4SAndroid Build Coastguard WorkerAdded: 7.76.0
7*6236dae4SAndroid Build Coastguard WorkerCategory: dns tls
8*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
9*6236dae4SAndroid Build Coastguard WorkerSee-also:
10*6236dae4SAndroid Build Coastguard Worker  - doh-url
11*6236dae4SAndroid Build Coastguard Worker  - insecure
12*6236dae4SAndroid Build Coastguard Worker  - proxy-insecure
13*6236dae4SAndroid Build Coastguard WorkerExample:
14*6236dae4SAndroid Build Coastguard Worker  - --doh-insecure --doh-url https://doh.example $URL
15*6236dae4SAndroid Build Coastguard Worker---
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker# `--doh-insecure`
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard WorkerBy default, every connection curl makes to a DoH server is verified to be
20*6236dae4SAndroid Build Coastguard Workersecure before the transfer takes place. This option tells curl to skip the
21*6236dae4SAndroid Build Coastguard Workerverification step and proceed without checking.
22*6236dae4SAndroid Build Coastguard Worker
23*6236dae4SAndroid Build Coastguard Worker**WARNING**: using this option makes the DoH transfer and name resolution
24*6236dae4SAndroid Build Coastguard Workerinsecure.
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard WorkerThis option is equivalent to --insecure and --proxy-insecure but used for DoH
27*6236dae4SAndroid Build Coastguard Worker(DNS-over-HTTPS) only.
28