Re: [DNSOP] [internet-drafts@ietf.org: I-D Action: draft-rescorla-tls-esni-00.txt]

Jan Včelák <jv@fcelda.cz> Thu, 19 July 2018 21:15 UTC

Return-Path: <jv@fcelda.cz>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 262BD130F76 for <dnsop@ietfa.amsl.com>; Thu, 19 Jul 2018 14:15:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.022
X-Spam-Level:
X-Spam-Status: No, score=-1.022 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fcelda.cz
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 rIa_xixb2Ocw for <dnsop@ietfa.amsl.com>; Thu, 19 Jul 2018 14:15:14 -0700 (PDT)
Received: from mail-ua0-x244.google.com (mail-ua0-x244.google.com [IPv6:2607:f8b0:400c:c08::244]) (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 8ECCA130F67 for <dnsop@ietf.org>; Thu, 19 Jul 2018 14:15:14 -0700 (PDT)
Received: by mail-ua0-x244.google.com with SMTP id x24-v6so6147723ual.10 for <dnsop@ietf.org>; Thu, 19 Jul 2018 14:15:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fcelda.cz; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GBwUyLxfARF0SWssK3xg1TuLDGuqkR8ye8rOUZpb1iY=; b=UCM2psnRVVnxdDFzAaVT+MpLeH+F5MtPNoaPgt/NHwOKPDfVks19WFyO8/+S1zRgOf csAZynoGZPyChFyeebjnf0lbBXD8yxyCinPlkftojLIRbCh6xF0ZgJ2P0rbYKy5+6O6K 1zz/JblvWU/IjWdnW+k0Jg7I+JFQQfQ3p51zE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GBwUyLxfARF0SWssK3xg1TuLDGuqkR8ye8rOUZpb1iY=; b=Bq2HIOtOzsq+s37IE+1DQQNPFLC0XXDXPIjQ1e80NUYQvZyyAapI99cad2MID/333/ 2H+Qh95C474IvsWLfCE3uEmCUgyQbaQWRpo/4T8Dcgk3VNAireTLvtlMdC8TzYXghFvs bL4qk1lsWvr1M8WwOLhhK3yTmTErTusUdRLrSK/K2aIC08t8Bni+gLWUkF8upL13tzRl ZUcEUcmBFZZgJGl7PCHMVG9wuBDHui/MaeqbPifnPFQUmFfU1N3RUWrd3k99LYe2s4c0 XIkjnovG05KPVBmDvXofDrm0LcA5HWcQUk1VwHEkbL90fFzep18bC3pdmOSYjB4lAj6A IyCQ==
X-Gm-Message-State: AOUpUlErvWnv1+aLlr4TiliOMQul8bz3iGbRP/RXhgtNjhaKDOclXwgD oE8ZRF+7sqgkK9I8W/v8pult7MCfRA2cKMiBYEqIPg==
X-Google-Smtp-Source: AAOMgpc4CsgZ60mJJytQzBtOwPU4XUr/4qZnJofaDnJ0mDV1/N0f1UIuSvNC8pKMfKIGlbjT/JEEstYu5u9SWOvHsr4=
X-Received: by 2002:ab0:1664:: with SMTP id l33-v6mr8367059uae.31.1532034913637; Thu, 19 Jul 2018 14:15:13 -0700 (PDT)
MIME-Version: 1.0
References: <20180707191900.7jjaxklib3tlixgb@nic.fr> <CAM1xaJ_jcMunvfuqqgoe-5hTSE1t=A4ELWF1j0SBsztoZ_1S=w@mail.gmail.com> <CAOdDvNpWs3_+c3=pdYjxm+UrEfBUawcTKXY4ks0VbuGSts+q7Q@mail.gmail.com> <CADyWQ+HwNsvgs0BnQ3NqnEob6xZrcbmk_qVOX58UCW4rFrmahg@mail.gmail.com> <CAOdDvNq65kGho6oCX=mMw+qebHOqzJq6qJ7kAWdO53wAKeyj2A@mail.gmail.com> <CAM1xaJ8nsqreqBz7f2fG_HOaB6dc5JOS_S9Oxj5pyiOaPiyvsA@mail.gmail.com> <CANatvzz5podSFi_hdbFEwgVZF+9jMatLAxuf_FA81PBg7goQ3g@mail.gmail.com>
In-Reply-To: <CANatvzz5podSFi_hdbFEwgVZF+9jMatLAxuf_FA81PBg7goQ3g@mail.gmail.com>
From: Jan Včelák <jv@fcelda.cz>
Date: Thu, 19 Jul 2018 17:15:02 -0400
Message-ID: <CAM1xaJ9D--WftpHLaX2_c4Kt+SSrW=cmBjZ0BLNcXoB-M2b_Cw@mail.gmail.com>
To: kazuhooku@gmail.com
Cc: pmcmanus@mozilla.com, dnsop@ietf.org, draft-rescorla-tls-esni@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/dwmWBzCGawJl12K6ZBQ1imbcExw>
Subject: Re: [DNSOP] [internet-drafts@ietf.org: I-D Action: draft-rescorla-tls-esni-00.txt]
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2018 21:15:17 -0000

On Thu, Jul 19, 2018 at 3:04 PM Kazuho Oku wrote:
> Background: In ESNI, we would like to support two types of
> deployments: 1) DNS and TLS servers operated by same entity, 2) DNS
> and TLS server operated by separate entities.

Let me sketch how this could work with custom DNS record type. Let's
call the new type ESNI. This is how the DNS records for CDN and our
example.com domain may look like:

cdn-provider.test. SOA ...
cust.cdn-provider.test. A 192.0.2.100
cust.cdn-provider.test. AAAA 2001:db8::cafe:100
cust.cdn-provider.test. ESNI "..."

example.com. SOA ....
*.example.com. CNAME cust.cdn-provider.test.
jabber.example.com. CNAME somewhere-else.test.
no-esni.example.com. AAAA 2001:db8::beef:100
mail.example.com. A 198.51.100.1
mail.example.com. AAAA 2001:db8::beef:200
mail.example.com. ESNI "..."

I think this configuration should support all the deployments you mentioned:
- mail.example.com is configured explicitly.
- jabber.example.com. configuration is outsourced to some other
provider. We don't know if they provide A, AAAA, or ESNI.
- no-esni.example.com is configured explicitly with no ESNI.
- any other subdomain under example.com is outsourced to
cust.cdn-provider.test which providers A, AAAA, and ESNI

> My understanding is that ANAME is coming, but that is for address
> records only. It cannot be used to delegate a specific type that you
> choose.

We all wish we had solution for this problem. At the moment, you can
use just CNAME which takes all. If you wanna configure subset of A,
AAAA, ESNI, you have to do that explicitly. Also, you cannot use CNAME
at zone apex (for example.com.).

Jan