Re: [DNSOP] SVCB and the specialness of _

Ben Schwartz <bemasc@google.com> Wed, 07 October 2020 01:10 UTC

Return-Path: <bemasc@google.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 041A73A159C for <dnsop@ietfa.amsl.com>; Tue, 6 Oct 2020 18:10:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.6
X-Spam-Level:
X-Spam-Status: No, score=-17.6 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, 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 jIMCG9W26qBz for <dnsop@ietfa.amsl.com>; Tue, 6 Oct 2020 18:10:02 -0700 (PDT)
Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (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 69A083A159B for <dnsop@ietf.org>; Tue, 6 Oct 2020 18:10:02 -0700 (PDT)
Received: by mail-il1-x12a.google.com with SMTP id t7so759956ilf.10 for <dnsop@ietf.org>; Tue, 06 Oct 2020 18:10:02 -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=Itvz3y31TFIViiOl5deKM8qxb5noobIX4L0dxV1odlE=; b=UwE9IJPY5okgUxk+dn//lUV7+f814O8CX6hNYclCK63R+62hY/W9Gis50Nz35o7jbs /S4p90bhbL/QZEKUN6Z8Ca9EBNkBD5sd/lKZ01dsEOP3kxqYElrWZ9y4kiLa1J39WD4M S5DKAgcJW7DS9XyxoV/tTqKQxK9wGpSuIhk2rBi35MoixzZfptJk6c2ehHYsZe2U1Sn4 z34VgJg1GhQYbnKC2aVL056VuMBQjs/WZLMDvrrpu/uXjRzFZ3R0g0faxf5VNV67xLik UCMk3Xyihf2Fhd5dpaXi8M+BsdVQYxQuIuOLYogmCNrUzr/bboq6KBIw9DS72atnw1DI +lPQ==
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=Itvz3y31TFIViiOl5deKM8qxb5noobIX4L0dxV1odlE=; b=hZEeRL1yzHueW753Ku+QiCpORbKiOgpZP8YFxvWG4CGAVmECqPEQPb3+uLuWLr/0dQ gvvhBxznjYo99OmT7LInlcYT+X5sJGz6ndjaF1SqrGY9dcOtLS+ONHjJIrH81hkcmF4a bfvahGeg+Wju8hFe6dLVSziv6igbdt3N0MeHi1fHzuaQkBEvpE1a0Jcw94PRNuMw0HlK Yjt0Fu3d/D2yzMN0At7WPK6anKPs/E/sm0WbXSnIDyqXQmcWz5K6rguhL5nRQmU0s8R0 RGlgKhcGPiPQXfAScNMYURR6NaBIVf1jawy/oXGgNidiE9mDNQh41pDAFZiaAZJ0Wts6 n7xA==
X-Gm-Message-State: AOAM531pnG30gN1RED0KIAimL6wEaPhz5HBmOquiKxU7OgdTh9Msrs/f qzmbx0UfubJW1kJNtny+XRnCf7aJPqHMTFAYDj66Yg==
X-Google-Smtp-Source: ABdhPJy6D41yRSnhooQ7/ts7aKfBtRIFoy8DrzJ1U6IzHpgfCEDfo5pbQYLJz+LbtDqxVxPZY03rEO4x45Ho38kXHMw=
X-Received: by 2002:a92:91d6:: with SMTP id e83mr787504ill.263.1602033001397; Tue, 06 Oct 2020 18:10:01 -0700 (PDT)
MIME-Version: 1.0
References: <CAHbrMsCLy8jERObtJU6XNQd2ef0U9sQbPMriHAGx=n513Dgx1g@mail.gmail.com> <CAH1iCirmkES-T9LhZnm-gGAmLshso6GvDpNawqVYQwTEF9HiCw@mail.gmail.com>
In-Reply-To: <CAH1iCirmkES-T9LhZnm-gGAmLshso6GvDpNawqVYQwTEF9HiCw@mail.gmail.com>
From: Ben Schwartz <bemasc@google.com>
Date: Tue, 6 Oct 2020 21:09:50 -0400
Message-ID: <CAHbrMsANeW1hCV+Te9j1qd13qrn1n6wW4QYfGE=FuezNw7z+Xw@mail.gmail.com>
To: Brian Dickson <brian.peter.dickson@gmail.com>
Cc: dnsop <dnsop@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000fd13d605b10a5f61"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/3aYQjGQKu5eX_nnZJhFbtymskoo>
Subject: Re: [DNSOP] SVCB and the specialness of _
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: Wed, 07 Oct 2020 01:10:04 -0000

On Tue, Oct 6, 2020 at 8:51 PM Brian Dickson <brian.peter.dickson@gmail.com>
wrote:

>
> Other than the syntactic brevity, is there any functional difference to
> the client between a TargetName of "." versus a TargetName of "$HOSTNAME"
> in the description above?
>

Currently, "." means $HOSTNAME for the HTTPS record (when no prefixes are
applied).  With the proposed change, "." would always mean $HOSTNAME when a
ServiceMode record is returned directly for the original query.  However,
if the ServiceMode record is reached via a CNAME or AliasMode record, then
"." does not correspond to (the original) $HOSTNAME.

First, is the use of the standard zone file construct of "@", which only
> exists within the zone master file, and gets substituted on import with
> whatever $ORIGIN is.
>

Yes, the syntax already supports "@" and relative names when writing out a
TargetName in the zone file.  This is useful, but I don't think it has the
effect of guiding users toward a good configuration.