cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1247 curl: (6) Couldn't resolve host

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Sat, 15 Jun 2013 09:25:50 +0000

On what OS/platform and which curl version? Can you show us the curl -V output?

If it is flaky, it is most likely because the servers you have are unreliable. curl's behavior is more set out to be the same every time.

Changing CURL_TIMEOUT_RESOLVE is really no solution, ever, and you'd only find advice to change that on unofficial sites where people try desperate things. curl allows a name resolve to take 5 minutes and if it takes any longer than so you have other problems.

---
** [bugs:#1247] curl: (6) Couldn't resolve host**
**Status:** open
**Labels:** name resolving/DNS 
**Created:** Sat Jun 15, 2013 08:45 AM UTC by Robert
**Last Updated:** Sat Jun 15, 2013 08:45 AM UTC
**Owner:** Daniel Stenberg
hello, I use curl command line under centos, many time and for many websites, the first time I use curl, it will return curl: (6) Couldn't resolve host 'www.....com', then I try the second time, it can work fine, why?
I search on the Internet, someone talk about need to change CURL_TIMEOUT_RESOLVE in the code, but I use the curl command line, how to do this?
thanks.
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1247/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
Received on 2013-06-15

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET