Comment 1 for bug 522668

Revision history for this message
Kevin McDermott (bigkevmcd) wrote :

http://curl.haxx.se/mail/lib-2002-01/0076.html

    curl_easy_setopt(handle, CURLOPT_DNS_CACHE_TIMEOUT, 15);

    With two special cases, 0 and -1... O will completely disable dns
    caching and -1 will make it so that the DNS cache *never* expires.