Return two locations or low TTL [was: DNS caches that support partitioning ?]

Nick Hilliard nick at foobar.org
Mon Aug 20 09:37:48 CDT 2012


On 20/08/2012 14:18, Patrick W. Gilmore wrote:
> On Aug 20, 2012, at 08:47 , Chris Adams <cmadams at hiwaay.net> wrote:
>> 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.

well, "new" as in about 16 years old.

> Yes, all of us returning more than one A / AAAA record are hoping that
> gets widely deployed instantly.  Or not.

inet_addr() is zomfg brain damaged, ipv4 only, non-thread-safe and needs to
die horribly in a fire.  getaddrinfo() puts at least the possibility of
address selection into the hands of the developer which is going to be
completely necessary for happy eyeballs / rfc3484bis / etc.

Nick




More information about the NANOG mailing list