curl.h: CURLOPT_DNS_SERVERS is only available with c-ares

Closes #12695
This commit is contained in:
bch 2024-01-12 13:54:40 -08:00 committed by Daniel Stenberg
parent aaab6cb0c4
commit e3b386f86f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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