]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
doh-url.md: point out DOH server IP pinning
authorDavid Sardari <d@duxsco.de>
Sun, 4 Aug 2024 11:35:06 +0000 (13:35 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 4 Aug 2024 13:57:45 +0000 (15:57 +0200)
Closes #14377
Signed-off-by: David Sardari <d@duxsco.de>
docs/cmdline-opts/doh-url.md

index 23754cac19c589ae678ee5c37ccf08c72ad79c57..0f745af3b75c9937ffa17a80b222dd047509eff7 100644 (file)
@@ -11,6 +11,7 @@ See-also:
   - doh-insecure
 Example:
   - --doh-url https://doh.example $URL
+  - --doh-url https://doh.example --resolve doh.example:443:192.0.2.1 $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
 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.
 (Added in 7.85.0)