Re: [dnsext] New RRtype "KREALM" in draft-vanrein-dnstxt-krb1-02.txt

Rick van Rein <rick@openfortress.nl> Fri, 11 September 2015 09:58 UTC

Return-Path: <rick@openfortress.nl>
X-Original-To: dnsext@ietfa.amsl.com
Delivered-To: dnsext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D28C61B4272 for <dnsext@ietfa.amsl.com>; Fri, 11 Sep 2015 02:58:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 zjBTEMum04Pw for <dnsext@ietfa.amsl.com>; Fri, 11 Sep 2015 02:58:42 -0700 (PDT)
Received: from lb2-smtp-cloud6.xs4all.net (lb2-smtp-cloud6.xs4all.net [194.109.24.28]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D10E1B2B07 for <dnsext@ietf.org>; Fri, 11 Sep 2015 02:58:42 -0700 (PDT)
Received: from airhead.local ([83.161.146.46]) by smtp-cloud6.xs4all.net with ESMTP id Flye1r00E10HQrX01lyf5S; Fri, 11 Sep 2015 11:58:40 +0200
Message-ID: <55F2A5CC.1080409@openfortress.nl>
Date: Fri, 11 Sep 2015 11:58:36 +0200
From: Rick van Rein <rick@openfortress.nl>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: Tony Finch <dot@dotat.at>
References: <55E868E8.6050504@openfortress.nl> <alpine.LSU.2.00.1509081536450.734@hermes-2.csi.cam.ac.uk>
In-Reply-To: <alpine.LSU.2.00.1509081536450.734@hermes-2.csi.cam.ac.uk>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsext/oUP3_uM_m3ogyMoTG0NJ6GJIS2w>
Cc: dnsext@ietf.org
Subject: Re: [dnsext] New RRtype "KREALM" in draft-vanrein-dnstxt-krb1-02.txt
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsext/>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Sep 2015 09:58:45 -0000

Hi Tony / list,

> Why not use the HINFO RDATA format to store the tag/value pairs? No need
> for embedding the sequence in the RDATA since RRsets already provide that.
> No need to embed a version number since RRtypes provide that.

Interesting suggestion, I wasn't aware of this possibility.  Indeed, a binary string with prefixed length should work, I see that escaping has been arranged in RFC 1035 and 255 data bytes isn't a strange upper limit for a string.

I can't seem to find a tag/value definition format for HINFO though; can you give me a reference?  I wanted to avoid requesting a parser that specific, but if it's already there then it's certainly a good idea.

Note that ASN.1 is a home game to Kerberos, so from that perspective the wire format makes a lot of sense, I think.  You are not proposing to change the wire format, right?

Thanks
 -Rick