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

2012-08-20 Thread Patrick W. Gilmore
While I hesitate to argue DNS with Mark, I feel this needs a response. On Aug 19, 2012, at 17:37 , Mark Andrews ma...@isc.org wrote: In message ddf607b5-415b-41e8-9222-eb549d3db...@semihuman.com, Chris Woodfield writes: What Patrick said. For large sites that offer services in multiple data

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

2012-08-20 Thread Dobbins, Roland
On Aug 20, 2012, at 5:24 PM, Patrick W. Gilmore wrote: But I do not think returning multiple A records for multiple datacenters is as useful as lowering the TTL. Some folks do this via various GSLB mechanisms which selectively respond with different records based on the assumed relative

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

2012-08-20 Thread Patrick W. Gilmore
On Aug 20, 2012, at 06:49 , Dobbins, Roland rdobb...@arbor.net wrote: On Aug 20, 2012, at 5:24 PM, Patrick W. Gilmore wrote: But I do not think returning multiple A records for multiple datacenters is as useful as lowering the TTL. Some folks do this via various GSLB mechanisms which

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

2012-08-20 Thread Chris Adams
Once upon a time, Patrick W. Gilmore patr...@ianai.net said: * How many applications are even aware multiple addresses were returned? Most anything that supports IPv6 should handle this correctly, since getaddrinfo() will return a list of addresses to try. * How do you guarantee sub-second

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

2012-08-20 Thread Patrick W. Gilmore
On Aug 20, 2012, at 08:25 , Tony Finch d...@dotat.at wrote: Patrick W. Gilmore patr...@ianai.net wrote: On Aug 19, 2012, at 17:37 , Mark Andrews ma...@isc.org wrote: Which is why the DNS supports multiple address records. Clients don't have to wait a minutes to fallover to a second

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

2012-08-20 Thread Patrick W. Gilmore
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? Most anything that supports IPv6 should handle this correctly, since getaddrinfo() will

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

2012-08-20 Thread Dobbins, Roland
On Aug 20, 2012, at 5:56 PM, Patrick W. Gilmore wrote: My question above is asking Mark how you guarantee the user/application selects the A record closest to them and only use the other A record when the closer one is unavailable. I understand - my point was that folks using a GSLB-type

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

2012-08-20 Thread Tony Finch
Patrick W. Gilmore patr...@ianai.net wrote: On Aug 20, 2012, at 08:47 , Chris Adams cmad...@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

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

2012-08-20 Thread Shumon Huque
On 8/20/12 10:11 AM, Tony Finch wrote: Patrick W. Gilmore patr...@ianai.net wrote: On Aug 20, 2012, at 08:47 , Chris Adams cmad...@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

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

2012-08-20 Thread Nick Hilliard
On 20/08/2012 14:18, Patrick W. Gilmore wrote: On Aug 20, 2012, at 08:47 , Chris Adams cmad...@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

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

2012-08-20 Thread Tony Finch
Shumon Huque shu...@upenn.edu wrote: On 8/20/12 10:11 AM, Tony Finch wrote: The problem is RFC 3484 address selection; getaddrinfo is just the usual place this is implemented. I had believed that there was work in progress to fix this problem with the specs but it seems to have stalled.

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

2012-08-20 Thread Tim Chown
On 20 Aug 2012, at 16:39, Tony Finch d...@dotat.at wrote: Shumon Huque shu...@upenn.edu wrote: On 8/20/12 10:11 AM, Tony Finch wrote: The problem is RFC 3484 address selection; getaddrinfo is just the usual place this is implemented. I had believed that there was work in progress to fix

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

2012-08-20 Thread Patrick W. Gilmore
On Aug 20, 2012, at 10:07 , Dobbins, Roland rdobb...@arbor.net wrote: On Aug 20, 2012, at 5:56 PM, Patrick W. Gilmore wrote: My question above is asking Mark how you guarantee the user/application selects the A record closest to them and only use the other A record when the closer one is

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

2012-08-20 Thread Mark Andrews
In message 0d919d57-bda0-4fda-873d-3dc0cd574...@ianai.net, Patrick W. Gilmore writes: On Aug 20, 2012, at 06:49 , Dobbins, Roland rdobb...@arbor.net = wrote: On Aug 20, 2012, at 5:24 PM, Patrick W. Gilmore wrote: =20 But I do not think returning multiple A records for multiple =

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

2012-08-20 Thread Mark Andrews
In message 20120820124734.ga14...@hiwaay.net, Chris Adams writes: Once upon a time, Patrick W. Gilmore patr...@ianai.net said: * How many applications are even aware multiple addresses were returned? Most anything that supports IPv6 should handle this correctly, since getaddrinfo() will