Re: [dnsext] draft-levine-dnsextlang-02

Tony Finch <dot@dotat.at> Thu, 29 March 2012 11:45 UTC

Return-Path: <dnsext-bounces@ietf.org>
X-Original-To: namedroppers-archive-gleetwall6@lists.ietf.org
Delivered-To: ietfarch-namedroppers-archive-gleetwall6@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 10FF121F897D; Thu, 29 Mar 2012 04:45:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1333021532; bh=PdOJOGQEzFigM52VyH8MnsECOMcBdvdxfR6yupyrdPs=; h=Date:From:To:In-Reply-To:Message-ID:References:MIME-Version:Cc: Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Content-Type:Content-Transfer-Encoding:Sender; b=c5r40BdphvzWJJcOkB8x3k6FiE2ENfgCMaSjsMiSuBc1f6CfapF0UXraQ3QZGVgVN Xix/7cPmHu2zzELT90G/YmKLbR4gVItAslRY+uwkZxA1jhNroBbkEEaCGpFfVeSjdr JiP/sX8mokiwzdkmhqCs19zXbJMCKMvtqZgTxD6o=
X-Original-To: dnsext@ietfa.amsl.com
Delivered-To: dnsext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B16B021F8913 for <dnsext@ietfa.amsl.com>; Thu, 29 Mar 2012 04:45:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.474
X-Spam-Level:
X-Spam-Status: No, score=-6.474 tagged_above=-999 required=5 tests=[AWL=0.125, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AHO8NDX2YpEx for <dnsext@ietfa.amsl.com>; Thu, 29 Mar 2012 04:45:28 -0700 (PDT)
Received: from ppsw-52.csi.cam.ac.uk (ppsw-52.csi.cam.ac.uk [131.111.8.152]) by ietfa.amsl.com (Postfix) with ESMTP id EDB8621F89E2 for <dnsext@ietf.org>; Thu, 29 Mar 2012 04:45:25 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-2.csi.cam.ac.uk ([131.111.8.54]:52987) by ppsw-52.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:25) with esmtpa (EXTERNAL:fanf2) id 1SDDn8-0007yv-Fa (Exim 4.72) (return-path <fanf2@hermes.cam.ac.uk>); Thu, 29 Mar 2012 12:45:23 +0100
Received: from fanf2 (helo=localhost) by hermes-2.csi.cam.ac.uk (hermes.cam.ac.uk) with local-esmtp id 1SDDn8-00029m-7m (Exim 4.67) (return-path <fanf2@hermes.cam.ac.uk>); Thu, 29 Mar 2012 12:45:22 +0100
Date: Thu, 29 Mar 2012 12:45:22 +0100
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-2.csi.cam.ac.uk
To: Miek Gieben <miek@miek.nl>
In-Reply-To: <20120329111837.GB17832@miek.nl>
Message-ID: <alpine.LSU.2.00.1203291225120.3931@hermes-2.csi.cam.ac.uk>
References: <20120329111837.GB17832@miek.nl>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Cc: dnsext list <dnsext@ietf.org>
Subject: Re: [dnsext] draft-levine-dnsextlang-02
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: dnsext-bounces@ietf.org
Errors-To: dnsext-bounces@ietf.org

Miek Gieben <miek@miek.nl> wrote:
>
> * Base32 should be supported in the rdata (for NSEC3).
> * There probably should be an rdata type called BitMap (for NSEC/NSEC3).

Yes.

> * NSEC3 has a salt length which isn't used in the text representation of the
>   record. How is this handled?

There should probably be a qualifier for a length prefix on hex data, as
there is for base64.

> * The HIP record also has fields not used in the text representation: "PK length
>   field".
> * The HIP record ends with an array of domain names. How should that be encoded?
> * The HIP contains a base64 field that can not contain spaces in the
>   presentation format (unlike all other b64 fields in other RRs). How to deal
>   with that?

HIP RDATA is horrible. It would be slightly easier if the length fields
prefixed the data they describe. The non-standard base64 restriction is
ugly. The rendezvois servers should probably be listed in separate RRs of
a different type, which would also solve the base64 problem. I think that
awkward RRtypes like this should have special case handling, e.g. describe
the RDATA as a single field of HIP type, or just leave it to RFC 3597
generic representation.

Ideally in the future RRDATA layouts will be simpler than this.

>   Same holds true for TXT records.

There are qualifiers to specify multi-field textual data.

> * The IPSECKEY RR uses some internal subtyping: if "gatewaytype" is 0 there is no
>   gateway. If it is 1 or 2 its an IP address and if its 3 the gateway is a
>   domain name. How to encode that?

Again I think this has to be handled in special case code. Really they
should have used a different RR type for each layout.

Another awkward case is the variable-length IPv6 address field in A6
records, but that has been deprecated forcefully enough that it is no
problem to handle with RFC 3597 generic layout.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Dogger: Northwesterly 5 or 6, occasionally 7 in northeast. Moderate or rough.
Fair. Moderate or good.
_______________________________________________
dnsext mailing list
dnsext@ietf.org
https://www.ietf.org/mailman/listinfo/dnsext