Re: [DNSOP] DNS-in-JSON draft

"Paul Hoffman" <paul.hoffman@vpnc.org> Mon, 05 September 2016 17:40 UTC

Return-Path: <paul.hoffman@vpnc.org>
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 BDD5612B41C for <dnsop@ietfa.amsl.com>; Mon, 5 Sep 2016 10:40:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 4vydIQ_StOdV for <dnsop@ietfa.amsl.com>; Mon, 5 Sep 2016 10:40:17 -0700 (PDT)
Received: from mail.proper.com (Opus1.Proper.COM [207.182.41.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8E59B12B41E for <dnsop@ietf.org>; Mon, 5 Sep 2016 10:40:17 -0700 (PDT)
Received: from [10.32.60.63] (50-1-99-230.dsl.dynamic.fusionbroadband.com [50.1.99.230]) (authenticated bits=0) by mail.proper.com (8.15.2/8.14.9) with ESMTPSA id u85He9M3074091 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Sep 2016 10:40:10 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: mail.proper.com: Host 50-1-99-230.dsl.dynamic.fusionbroadband.com [50.1.99.230] claimed to be [10.32.60.63]
From: Paul Hoffman <paul.hoffman@vpnc.org>
To: Jerry Lundström <jerry@dns-oarc.net>
Date: Mon, 05 Sep 2016 10:40:09 -0700
Message-ID: <6239FBFC-7EB2-449C-BBA7-D0EAE0BF25D5@vpnc.org>
In-Reply-To: <e0aded33-9026-9b58-931b-a7549f25cc75@dns-oarc.net>
References: <DB336274-A631-471E-8277-D6690A87C834@vpnc.org> <e0aded33-9026-9b58-931b-a7549f25cc75@dns-oarc.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Mailer: MailMate (1.9.4r5234)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/7BpYgWG4kbBINdMc1cNcPXsoNo4>
Cc: dnsop WG <dnsop@ietf.org>
Subject: Re: [DNSOP] DNS-in-JSON draft
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 05 Sep 2016 17:40:19 -0000

On 5 Sep 2016, at 1:42, Jerry Lundström wrote:

> Overall looks good, just a few minor concerns with adaptation/
> interoperability:
>
> - Non-ASCII octets escaping "\DDD" may lead to broken implementations
> and/or encoding problem (oh so many printf()'ed JSON implementations 
> out
> there)

Sure, but I'm not sure what to do about this. It's not really a security 
consideration, and it's not really even about this format: that's true 
for any application that gets a host name in return to a PTR query, yes?

> - The use of "!" and "*" in object attribute names will make it hard 
> to
> use in language that can read JSON and give out native objects such as
> JavaScript.

Yeah, I thought about that: it sucks for most programming languages. 
Would people be happier if I used "B64" and "HEX" for trailers of names 
instead of "!" and "*"? I guess I'm in control of the naming and can be 
sure those don't appear at the end of object names.

--Paul Hoffman