CURLOPT_DNS_CACHE_TIMEOUT (3) Linux Manual Page
CURLOPT_DNS_CACHE_TIMEOUT – set life-time for DNS cache entries Synopsis#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DNS_CACHE_TIMEOUT, long age); DescriptionPass a long, this sets the timeout in seconds. Name resolves will be kept in memory and used for this number of seconds. Set to zero to completely disable caching, or set to -1 to make the cached entries…
