From: bch Date: Fri, 12 Jan 2024 21:54:40 +0000 (-0800) Subject: curl.h: CURLOPT_DNS_SERVERS is only available with c-ares X-Git-Tag: curl-8_6_0~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3b386f86f1b841aeb62d144dfbb0c8ad8a5c7d5;p=thirdparty%2Fcurl.git curl.h: CURLOPT_DNS_SERVERS is only available with c-ares Closes #12695 --- diff --git a/include/curl/curl.h b/include/curl/curl.h index b35ac95553..eb06022501 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -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