doh-url.md: point out DOH server IP pinning

Closes #14377
Signed-off-by: David Sardari <d@duxsco.de>
This commit is contained in:
David Sardari 2024-08-04 13:35:06 +02:00 committed by Daniel Stenberg
parent 4f198c8525
commit cb829f994d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -11,6 +11,7 @@ See-also:
- doh-insecure - doh-insecure
Example: Example:
- --doh-url https://doh.example $URL - --doh-url https://doh.example $URL
- --doh-url https://doh.example --resolve doh.example:443:192.0.2.1 $URL
--- ---
# `--doh-url` # `--doh-url`
@ -23,5 +24,7 @@ name lookups take place over SSL. However, the certificate verification
settings are not inherited but are controlled separately via --doh-insecure settings are not inherited but are controlled separately via --doh-insecure
and --doh-cert-status. and --doh-cert-status.
By default, DoH is bypassed when initially looking up DNS records of the DoH server. You can specify the IP address(es) of the DoH server with --resolve to avoid this.
This option is unset if an empty string "" is used as the URL. This option is unset if an empty string "" is used as the URL.
(Added in 7.85.0) (Added in 7.85.0)