cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: round-robin DNS crap

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 13 Jul 2007 15:46:25 -0700

On Fri, Jul 13, 2007 at 10:30:58AM +0200, Daniel Stenberg wrote:
> ... but as you can see the latter got no replies at all, and searching the
> net reveals many other projects with the exact same problem. They all seem
> to refer to the RFC 3484's described way to returned the list in some kind
> of prefered/sorted order and obviously /etc/gai.conf can be edited to
> change how getaddrinfo behaves.
>
> Still, I believe we should consider our own "randomizer" of the
> getaddrinfo() results so that libcurl will treat round-robin DNS entries
> better.

If libcurl uses its own randomizer, then it will effectively ignore the
host's preferences as expressed in /etc/gai.conf. That may be desired
in many cases, but I'm sure it should be the default behaviour.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-07-14