In message <15bf47ff-9b3d-498b-a58b-f03853f0b...@ianai.net>, "Patrick W. 
Gilmore" writes:
> On Aug 20, 2012, at 08:47 , Chris Adams <cmad...@hiwaay.net> wrote:
> > Once upon a time, Patrick W. Gilmore <patr...@ianai.net> said:
> 
> >> * How many applications are even aware multiple addresses were =
> returned?
> >=20
> > Most anything that supports IPv6 should handle this correctly, since
> > getaddrinfo() will return a list of addresses to try.
> 
> Ah, the amazing new call which destroys any possibility of randomness or =
> round robin or other ways of load balancing between A / AAAA records.
> 
> Yes, all of us returning more than one A / AAAA record are hoping that =
> gets widely deployed instantly.  Or not.

The problem is not getaddrinfo().  The problem is that there isn't
a DNS type that reliably returns both IPv4 and IPv6 addresses so
there is no way for the DNS server to sort these addresses together.

AAAA could have done it if there had been agreement to publish
mapped A records from the very start.  That will have also helped
with turning off of IPv4.  One can fudge around the lack of this
type with SRV records.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: ma...@isc.org

Reply via email to