Re: [DNSOP] [Ext] I-D Action: draft-ietf-dnsop-svcb-https-05.txt

Brian Dickson <brian.peter.dickson@gmail.com> Tue, 11 May 2021 22:44 UTC

Return-Path: <brian.peter.dickson@gmail.com>
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 250133A295D for <dnsop@ietfa.amsl.com>; Tue, 11 May 2021 15:44:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, SPOOF_COM2OTH=0.001, URIBL_BLOCKED=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 1vSMJLiTjQMR for <dnsop@ietfa.amsl.com>; Tue, 11 May 2021 15:44:08 -0700 (PDT)
Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 648CC3A2959 for <dnsop@ietf.org>; Tue, 11 May 2021 15:44:08 -0700 (PDT)
Received: by mail-lf1-x12e.google.com with SMTP id x2so30898235lff.10 for <dnsop@ietf.org>; Tue, 11 May 2021 15:44:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=++AYbsNVTRGmhChmDcJuswolxUQm0tTl448c4X6gtb0=; b=t97tyIXpSyXsRu4V5EdXG3Xzs/hQ38EQk5qgzgGZF8crmHwPPxyq1oSQrpCgKE4WXs +nVwM+rzFtv4GYRcjq/C548a3bDZJhU4CqdvaNH9I49ZOFPEm6zsWeGEYST7YJeZLPDg k444EDTNaQTUbXRX/iRaHuWpPbQaUc9RilUoDqyMV+Hd73VRcLLjiIJjaw7To0VbCtVy jsW7a2zVi8TrGqxqsCTUYWeJrvnAGGLUdEJOG7miBWd8axHer3gUhiGATK41TANQIgWV KF1qbPUH5msF9Ij4OfqhcqdnpVK1SoQ1dPzoqTo3lw3vPnJb+ywfldhEybIJLPSlreFX GTFg==
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=++AYbsNVTRGmhChmDcJuswolxUQm0tTl448c4X6gtb0=; b=sj/+V2LDlRafd0hlc8x4N+4lG5LlGsW6vnBm0rZUZ/SFZLUeNXRlnjOfmv3jN+fm0V Vxj0xtTarqW1RSaZYWSxYXrkw7CoeTsUGgnSm0CxC4hcPvMcLrqtEfAzRSA2x49T6KF2 eNOZgCM45rSwzRmEQTvzWjHhNVa9VYCXhQhpJYm8aKdrXlD0TXp0QsiixcL1FBn7I5M3 X+FB7x3AzCJmlWNjsnnt4TEuu74VN5ussnTCjJy+4iCHEucsExhQSQohsyGGffEdlqqO JdZJr2tFPzQmqfV179Ttgf7CiQtmLRHHMTvF/19fgF+UdH03kDlNcn8OHolNzVeA/Obq NI5g==
X-Gm-Message-State: AOAM533GyEIIRNKbAAmc5LrZyXulOp2/jqfsciFMwrAl3QavSpFbVoo+ Q1fR6ffr4yzvjepWySRWh9VHvRnfOVD1u3FJ+dA=
X-Google-Smtp-Source: ABdhPJz5ppa8RLJC+RFhLb4HiZP5SluLhclStDC1uXpbBfZ9iWVybfOottofYpNwduKxzvIVHQuSubIZzRhA6h59AVw=
X-Received: by 2002:a05:6512:118c:: with SMTP id g12mr22389708lfr.316.1620773044322; Tue, 11 May 2021 15:44:04 -0700 (PDT)
MIME-Version: 1.0
References: <F4CE48A1-7AB0-45D0-97FF-158CE3A04EE1@icann.org> <3EE971EE-0777-44D6-9CD2-771B92FFE938@hopcount.ca> <1d822219-8ab9-2cb7-d0a4-9b8afc39058d@powerdns.com> <2952D408-117B-40D0-B859-7A8E4111629E@hopcount.ca> <CAHbrMsD+uiaYQ8i58VRjF=3AtW9uAoAtgbKzNzrPZC3QCmD2pQ@mail.gmail.com> <CAH1iCirykCpqkQEizYUBYMJEXMYRGkWvnzyo-jP=XOT-4fP-EA@mail.gmail.com> <123fd984-a3e1-0d09-b745-9a7ed6260759@nic.cz> <CAHbrMsCrf8GS3N=HF53X-M0oq09yw_vKGFLU_qA6wt94-+vNXg@mail.gmail.com> <07FE2C2B-10C4-47B0-BFF7-AD8E980A2E26@hopcount.ca> <CAHbrMsB6qGs2QsvYMC9j2ahWAR80gdcsDbgihQiXYXG03OY9qQ@mail.gmail.com> <D72B8D52-50F8-457F-B123-D303F4865557@hopcount.ca> <CAHbrMsDzWjib5zfRpr3hJk4bjXjGAq9Z2pymPoLac9rJZPbWAQ@mail.gmail.com> <CAH1iCipSweK0nv06kLH0EJJD8Khn9kZTqjYLzSzN86mjr0ZQdA@mail.gmail.com> <CAHbrMsC_bjKXXWNdsDDS4jADBG0GNMMgTZCpo3JryLdwQGfbXw@mail.gmail.com>
In-Reply-To: <CAHbrMsC_bjKXXWNdsDDS4jADBG0GNMMgTZCpo3JryLdwQGfbXw@mail.gmail.com>
From: Brian Dickson <brian.peter.dickson@gmail.com>
Date: Tue, 11 May 2021 15:43:52 -0700
Message-ID: <CAH1iCipTh2iQZ8V=rnfJpomDrMGaMmHMxVs7=YEUYb6CFOAtTg@mail.gmail.com>
To: Ben Schwartz <bemasc@google.com>
Cc: dnsop <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009184e205c215a1da"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/ZwoQwzHhEN-d6nDWYhrvVzSRAGs>
Subject: Re: [DNSOP] [Ext] I-D Action: draft-ietf-dnsop-svcb-https-05.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 11 May 2021 22:44:13 -0000

On Tue, May 11, 2021 at 2:49 PM Ben Schwartz <bemasc@google.com> wrote:

>
>
> On Tue, May 11, 2021 at 2:31 PM Brian Dickson <
> brian.peter.dickson@gmail.com> wrote:
> ...
>
>> Another way to put it is, the SvcParameters are actually bound to the
>> TargetName, not the owner name of the HTTPS record, and the Web/CDN
>> provider is (semantically speaking, not DNS-speaking) "authoritative" for
>> those parameters.
>>
>> Is this accurate?
>>
>
> It sounds like one of the deployment arrangements that is anticipated by
> the draft.
> ...
>
>> In the current design, the domain owner needs to, in effect, do a
>> copy/paste from each Web/CDN providers' information into the domain owner's
>> own DNS zone, including the TargetName and SvcParameters.
>>
>
> No, as you noted, this is definitely a bad idea, and is not required or
> recommended in the draft.  Instead, the domain owner should use CNAME and
> AliasMode records to alias to an HTTPS ServiceMode record maintained by the
> CDN.  See the Examples section (
> https://www.ietf.org/archive/id/draft-ietf-dnsop-svcb-https-05.html#name-examples
> ).
>
>

I'm maybe confused here... I thought the AliasMode (or CNAME) would only
work if there is exactly one CDN provider.
What would the domain owner need to do for having two CDN providers, at
different Priority levels (or at the same Priority level)?

Or in that case, would each TargetName itself point to a name with an HTTPS
(or SVCB) record with its own SvcParams?
I.e. something like this:
foo.example.com HTTPS 1 foo.example.com.cdn1.example.org
foo.example.com HTTPS 2 foo.example.com.cdn2.example.net

(and hosted on their respective domains)
foo.example.com.cdn1.example.org HTTPS 1 . alpn=h2,h3
foo.example.com.cdn1.example.org A <A_RDATA>

foo.example.com.cdn2.example.net HTTPS 1 . alpn=h2,h3
foo.example.com.cdn2.example.net A <A_RDATA>
foo.example.com.cdn2.example.net AAAA <AAAA_RDATA>

Is this something that is likely to be common or at least supported?
If so, it might make sense to put that in as an example of where and how
the actual ALPN binding part is done, where it differs from where the
TargetName is used to link domains.

Brian


> ...
>
>> If the parameter sets were managed by the Web/CDN provider, and given a
>> distinct DNS name (and referenced by name rather than value), the
>> scalability of the bindings would likely improve, e.g. reference via CNAMEs
>> (with the CNAME targets being long-lived and cacheable).
>>
>
> Yes, this is the goal of the draft, and the behavior documented by the
> draft's CDN examples.
>
>

Okay, I think the question/clarification above is what was missing.
Also, if the normal usage by CDN clients (versus CDN operators), where
multiple CDNs are used, does not require any SvcParams, that might make the
concern about the "key=value" lists vs "key,value" RRsets less onerous.

Brian