cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl problem on windows

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 7 Jan 2012 15:48:23 +0100 (CET)

On Fri, 6 Jan 2012, Wisner, LeonardX P wrote:

> I noted that at least three IP addresses are attempted in no particular
> order or pattern. I have no idea where curl is getting these addresses:

curl resolves names to IP addresses:

   http://curl.haxx.se/docs/faq.html#How_does_libcurl_resolve_host_na

The order it gets them is not really predictable and depends somewhat on your
name resolver backend[*] but they are all addresses the domain owner have
given the name.

[*] = http://daniel.haxx.se/blog/2012/01/03/getaddrinfo-with-round-robin-dns-and-happy-eyeballs/

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-07