[DNSOP] SVCB wire format (draft-ietf-dnsop-svcb-httpssvc-01)

Miek Gieben <miek@miek.nl> Sun, 29 December 2019 09:17 UTC

Return-Path: <miek@miek.nl>
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 AFD9412013B for <dnsop@ietfa.amsl.com>; Sun, 29 Dec 2019 01:17:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=miek-nl.20150623.gappssmtp.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 VTOQJb1bskwM for <dnsop@ietfa.amsl.com>; Sun, 29 Dec 2019 01:17:51 -0800 (PST)
Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 22CF612004E for <dnsop@ietf.org>; Sun, 29 Dec 2019 01:17:50 -0800 (PST)
Received: by mail-wm1-x32d.google.com with SMTP id a5so11782302wmb.0 for <dnsop@ietf.org>; Sun, 29 Dec 2019 01:17:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=miek-nl.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition; bh=hphDdIXcmppQAFg5OwKvLZEQMJ+d/ZT/ACzydVxIT+Q=; b=gw8jQOynV/29wkAm75tacjBv8tyNdmrB6SnXVt9t2inSbYzeRQ6ugedyZSfjNy64wd 1ATw+nf8oz93RGlCpFg9X9PYyKrwSMDbvAKkhyqOyGhEFA/yo90ifo82yg1a856Cj+ec cF+chYlpKZbkAsyj7ogrRG6EWXIh00Ff1alIYWyBSdJ5VD9D92KQZHv+O2ubmnZoMIWY B7xQ7QDWnmbKD0rh6oMyEOQ4G/ovsqjJFAQrJxTATGBR72Kb2mR3f2lScrDTqwby8Qws i/EiYXkyPh8hDjSvoC5kfW1+HhMTEjkH+TSrWZ/JpeEez+k1RczPpSyMbRFuor3zabqW EusQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :mime-version:content-disposition; bh=hphDdIXcmppQAFg5OwKvLZEQMJ+d/ZT/ACzydVxIT+Q=; b=OLmDU+fJi0/VsnJnul4atxrpVjCqxg9GPUTdj8Rn0bW4QulhWgmsI2YqGOoqKfQ0ns NMf3kf+ui1CIlKTylCwKIwB1cuSJubIWl0e83GtwN13zpMf3lXTfhJAqH/xpR/E4nboc vnP0BRAqbfRAXpNI+CBFI+tPy48avpMew2HSsaHnAa9O3yLrp7vqfrIPU0luQZx8hnge U0i3ZwBrTZzx4CbsyleivLxiqfbleQ47wHVqEAGpPzes4YHnGFTuA5xUbbSrwcKGPMzS YPmxU/3/IFLDzXzRY6kIA+IwV9GfUQt93srwVOJn6gb/E+vJ7tmRULqF3sUtuP0YSj4e TxQQ==
X-Gm-Message-State: APjAAAVNcJory0YhEsWXO2NbIxxMW6nhZWH7bcCSjRAR5z33mk5PDfZO DroKcK+/jmHZiYQmc9zER9QpYys4dbQ=
X-Google-Smtp-Source: APXvYqyI6yURzMPezwFZl2IWI/ZBociRgjCKsrT7XS3tRH5ud21FDNpC1nyJ3AHHe8SbzVo/MxbSrg==
X-Received: by 2002:a1c:8095:: with SMTP id b143mr28451809wmd.7.1577611069290; Sun, 29 Dec 2019 01:17:49 -0800 (PST)
Received: from miek.nl (ip565ee94f.direct-adsl.nl. [86.94.233.79]) by smtp.gmail.com with ESMTPSA id i10sm41408938wru.16.2019.12.29.01.17.48 for <dnsop@ietf.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 01:17:48 -0800 (PST)
Date: Sun, 29 Dec 2019 10:17:48 +0100
From: Miek Gieben <miek@miek.nl>
To: dnsop WG <dnsop@ietf.org>
Message-ID: <20191229091748.GA11415@miek.nl>
Mail-Followup-To: dnsop WG <dnsop@ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/KxThjOYEKbzaUZXtoZ_Hl0yRVyY>
Subject: [DNSOP] SVCB wire format (draft-ietf-dnsop-svcb-httpssvc-01)
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: Sun, 29 Dec 2019 09:17:53 -0000

Hello,

I'm looking into implementing the SVCB RR, and I'm wondering about the rational
to make the wire format different between AliasForm and ServiceForm?

Wouldn't it be simpler to always use the ServiceForm's wire format, but have a
zero key and zero value? I.e. 0 0, these MUST then be ignored for the
presentation format (handwaving the actual text for the draft here a bit).

/Miek

--
Miek Gieben