cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re: CURLOPT_DNS_CACHE_TIMEOUT and DNS queries

From: Pankaj Takawale <pankaj.takawale_at_gmail.com>
Date: Wed, 20 Apr 2011 13:25:27 -0400

> Message: 6
> Date: Wed, 20 Apr 2011 16:16:20 +0200 (CEST)
> From: Daniel Stenberg <daniel_at_haxx.se>
> To: libcurl development <curl-library_at_cool.haxx.se>
> Subject: Re: CURLOPT_DNS_CACHE_TIMEOUT and DNS queries
> Message-ID: <alpine.DEB.2.00.1104201616050.11334_at_tvnag.unkk.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Tue, 19 Apr 2011, Pankaj Takawale wrote:
>
>> When I turn off DNS caching, I can see DNS queries captured for every
>> request.
>
> How do you turn off the caching?
>
> --

I set curl option CURLOPT_DNS_CACHE_TIMEOUT to 0.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-20