Re: Last Call: <draft-faltstrom-uri-10.txt> (The Uniform Resource Identifier (URI) DNS Resource Record) to Proposed Standard

Mark Andrews <marka@isc.org> Tue, 03 March 2015 00:52 UTC

Return-Path: <marka@isc.org>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C1AA1A8BBE for <ietf@ietfa.amsl.com>; Mon, 2 Mar 2015 16:52:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.611
X-Spam-Level:
X-Spam-Status: No, score=-1.611 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 Kd8D4m7qb85W for <ietf@ietfa.amsl.com>; Mon, 2 Mar 2015 16:52:06 -0800 (PST)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D6B81A8BBD for <ietf@ietf.org>; Mon, 2 Mar 2015 16:52:05 -0800 (PST)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.ams1.isc.org (Postfix) with ESMTP id 6E3CA1FCAF0; Tue, 3 Mar 2015 00:52:01 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id ADD90160068; Tue, 3 Mar 2015 00:58:59 +0000 (UTC)
Received: from rock.dv.isc.org (c122-106-252-81.belrs3.nsw.optusnet.com.au [122.106.252.81]) by zmx1.isc.org (Postfix) with ESMTPSA id 77436160056; Tue, 3 Mar 2015 00:58:59 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id 928842AB1BF4; Tue, 3 Mar 2015 11:51:58 +1100 (EST)
To: Patrik Fältström <paf@netnod.se>
From: Mark Andrews <marka@isc.org>
References: <20150127223859.28024.43756.idtracker@ietfa.amsl.com> <4257D8A3-0EFE-40E3-B0AD-8E23772B7693@mnot.net> <CAAQiQRdLvcQLskOuo7g_=SfmowCtyyF7OwWb-Y0nsRDeTdgncA@mail.gmail.com> <39D5E26A-E1FE-4C77-9624-5E9396497F65@mnot.net> <83FCB47C-ED48-4B26-B898-F1A47528595E@netnod.se> <CAAQiQRckc6V234gzmMhZQV-QTt=hVqk8G+zarRDFF5RR3pXxAw@mail.gmail.com> <1AE7298D-CC55-4284-AA3F-7492249C4182@netnod.se>
Subject: Re: Last Call: <draft-faltstrom-uri-10.txt> (The Uniform Resource Identifier (URI) DNS Resource Record) to Proposed Standard
In-reply-to: Your message of "Fri, 27 Feb 2015 20:50:28 +0100." <1AE7298D-CC55-4284-AA3F-7492249C4182@netnod.se>
Date: Tue, 03 Mar 2015 11:51:57 +1100
Message-Id: <20150303005158.928842AB1BF4@rock.dv.isc.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/ietf/msDUKVOb45uuw5VjfiYYKwjeUMk>
Cc: Mark Nottingham <mnot@mnot.net>, IETF <ietf@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Mar 2015 00:52:07 -0000

In message <1AE7298D-CC55-4284-AA3F-7492249C4182@netnod.se>, =?utf-8?Q?Patrik_F
=C3=A4ltstr=C3=B6m?= writes:
> > On 27 feb 2015, at 16:02, Andrew Newton <andy@hxr.us> wrote:
> >
> > - I am also nervous over the size of the RRSet, i.e. same issue I see
> with NAPTR, and the reason why I added the prefix (like SRV) to the URI RR
> >
> > I plan to move to use this advice. Thanks.
>
> The encoding is important, I really like having multiple TXT strings
> (length-prefixed) but then "the last one" should be "the rest of RDATA"
>
> Maybe Mark and others should think about how to do that encoding of the
> RDATA... I am lacking ideas here. Part from telling how many TXT strings
> there are.
>
>    paf

I don't really care about the encoding as long as it is *stable*.

The wire format has gone from a series of <len><value> pairs that
get concatenated for use (up to draft-faltstrom-uri-07) to just
<value> with a implict length (draft-faltstrom-uri-08).  The type
code was allocated against draft-faltstrom-uri-05.

Below are some of the tradeoffs that result from the different wire
encodings.

Master files need to preserve wire encoding (for DNSSEC) so
<len><value> pairs restrict how master files are written.  This
leads to lines which are potentially over a 1000 bytes long due to
\DDD encodings of non-ascii.

With a plain <value> and concatenation you don't have to have long
lines in master files and you can print the field out over multiple
lines knowing you can recombine the field.

example.net. 	URI ( 0 1 "http://foo.bar/"
		      "xxx?lhllshdflldhlh;"
		      "yyy?lhjjgjfkakfjkfjak" )

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org