From e3b386f86f1b841aeb62d144dfbb0c8ad8a5c7d5 Mon Sep 17 00:00:00 2001 From: bch Date: Fri, 12 Jan 2024 13:54:40 -0800 Subject: [PATCH] curl.h: CURLOPT_DNS_SERVERS is only available with c-ares Closes #12695 --- include/curl/curl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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