cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: about dns resolve

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Jun 2007 10:34:24 +0200 (CEST)

On Tue, 19 Jun 2007, bit bull wrote:

> hello, I using libcurl to write a download function.but when I call this
> function to down some url in first time, it show me "couldn't resolve host
> name".second time and more it return OK.

On Windows I presume? What libcurl version are you using?

> what is problem? or how can I reset DNS resolve timeout?

You can't and you shouldn't have to. You may be experiencing a bug. If this
7.16.2, can you try a recent daily snapshot or in fact even 7.16.1 (just to
verify if you're suffering from the bug I'm thinking of)?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-06-20