[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-07 Thread Edward Lewis
nt: Tuesday, November 5, 2024 9:13 AM > To: Shane Kerr mailto:sh...@time-travellers.org>> > Cc: dnsop@ietf.org <mailto:dnsop@ietf.org> <mailto:dnsop@ietf.org>> > Subject: [DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers > > > > On 5 Nov 2024, at

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-07 Thread Ben Schwartz
f a biased overall system. --Ben Schwartz From: Joe Abley Sent: Tuesday, November 5, 2024 9:13 AM To: Shane Kerr Cc: dnsop@ietf.org Subject: [DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers On 5 Nov 2024, at 14:48, Joe Abley wrote: > The idea of maki

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-07 Thread Petr Špaček
On 05. 11. 24 11:56, Shane Kerr wrote: I wrote a quick draft to specify that answers returned should be returned in a random order: https://datatracker.ietf.org/doc/draft-kerr-everybodys-shuffling/ This comes out of recent experience we had where a customer saw significant bias in how their s

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-06 Thread Edward Lewis
On Nov 6, 2024, at 12:18, Mark Andrews wrote: > > Round robin results in unbalanced traffic when one or more of the addresses > is unreachable. It is not recommended. This reminds me of another situation … we had a load balancer that would ping machines behind it, if they were up, they were i

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-06 Thread Mark Andrews
Round robin results in unbalanced traffic when one or more of the addresses is unreachable. It is not recommended. -- Mark Andrews > On 7 Nov 2024, at 02:42, Edward Lewis wrote: > > On Nov 5, 2024, at 6:56 AM, Shane Kerr wrote: >> >> I wrote a quick draft to specify that answers returned

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-06 Thread Edward Lewis
On Nov 5, 2024, at 6:56 AM, Shane Kerr wrote: > > I wrote a quick draft to specify that answers returned should be returned in > a random order: > > https://datatracker.ietf.org/doc/draft-kerr-everybodys-shuffling/ (I’ve read the draft and the thread thru Wed 1400UTC, but I am relying to the

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-06 Thread Otto Moerbeek
On Wed, Nov 06, 2024 at 10:25:29AM +0100, Joe Abley wrote: > On 6 Nov 2024, at 10:17, Otto Moerbeek wrote: > > > I would guess there are many, many cases of applications using glib's > > getaddrinfo and some other implementations of getaddrinfo sort as > > well. > > If we imagine that the vast

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-06 Thread Otto Moerbeek
On Wed, Nov 06, 2024 at 02:11:00PM +0100, Joe Abley wrote: > On 6 Nov 2024, at 13:44, Otto Moerbeek wrote: > > > Updating 3484 might be possible. Something like: pick a random one if > > some of the addreses turn out to be equivalent? > > Yeah, that's the kind of thing that sprang to my mind.

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-06 Thread Joe Abley
On 6 Nov 2024, at 13:44, Otto Moerbeek wrote: > Updating 3484 might be possible. Something like: pick a random one if > some of the addreses turn out to be equivalent? Yeah, that's the kind of thing that sprang to my mind. Joe ___ DNSOP mailing lis

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-06 Thread Philip Homburg
> > > Updating 3484 might be possible. Something like: pick a random one if > > > some of the addreses turn out to be equivalent? > > > > Yeah, that's the kind of thing that sprang to my mind. > > Or rather: use a sort where the order of equivalent records is > randomized. Dunno if there's an acce

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-06 Thread Joe Abley
On 6 Nov 2024, at 10:17, Otto Moerbeek wrote: > I would guess there are many, many cases of applications using glib's > getaddrinfo and some other implementations of getaddrinfo sort as > well. If we imagine that the vast majority of cases where people care about any of this are, collectively,

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-06 Thread Otto Moerbeek
On Wed, Nov 06, 2024 at 09:37:55AM +0100, Joe Abley wrote: > On 6 Nov 2024, at 08:18, Otto Moerbeek > wrote: > > > Two cases against mandatory ordering: > > > > - glibc's getaddrinfo orders the list received, so any ordering done > > *by servers* is going to be undone anyway. > > This seems p

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-06 Thread Joe Abley
On 6 Nov 2024, at 08:18, Otto Moerbeek wrote: > Two cases against mandatory ordering: > > - glibc's getaddrinfo orders the list received, so any ordering done > *by servers* is going to be undone anyway. This seems pertinent if glibc is involved in mediating a DNS response on its way to an app

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Otto Moerbeek
On Tue, Nov 05, 2024 at 09:15:15PM +0800, Mukund Sivaraman wrote: > Hi Shane > > On Tue, Nov 05, 2024 at 11:56:37AM +, Shane Kerr wrote: > > Dear dnsop, > > > > I wrote a quick draft to specify that answers returned should be returned in > > a random order: > > > > https://datatracker.ietf.

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Paul Ebersman
edmonds> Overall I think it might make sense to have an informational edmonds> document that describes the problem, the mechanisms that could edmonds> be used in the DNS to address that problem (various kinds of edmonds> reordering at different points in the stack, etc.), makes edmonds> operational

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Ray Bellis
On 2024/11/05 20:59, Robert Edmonds wrote: Overall I think it might make sense to have an informational document that describes the problem, the mechanisms that could be used in the DNS to address that problem (various kinds of reordering at different points in the stack, etc.), makes operatio

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Paul Ebersman
shane> I wrote a quick draft to specify that answers returned should be shane> returned in a random order: While it seems like a good idea to have the auth shuffle, my experience from doing tech support for BIND and having this conversation way too often is: - there are way too many moving parts

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Robert Edmonds
Shane Kerr wrote: > I wrote a quick draft to specify that answers returned should be returned in > a random order: > > https://datatracker.ietf.org/doc/draft-kerr-everybodys-shuffling/ > > This comes out of recent experience we had where a customer saw significant > bias in how their servers were

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Jared Mauch
On Tue, Nov 05, 2024 at 09:15:15PM +0800, Mukund Sivaraman wrote: > Hi Shane > > On Tue, Nov 05, 2024 at 11:56:37AM +, Shane Kerr wrote: > > Dear dnsop, > > > > I wrote a quick draft to specify that answers returned should be returned in > > a random order: > > > > https://datatracker.ietf.o

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Joe Abley
On 5 Nov 2024, at 14:48, Joe Abley wrote: > The idea of making a protocol change in the DNS to work around behaviour that > might be fixable in one point release of Android and iOS ... seems less than ideal, I meant to say. Sorry, clicked send a bit early. Perhaps both those things were obviou

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Joe Abley
Hi Shane! On 5 Nov 2024, at 14:08, Shane Kerr wrote: > In the security section I do mention that you don't need > cryptographically-secure random numbers. I could expand that a bit, if it is > useful. Every time I mention "random" within earshot of Lucas Pardue it invites hard stares, I thin

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Shane Kerr
Hi Joe! On 05/11/2024 12.47, Joe Abley wrote: On 5 Nov 2024, at 13:13, Shane Kerr wrote: I wrote a quick draft to specify that answers returned should be returned in a random order: https://datatracker.ietf.org/doc/draft-kerr-everybodys-shuffling/ I think that you might need to nail dow

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Philip Homburg
> I wrote a quick draft to specify that answers returned should be > returned in a random order: > > https://datatracker.ietf.org/doc/draft-kerr-everybodys-shuffling/ > > This comes out of recent experience we had where a customer saw > significant bias in how their servers were used until we ran

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Mukund Sivaraman
Hi Shane On Tue, Nov 05, 2024 at 11:56:37AM +, Shane Kerr wrote: > Dear dnsop, > > I wrote a quick draft to specify that answers returned should be returned in > a random order: > > https://datatracker.ietf.org/doc/draft-kerr-everybodys-shuffling/ > > This comes out of recent experience we

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Peter Thomassen
Hi Shane, On 11/5/24 13:08, Shane Kerr wrote: I did consider the idea of periodic shuffling. That makes sense to me, since I think we can reasonably assume that servers will not be shuffling at exactly the same time and should have different results. It would mean slightly more state on the s

[DNSOP] Re: New draft: DNS Servers MUST Shuffle Answers

2024-11-05 Thread Joe Abley
Hi Shane! On 5 Nov 2024, at 13:13, Shane Kerr wrote: > I wrote a quick draft to specify that answers returned should be returned in > a random order: > > https://datatracker.ietf.org/doc/draft-kerr-everybodys-shuffling/ I think that you might need to nail down what "random" means. I presume y