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

Mark Andrews <marka@isc.org> Thu, 10 August 2017 03:15 UTC

Return-Path: <marka@isc.org>
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 B7DFD132533 for <art@ietfa.amsl.com>; Wed, 9 Aug 2017 20:15:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 1Uhh8hXQq9m5 for <art@ietfa.amsl.com>; Wed, 9 Aug 2017 20:15:03 -0700 (PDT)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [199.6.1.65]) (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 74A9A132529 for <art@ietf.org>; Wed, 9 Aug 2017 20:15:02 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.ams1.isc.org (Postfix) with ESMTPS id 54DEF24AE13; Thu, 10 Aug 2017 03:13:32 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id D5117160042; Thu, 10 Aug 2017 03:13:37 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id C0DFF1600A3; Thu, 10 Aug 2017 03:13:37 +0000 (UTC)
Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id mDLtzitE9V1H; Thu, 10 Aug 2017 03:13:37 +0000 (UTC)
Received: from rock.dv.isc.org (c27-253-115-14.carlnfd2.nsw.optusnet.com.au [27.253.115.14]) by zmx1.isc.org (Postfix) with ESMTPSA id 3E6F4160042; Thu, 10 Aug 2017 03:13:37 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id DDC5081EE5DB; Thu, 10 Aug 2017 13:13:34 +1000 (AEST)
To: Adam Roach <adam@nostrum.com>
Cc: John R Levine <johnl@taugh.com>, art@ietf.org, Dave Crocker <dcrocker@bbiw.net>
From: Mark Andrews <marka@isc.org>
References: <20170803003526.2349.qmail@ary.lan> <8cbaba50-a7d8-94b1-8cd0-fa8310e0b17d@bbiw.net> <47fcd0be-e4b6-2efc-266a-2eaef6243346@nostrum.com> <alpine.OSX.2.21.1708091935040.35501@ary.qy> <0ce197ca-64ee-bbcf-0c42-779996742113@nostrum.com>
In-reply-to: Your message of "Wed, 09 Aug 2017 21:52:10 -0500." <0ce197ca-64ee-bbcf-0c42-779996742113@nostrum.com>
Date: Thu, 10 Aug 2017 13:13:34 +1000
Message-Id: <20170810031334.DDC5081EE5DB@rock.dv.isc.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/AJuJwa6bTWrd9nDWGFNz4zLnqh8>
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: Thu, 10 Aug 2017 03:15:05 -0000

In message <0ce197ca-64ee-bbcf-0c42-779996742113@nostrum.com>, Adam Roach write
s:
> On 8/9/17 6:36 PM, John R Levine wrote:
> > See rfc3588 which has some _sctp names for NAPTR records. 
> 
> 
> I presume you're referring to the example in Appendix B? I can see how 
> it might look like that on first glance, but a careful parsing of what's 
> there shows that the only reason it looks like that is because there's 
> been some formatting damage. The literal text that's there is:
> 
>     ;;          order pref flags service           regexp  replacement
>        IN NAPTR 50   50  "s"  "AAA+D2S"           ""
>        _diameter._sctp.example.com IN NAPTR 100  50  "s"  "AAA+D2T"
>        ""  _aaa._tcp.example.com
> 
> This is accompanied with an explanation that there are two NAPTR records 
> present (one for AAA+D2S and one for AAA+D2T). I suppose you're reading 
> the second line of this text to say "the host 
> _diameter._sctp.example.com has an NAPTR record for 'AAA+D2T', with an 
> empty regexp and a replacement of '_aaa._tcp.example.com"
> 
> Aside from that being kind of nonsense, I'll note that the *first* 
> record (if this "_diameter._sctp.example.com" string is part of the 
> second record) has no replacement value -- which clearly doesn't work.
> 
> The only way this makes sense is if you read the first record as:
> 
>    IN NAPTR 50   50  "s"  "AAA+D2S"  ""  _diameter._sctp.example.com
> 
> ...and the second record as:
> 
>    IN NAPTR 100  50  "s"  "AAA+D2T"  ""  _aaa._tcp.example.com
> 
> ...at which point it becomes clear that the underscores are only in the 
> "replacement" field, and not used as input for NAPTR.
> 
> I'll file an erratum.
> 
> /a

While you are reporting the NAPTR records the formatting the SRV
records is also poorly presented.  Line breaks and indenting is
critical.

   ;;          Priority Weight Port   Target
      IN SRV  0        1      5060   server1.example.com IN SRV  0
      2      5060   server2.example.com

should be

  ;;          Priority Weight Port   Target
      IN SRV  0        1      5060   server1.example.com
      IN SRV  0	       2      5060   server2.example.com


Personally I would have had the owner names there as well but I didn't
write this document.

> _______________________________________________
> art mailing list
> art@ietf.org
> https://www.ietf.org/mailman/listinfo/art
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org