Re: [Add] questions about the Examples section of svcb-dns-02

Ben Schwartz <bemasc@google.com> Thu, 08 April 2021 00:36 UTC

Return-Path: <bemasc@google.com>
X-Original-To: add@ietfa.amsl.com
Delivered-To: add@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 258AA3A307F for <add@ietfa.amsl.com>; Wed, 7 Apr 2021 17:36:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 AXsSQCh5ZuUz for <add@ietfa.amsl.com>; Wed, 7 Apr 2021 17:36:29 -0700 (PDT)
Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (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 D627A3A307E for <add@ietf.org>; Wed, 7 Apr 2021 17:36:28 -0700 (PDT)
Received: by mail-wm1-x32b.google.com with SMTP id t5-20020a1c77050000b029010e62cea9deso346305wmi.0 for <add@ietf.org>; Wed, 07 Apr 2021 17:36:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UEN3lYpEvmmtla1ZJG6WyhJTKsKK6RZfRpk91wA3AZI=; b=lsnLw2GIMIR42WvlUjbssWrKBHpT2GUeb9b7LAg10QLO+0O4JmEF0hV/NbFFa3hIZm Pb+BiRAP9GbBZ+HD9IWxTdp5tEAREpVtEPjy3hfnCYT2ko6NplsWrW+XLfECFJXgOE04 cMuDL+SX37s9b/pttWlYdEZWWvhcE15x+5NaFmWXb1ZPNZDQlW9F+GVxeV7ZtfEg32sb knibzMm4Juj+pJtXCvFZ0afjlN9njpTUlM6whqRNOionGFt5ujjx0xoA0V4hLJe2z320 i7nBMT9CnJ+QKDhVks3QT5tVEXFT4TFUBad6yljJr8gfm8o5NeU1trALSdwopjzllln3 wgow==
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=UEN3lYpEvmmtla1ZJG6WyhJTKsKK6RZfRpk91wA3AZI=; b=BDKm0JN0E4wwRcMjGfC69jxhnFEEtfagnOvQRObObVZ9I8m5Nuj49ADyJhQ1OdsUuN nPkHogog59f+9PEN4gyHYvzz+hnRp1KbM4ab/pfxEYdjOeyLL2dXu5R0BpNq7wY01cZj IkIV+2tkxuLezKN4QSbsjvANyZBDQi56fFVQxHFdJzLw20LidcjMzbIXfA7BNLpJuP1T gL0YIGQa+nwVJIqgBYOzUj0Wx78/orKwqsv1RWTKwspdFKe6SSw6QZbsFlcrMm5SRQ+8 W+FgHSYJxyZvkKTf3MWTySK33eBrv1DfrPeKqf6lL6Rg+eSmy5gu2a6UuNwc07gdZffl +6mA==
X-Gm-Message-State: AOAM532nyp+GMltTGMbYa8w+lN20d1ErmILevLnQ/YkPTNQgNmyqR4mh 1z80ZUHPL4KRqZAcHdP2Z+899/qFDgJkDpUUVoNYHg==
X-Google-Smtp-Source: ABdhPJxd5ZY7ASEOu+zwcGGaTZY1CbGYMsoMUDW3LveUtYD8xEETOurqmsAO/M9L08Cr4gG+Rv44ut2Y8wREXLGG978=
X-Received: by 2002:a1c:4d03:: with SMTP id o3mr5501717wmh.1.1617842186135; Wed, 07 Apr 2021 17:36:26 -0700 (PDT)
MIME-Version: 1.0
References: <4613b8d0773d1ae5f806347bbce909fa74439886.camel@powerdns.com>
In-Reply-To: <4613b8d0773d1ae5f806347bbce909fa74439886.camel@powerdns.com>
From: Ben Schwartz <bemasc@google.com>
Date: Wed, 07 Apr 2021 20:36:14 -0400
Message-ID: <CAHbrMsCM3pwu7zYVhVzCMKB37_gSMyb6KY3je3NVYQBAwt6kNg@mail.gmail.com>
To: Peter van Dijk <peter.van.dijk@powerdns.com>
Cc: ADD Mailing list <add@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="000000000000d43d9105bf6b3cf8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/add/OuZ-LoEIHgKo6WqKb8f6EcjvMo0>
Subject: Re: [Add] questions about the Examples section of svcb-dns-02
X-BeenThere: add@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Applications Doing DNS <add.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/add>, <mailto:add-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/add/>
List-Post: <mailto:add@ietf.org>
List-Help: <mailto:add-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/add>, <mailto:add-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Apr 2021 00:36:34 -0000

Thanks for the questions!  I've adjusted the text [1] to make the examples
clearer.

DoT is the "default ALPN" in this draft, so unless it is explicitly removed
(by no-default-alpn), it is present, and uses port 853 unless "port-..." is
specified.  This is good for compactness but can be surprising, which is
why I used that example.

I removed the "echconfig" from the examples, as that is not the focus of
this draft (and isn't even mentioned in the text).

[1]
https://github.com/bemasc/svcb-dns/commit/f61c70ed02b550613fdbb37d3171ab1e6d359e2c

On Wed, Apr 7, 2021 at 4:32 PM Peter van Dijk <peter.van.dijk@powerdns.com>
wrote:

> Hello Ben, and rest of WG,
>
> https://tools.ietf.org/html/draft-schwartz-svcb-dns-02#section-8 has an
> example RRset for a resolver, containing 3 SVCB RRs. This example is
> very useful!
>
> However, I have a few questions/comments about it:
>
> (1) Can you reorder the bullet list to match the order in the RRset?
> (i.e. put the TLS one second)
>
> (2) I see one SVCB record (with priority 2) advertising a DoT server
> (by leaving out the ALPN). It has port=8530. Yet, the text above says
> there's DoT on 853 and 8530. Where does 853 come into play, if the
> prio=2 SVCB record says port=8530?
>
> (3) All three example RRs have an echconfig parameter. While I
> understand it makes sense for an operator to be consistent in doing ECH
> over all their offerings, it somewhat looks like everybody is expected
> to do echconfig - perhaps it would be clearer to not have echconfig on
> all three? Then, maybe clarify that it would in fact be better to have
> it always, but say that the svcb-dns protocol does not demand it.
>
>
> For (2) it's entirely possible I'm missing something - please let me
> know. Thanks!
>
> Kind regards,
> --
> Peter van Dijk
> PowerDNS.COM BV - https://www.powerdns.com/
>
> --
> Add mailing list
> Add@ietf.org
> https://www.ietf.org/mailman/listinfo/add
>