aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJason Glasgow <jglasgow@chromium.org>2011-04-12 11:34:28 -0400
committerDaniel Stenberg <daniel@haxx.se>2011-11-17 22:52:33 +0100
commit8d0a504f0d34c2471393ef23fb2345c73c5d4746 (patch)
tree5cee8cd7d280a1bbcdc0aba572234848d5459873 /docs
parent967b2f87a81959630d5c8e4ead72d86d37aad616 (diff)
CURLOPT_DNS_SERVERS: set name servers if possible
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/curl_easy_setopt.314
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index 31464bf2a..3b86476ea 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -2045,6 +2045,20 @@ resolves, by including a string in the linked list that uses the format
and port number must exactly match what was already added previously.
(Added in 7.21.3)
+.IP CURLOPT_DNS_SERVERS
+Set the list of DNS servers to be used instead of the system default.
+The format of the dns servers option is:
+
+host[:port][,host[:port]]...
+
+For example:
+
+192.168.1.100,192.168.1.101,3.4.5.6
+
+This option requires that libcurl was built with a resolver backend that
+supports this operation. The c-ares backend is the only such one.
+
+(Added in 7.24.0)
.SH SSL and SECURITY OPTIONS
.IP CURLOPT_SSLCERT
Pass a pointer to a zero terminated string as parameter. The string should be