curl-library
Re: How to use DNS cache in curl
Date: Thu, 14 Nov 2013 10:59:35 -0800
Wasn't aware of a built-in DNS cache. Very interested to see a reply.
- Matt
> On Nov 14, 2013, at 12:57 AM, "Gaurav Rastogi -X (garastog - ARICENT TECHNOLOGIES MAURIITIUS LIMITED at Cisco)" <garastog_at_cisco.com> wrote:
>
> Hi,
>
> I want to use DNS caching feature of curl as currently every time I make https request a DNS request is sent.
> Due to this my performance is downgraded and also sometimes DNS takes too much time due to which my https requests timeouts.
> Let me know with an example how to enable DNS caching in CURL.
>
> Regards
> Gaurav
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-14