Re: wget breaks round-robin dns?

2006-07-23 Thread Hrvoje Niksic
Matthias Kuehn [EMAIL PROTECTED] writes: it seems wget sorts the v4/v6 ip´s before creating a table of the returned ip´s. Wget does really do that. It does prefer IPv4 addresses to IPv6 addresses, and it caches the addresses resolved (but only during a single Wget run), but it doesn't sort

Re: wget breaks round-robin dns?

2006-07-23 Thread Daniel Stenberg
On Sun, 23 Jul 2006, Hrvoje Niksic wrote: If it works without IPv6, then it means that getaddrinfo on your machine sorts the results, whereas gethostbyname doesn't. This effect has been seen (and reported) before on getaddrinfo vs gethostbyname and I've tried to get the glibc guys interested

wget breaks round-robin dns?

2006-07-22 Thread Matthias Kuehn
hi! it seems wget sorts the v4/v6 ip´s before creating a table of the returned ip´s. try e.g. wget http://db.de.clamav.net/ at the moment the url has 13 entries in rr-dns, but only one (and always the same due to sorting) is used. compiling with ipv6 disabled seems to work on v4, and no