Re: [art] draft-ietf-dnsop-attrleaf

Adam Roach <adam@nostrum.com> Wed, 09 August 2017 23:25 UTC

Return-Path: <adam@nostrum.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1B1E126DD9 for <art@ietfa.amsl.com>; Wed, 9 Aug 2017 16:25:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.879
X-Spam-Level:
X-Spam-Status: No, score=-1.879 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=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 52sdgQs_h45s for <art@ietfa.amsl.com>; Wed, 9 Aug 2017 16:25:43 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 72C27126C2F for <art@ietf.org>; Wed, 9 Aug 2017 16:25:43 -0700 (PDT)
Received: from Svantevit.local (99-152-146-228.lightspeed.dllstx.sbcglobal.net [99.152.146.228]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id v79NPcpb023307 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 9 Aug 2017 18:25:40 -0500 (CDT) (envelope-from adam@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host 99-152-146-228.lightspeed.dllstx.sbcglobal.net [99.152.146.228] claimed to be Svantevit.local
To: Dave Crocker <dcrocker@bbiw.net>, John Levine <johnl@taugh.com>, art@ietf.org
References: <20170803003526.2349.qmail@ary.lan> <8cbaba50-a7d8-94b1-8cd0-fa8310e0b17d@bbiw.net>
From: Adam Roach <adam@nostrum.com>
Message-ID: <47fcd0be-e4b6-2efc-266a-2eaef6243346@nostrum.com>
Date: Wed, 09 Aug 2017 18:25:33 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <8cbaba50-a7d8-94b1-8cd0-fa8310e0b17d@bbiw.net>
Content-Type: multipart/alternative; boundary="------------DE03B6E4F5E51F1A36C360B9"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/_MXkmYprtv2E9QXii7dYB96IXvU>
Subject: Re: [art] draft-ietf-dnsop-attrleaf
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Aug 2017 23:25:46 -0000

On 8/2/17 7:42 PM, Dave Crocker wrote:
> On 8/2/2017 5:35 PM, John Levine wrote:
>> In article <426c7855-76f7-accf-52e0-45480c778ca4@dcrocker.net> you 
>> write:
>>>     2. Create a separate document that specifies modifications to the
>>> SRV and URI documents, rationalizing the use of underscore names,
>>> through the mechanism defined in -attrleaf-.
>>
>> It seems a bit late to change SRV.  Or would you only adjust the
>> documentation to match observed reality?
>
> The latter.  The change is to the registration process, not to SRV, 
> per se.  That is, take a snapshot of the existing SRV underscore usage 
> and re-specify it in terms of an underscore registry, rather than in 
> terms of an inheritance from another registry.

That would appear to call for a slightly more narrow scope than the 
current document, which claims to be registering underscore usage for 
SRV, TXT, and URI RRs as well as (and I don't quite get this) NAPTR RRs. 
The reason I don't get the NAPTR treatment is: my understanding of NAPTR 
records doesn't include any kind of underscore-prefixed name components 
at all. My knowledge of NAPTR is mostly informed by SIP's usage of 
NAPTR; but I'm pretty sure that, in a generic sense, the overall 
procedure here is to feed in an underscore-free name in as your query, 
and to get back a giant slew of records that indicate various available 
services in their respective "Service" fields, along with a string 
transform that should be applied to the original name, the result of 
which is then fed back into another query for the service of interest.

I have to concede that the situation around registration of NAPTR 
Service values has always baffled me, and section 9 of RFC 3403 makes 
essentially no sense as far as I can tell. SIP solved this problem in 
its little corner of the NAPTR world with the registry at 
<https://www.iana.org/assignments/sip-table/sip-table.xhtml>. I have no 
idea how other protocols are supposed to deal with this situation; or, 
indeed, how one might hope to avoid collisions if the "MPLS-TP Shared 
Ring Protection" mechanism and the "Message Session Relay Protocol" both 
decided to use a NAPTR Service value of "MSRP+D2T".

Practically, for this document, I would recommend having a unified table 
for SRV and URI records, initially containing:

 1. _tcp
 2. _udp
 3. _sctp (implict in rfc6733)

There's also the odd matter of _LDAP, _HTTP, and _OCSP, used by RFC4386 
in what I presume was a misunderstanding of what was meant by "Proto" in 
SRV's definition of that term -- I would think we want to put these in 
the table but mark them experimental and/or deprecated. In fact, I think 
we would want to stipulate that new entries in this registry cannot 
contain any value other than those registered at 
<https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml>.


I would recommend documenting and registering the underscore leaf nodes 
used by TXT records as a completely separate concern and in a different 
IANA table (although still as part of this document), as they mean 
something rather different than what's defined for SRV and URI. I 
believe the initial tables looks something like this at the moment 
(although I may have overlooked one or two):

 1. _domainkey
 2. _dmarc (rfc7489)
 3. _spf
 4. _vouch
 5. _tcp (implicit in rfc6764, rfc7808)


If you want to fix the NAPTR Service registry issue I highlight above, I 
would recommend doing this in a different document. It feels like a 
rather different problem, and the presence of the SIP registry (which 
would need to be subsumed into any complete registry) would seem to make 
it much more complicated to deal with.

/a