cURL / Mailing Lists / curl-library / Single Mail

curl-library

DNS lookup failure

From: Jogeshwar Karthik Akundi <ajkarthik_at_gmail.com>
Date: Wed, 1 Sep 2010 12:18:39 +0530

Hi,
we connect to our https server from our client. We keep getting DNS lookup
failures when attempting. The following is the information:

CURL: 7.20
OS: windows and mac
Using dns: 8.8.8.8
Connection type: HTTPS
Proxy: None

Logs:
[2010-Sep-01 10:45:52.612345] Connecting to https://**.**.com
[2010-Sep-01 10:45:58.867051] CurlCBFunc: Resolving host timed out:
**.**.com
[2010-Sep-01 10:45:58.867182] CurlCBFunc: Closing connection #0
[2010-Sep-01 10:45:58.867268] CurlCBFunc: Couldn't resolve host name
Error: Curl code 6

In all failure cases it times out in about 6-10 seconds.

Frequency:
On a machine on one network, we got this everytime we tried.
But from our internal network, we get this infrequently.

Question:
is there anything we can do about it from inside our application?
would retries help?

Cheers
Jogeshwar Karthik Akundi

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-01