Re: [v6ops] An Update to Happy Eyeballs

神明達哉 <jinmei@wide.ad.jp> Fri, 17 March 2017 21:22 UTC

Return-Path: <jinmei.tatuya@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5474B129609 for <v6ops@ietfa.amsl.com>; Fri, 17 Mar 2017 14:22:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.402
X-Spam-Level:
X-Spam-Status: No, score=-2.402 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.197, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2BKzvAsOYQZz for <v6ops@ietfa.amsl.com>; Fri, 17 Mar 2017 14:22:51 -0700 (PDT)
Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB25612961E for <v6ops@ietf.org>; Fri, 17 Mar 2017 14:22:42 -0700 (PDT)
Received: by mail-qk0-x234.google.com with SMTP id 1so74810704qkl.3 for <v6ops@ietf.org>; Fri, 17 Mar 2017 14:22:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ur17pZwZ5WxjgbaIPD04Q08Gaf5zx5zq5wLws89DeIs=; b=JN8P7cWpldN2F3wkdGsr5n3HEdepWfcj1XDc246WtsXl05RenCm0x85qcxKcarTlJv 48WQoRlbXVM/4DioA3YsgvJZm7adGpeucNphhvVkA+qZOcfcmOdmHyWyJK31HnKQtMkv XXbknXf4lqbJCFS4/+dNOWMUoIahn4qRE5BYImzsyK5XqrMIebvOCRjFmpbgtWqWpmQV 1cjQB5hxpNu40Yn1vLaC87YGZRth97z5zXEIhIZXuMpFz/VENm6O1Rk2BeMuCQfOZpM/ Wg7TVbfeNw8nJKBA8kGPhs/sNLgXLZzudE1iY7QZAucwdSox7D2UwPaSLfvmC0pIW7JB 6twQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ur17pZwZ5WxjgbaIPD04Q08Gaf5zx5zq5wLws89DeIs=; b=AXIDjySwKWfGee6fEOAyCNz3Cid/qeoIyKFVtnHjHDlcY+WvvPcXJ9gqWf9VLSCZ3t RPLRwOePuJ6B0nogOjAFJlROyS56bqSW3eJaUAJ3GwsYTyz7m5pngOjOxmaxOFsY6gbU WGRCw10V7i7z4I4bUpmKQAyA1dvldiXXt97hCUdk8NZyoda3Q2aMMx3LrlaBvNghWLzm wirHc82pVUzq6SqtAwJm7Lp578SvHFATp9deMm1QC5onZyiDh8Nxkdx4eeXQbeA5wFbp JFHuFS//7c0HlXg+hN0t/Vc84EtwPCErqpu71cpIFsehtincSjpAcB5XN5w9J6MJ84Zm ZOhw==
X-Gm-Message-State: AFeK/H0WkgoaaMa92H3GmJgecmzSYbPLSqX9A5LllmUcY75wWwfr4qY61ddFSw941khJZvROJs60bnYhtwxX1w==
X-Received: by 10.233.222.197 with SMTP id s188mr14069607qkf.311.1489785761829; Fri, 17 Mar 2017 14:22:41 -0700 (PDT)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.61.204 with HTTP; Fri, 17 Mar 2017 14:22:41 -0700 (PDT)
In-Reply-To: <FFB7DE88-FC6E-45FD-8CDB-1C009F57E778@apple.com>
References: <148899860042.20118.391380898590855642.idtracker@ietfa.amsl.com> <A609BABB-BDF2-4CCB-8452-F489C019748C@apple.com> <m1clvfj-0000FCC@stereo.hq.phicoh.net> <ABE752F6-895B-431C-9E94-E0CD2FDDB2E3@apple.com> <m1cmTQX-0000IcC@stereo.hq.phicoh.net> <92EEB875-288D-4CF9-B81F-3B5C8EA49F53@apple.com> <CAJE_bqfrBpZ48bNqCpFApHCq-+vjXesE1ig60gO=JXy1Z_3DRw@mail.gmail.com> <FFB7DE88-FC6E-45FD-8CDB-1C009F57E778@apple.com>
From: 神明達哉 <jinmei@wide.ad.jp>
Date: Fri, 17 Mar 2017 14:22:41 -0700
X-Google-Sender-Auth: UnRoaknLcVajQ-hxv5Y7ccDDI3A
Message-ID: <CAJE_bqedC9ou-0ejwLveFsMrOVEYTKGTKCkw8HpY5OjXEKqLLQ@mail.gmail.com>
To: Stuart Cheshire <cheshire@apple.com>
Cc: IPv6 Operations <v6ops@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/v0xkb8lOOfN7bv82ovNYe9hKjy0>
Subject: Re: [v6ops] An Update to Happy Eyeballs
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Mar 2017 21:22:53 -0000

At Thu, 16 Mar 2017 13:09:57 -0700,
Stuart Cheshire <cheshire@apple.com> wrote:

> >   If, during the course of connection establishment, the DNS answers
> >   change either by adding resolved addresses, or removing previously
> >   resolved addresses (for example, due to expiry of the TTL on that DNS
> >   record), the client should react based on its current progress.
> >
> > Specifically what kind of scenario does this intend to imply?  For
> > example, consider the following scenario:
> >
> > 1. start a AAAA query for a destination name
> > 2. start an A query for the same name almost at the same time
> > 3. get a response to the AAAA query (set of IPv6 addresses)
> > 4. start establishing a connection for one of the IPv6 addresses
> > 5. get a response to the A query (set of IPv4 addresses)
> >
> > At step 5, DNS resolution is fully completed.
>
> No, DNS resolution is not fully completed at step 5. In this
> asynchronous model (as used in Apple products for many years) DNS
> resolution is an ongoing process, which continues until the client
> has successfully made a connection, and only stops when the client
> tells the DNS engine that it can stop.

I guess there's something (undocumented yet and) very specific to the
Apple implementation details of the "asynchronous model", then.  In
the above example steps, we've received an answer to both AAAA and A
queries at step 5.  Whether the resolution is asynchronous or
synchronous, why can't we "tell the DNS engine to stop"?  Does the
"DNS engine" still expect more responses even after getting both AAAA
and A responses?  Perhaps it keeps sending the same queries to see
whether there's a change?  At least it's not clear to me from Section
3 of the draft.

> Many web sites use DNS records with fairly short TTLs, which allows
> them to update answers fairly rapidly.

I know all this.  But I don't think it relevant to the point of my
question.

--
JINMEI, Tatuya