Re: [dnsext] draft-mohan-dns-query-xml-00.txt

Paul Hoffman <paul.hoffman@vpnc.org> Wed, 28 September 2011 23:23 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 EF63D11E80D0; Wed, 28 Sep 2011 16:23:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1317252197; bh=zThvMUws0Xa140UPDdFoXFKSdcC9RbgvlBZCbc1yxuQ=; h=Mime-Version:From:In-Reply-To:Date:Message-Id:References:To: Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Content-Type:Content-Transfer-Encoding:Sender; b=GRVbqrkyCdRjL3jWo66cFeNKt7Mh2dnCZ6zGuN5zUhf4v29QzxW+1oT4FrXFQZlIG /8s8fNMTB8kPFuFSaB3CmQ16W66ZWa4keWwdZHfxCh/DkZ8W9/tHdEQYmSBawI/XWl tk79RJbVEDav73lb8kIkRlSxPa18lA8gOcXHo7vk=
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 1B16311E80A0 for <dnsext@ietfa.amsl.com>; Wed, 28 Sep 2011 16:23:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.559
X-Spam-Level:
X-Spam-Status: No, score=-102.559 tagged_above=-999 required=5 tests=[AWL=0.040, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 w4O4d8JEmHdm for <dnsext@ietfa.amsl.com>; Wed, 28 Sep 2011 16:23:14 -0700 (PDT)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 70FD211E8088 for <dnsext@ietf.org>; Wed, 28 Sep 2011 16:23:14 -0700 (PDT)
Received: from [10.20.30.100] (50-0-66-4.dsl.dynamic.fusionbroadband.com [50.0.66.4]) (authenticated bits=0) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id p8SNQ3Zk038010 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for <dnsext@ietf.org>; Wed, 28 Sep 2011 16:26:03 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0 (Apple Message framework v1244.3)
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CACU5sDnBx5AijEgFXKNPjtcVdtBnBJamsn-f_ye0Jm3TQq0mvw@mail.gmail.com>
Date: Wed, 28 Sep 2011 16:26:02 -0700
Message-Id: <9D2E8A4D-484C-4F9C-B1B7-4DAE95D3B3DA@vpnc.org>
References: <CACU5sDnBx5AijEgFXKNPjtcVdtBnBJamsn-f_ye0Jm3TQq0mvw@mail.gmail.com>
To: DNSEXT Working Group <dnsext@ietf.org>
X-Mailer: Apple Mail (2.1244.3)
Subject: Re: [dnsext] draft-mohan-dns-query-xml-00.txt
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

(I sent Mohan and Paul comments offline yesterday. The following are the most significant.)

XML carries a lot of baggage with it. Instead of an XML format, JSON would be a lot easier. "response" is a dictionary; ID, aa, rcode, anscount are integers, answers is a list of integers. In the RR format, name, type, class, and rdlength are integers and ttl is an integer. rdata is a string of Base64 of the data with no escaping. 

Also, "anscount" and "rdlength" should not be there either for XML or JSON: they introduce a silly state.
 
--Paul Hoffman

_______________________________________________
dnsext mailing list
dnsext@ietf.org
https://www.ietf.org/mailman/listinfo/dnsext