Re: [DNSOP] Self-describing RTYPE in the DNS, draft-levine-dnsextlang (was DNS-in-JSON draft)

"John R Levine" <johnl@taugh.com> Tue, 06 September 2016 16:20 UTC

Return-Path: <johnl@taugh.com>
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 CBA9C12B226 for <dnsop@ietfa.amsl.com>; Tue, 6 Sep 2016 09:20:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1536-bit key) header.d=iecc.com header.b=Jhj5aEL5; dkim=pass (1536-bit key) header.d=taugh.com header.b=YdbtiV3K
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 E2Xgtf12wcMM for <dnsop@ietfa.amsl.com>; Tue, 6 Sep 2016 09:20:09 -0700 (PDT)
Received: from miucha.iecc.com (abusenet-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:1126::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 20B70127058 for <dnsop@ietf.org>; Tue, 6 Sep 2016 09:20:09 -0700 (PDT)
Received: (qmail 75950 invoked from network); 6 Sep 2016 16:20:07 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent; s=128ad.57ceecb7.k1609; bh=oeoQnFh1N0mkl+On5+YWsi5mk0SUDj3xljABITBnqgY=; b=Jhj5aEL5DuFEygqyGAIyFPl0JeY8hC4U6kVugMrU2mjSDrzCafpRc6OswuRWcnofZXn5KT7jOnIQavsMadcwnNP/63xiet/LNUu05nh+4UzffQ3/ab1ABPKRt8N+FjXNN3fASOfekqWY/HU1VVtiilUqva63RHB+zBVD/hHrq/LV0evUbskjsu7DAaWeTPgJH7+fFmPEAjepC9OMtpb1w1+X6bKdUpqchU1iBwpVc8oP5jYYDVlK76c/bAmwU+/B
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent; s=128ad.57ceecb7.k1609; bh=oeoQnFh1N0mkl+On5+YWsi5mk0SUDj3xljABITBnqgY=; b=YdbtiV3KwBln+8BJKzX9/gMcC+IzYz3ePBAhOdS2omIEbjgNyebdGLiJNTDBiy9mxURBibUDENVkAl8dBfaFatyPpgJmgYnJ600ZmStTDequX1kycZx/0QvuRgIdnF6qYwAjLc/3D921daX1ZIVLNK3IecOfJjr+HWhlltX3D8+v3GRF2exLXywIkQOam1MddHG/9XYV+F8NTcBXVpXrU2iX1veO/cgL9d91sVua2sdsh0vr2LHBZv/ojgwBCTRS
Received: from localhost ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.0/X.509/SHA1) via TCP6; 06 Sep 2016 16:20:07 -0000
Date: Tue, 06 Sep 2016 12:20:07 -0400
Message-ID: <alpine.OSX.2.11.1609061217270.24706@ary.lan>
From: John R Levine <johnl@taugh.com>
To: Shane Kerr <shane@time-travellers.org>
In-Reply-To: <20160906123610.741452e4@pallas.home.time-travellers.org>
References: <20160905154737.5a1c67e5@pallas.home.time-travellers.org> <20160905163800.23620.qmail@ary.lan> <20160906123610.741452e4@pallas.home.time-travellers.org>
User-Agent: Alpine 2.11 (OSX 23 2013-08-11)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/2BChK7FFF67433OR8O7LMYnsGYk>
Cc: dnsop@ietf.org
Subject: Re: [DNSOP] Self-describing RTYPE in the DNS, draft-levine-dnsextlang (was 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: Tue, 06 Sep 2016 16:20:11 -0000

>> If you want to do that, you could probably piggyback it on my recently
>> revived draft-levine-dnsextlang.
>
> Interesting. I vaguely remember someone (Olafur?) also had a similar
> approach to dynamically describing RTYPE in the DNS itself. Or maybe
> it was actually this draft that I am thinking of?

This is it.  See https://datatracker.ietf.org/doc/draft-levine-dnsextlang/

> I think it's a reasonable idea. Have you done the work of going through
> the existing RR types and describing them in this language? (I seem to
> recall a previous attempt was mostly successful, with some issues with
> the LOC type.)

That's the eventual plan, although there is a long tail of funky field 
types found only in RRs that nobody uses any more.

I have some funding to implement it, so I'm doing the useful parts first 
to see if I run into unexpected problems.  It took about 15 minutes to 
realize that it needs to let you name the fields as well as describe them, 
if you want to refer to the fields from other code.

R's,
John