]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl.h: CURLOPT_DNS_SERVERS is only available with c-ares
authorbch <brad.harder@gmail.com>
Fri, 12 Jan 2024 21:54:40 +0000 (13:54 -0800)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 14 Jan 2024 17:18:43 +0000 (18:18 +0100)
Closes #12695

include/curl/curl.h

index b35ac95553ea6aa43b711ebab22766108c95965c..eb06022501c6fb16ae687b8b5d31faaef92d476e 100644 (file)
@@ -1846,7 +1846,8 @@ typedef enum {
   /* allow GSSAPI credential delegation */
   CURLOPT(CURLOPT_GSSAPI_DELEGATION, CURLOPTTYPE_VALUES, 210),
 
-  /* Set the name servers to use for DNS resolution */
+  /* Set the name servers to use for DNS resolution.
+   * Only supported by the c-ares DNS backend */
   CURLOPT(CURLOPT_DNS_SERVERS, CURLOPTTYPE_STRINGPOINT, 211),
 
   /* Time-out accept operations (currently for FTP only) after this amount