CURLOPT_DNS_USE_GLOBAL_CACHE (3) Linux Manual Page
CURLOPT_DNS_USE_GLOBAL_CACHE – enable/disable global DNS cache Synopsis#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DNS_USE_GLOBAL_CACHE, long enable); DescriptionPass a long. If the enable value is 1, it tells curl to use a global DNS cache that will survive between easy handle creations and deletions. This is not thread-safe and this will use a global variable. WARNING: this option…
