cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to use DNS cache in curl

From: Gaurav Rastogi -X (garastog - ARICENT TECHNOLOGIES MAURIITIUS LIMITED at Cisco) <garastog_at_cisco.com>
Date: Thu, 14 Nov 2013 08:57:08 +0000

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
Received on 2013-11-14