cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: round robin DNS without Ares only takes first IP

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 21 Apr 2005 19:49:21 +0200 (CEST)

On Thu, 21 Apr 2005, A Nonymous wrote:

> If this is the case, would it be sensible to introduce an option randomize
> the order of several IPs?

libcurl relies entirely upon the resolving functions to provide the addresses
in a round robin manner. I believe the recommended way is to use the addresses
in the same order as provided. Which libcurl does.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-04-21