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

Robert Edmonds <edmonds@isc.org> Thu, 29 September 2011 21:02 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 CFF7D21F8CC4; Thu, 29 Sep 2011 14:02:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1317330142; bh=DT9c8tC7yzGKJJ9Sj3frCLgMgk1trgea+USEG8l5Yuk=; h=To:From:Date:Message-ID:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: MIME-Version:Content-Type:Content-Transfer-Encoding:Sender; b=TX3IMR8NVY8PEIEns7kUNEKm4BHMgSKt2K4QYny47WDOsGiFsGkR1TG1goK2gJSyT 9rc0Ien4jossCTkHeBOjbfuyGKr/X/bcaI0rr/9IkBBU9hm1o3D/GUqMoAJGmq2Hgl kw10L3NfpYRPI2OoXnXLgHEzCusC23GEAR9sNk/A=
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 39B3F21F8C55 for <dnsext@ietfa.amsl.com>; Thu, 29 Sep 2011 14:02:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[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 skXQLIW4vDds for <dnsext@ietfa.amsl.com>; Thu, 29 Sep 2011 14:02:20 -0700 (PDT)
Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by ietfa.amsl.com (Postfix) with ESMTP id 5AE9021F8C4F for <dnsext@ietf.org>; Thu, 29 Sep 2011 14:02:20 -0700 (PDT)
Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <ietf-namedroppers@m.gmane.org>) id 1R9Nn2-0004Xb-9I for dnsext@ietf.org; Thu, 29 Sep 2011 23:05:08 +0200
Received: from chase.mycre.ws ([70.89.251.89]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <dnsext@ietf.org>; Thu, 29 Sep 2011 23:05:08 +0200
Received: from edmonds by chase.mycre.ws with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <dnsext@ietf.org>; Thu, 29 Sep 2011 23:05:08 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: dnsext@ietf.org
From: Robert Edmonds <edmonds@isc.org>
Date: Thu, 29 Sep 2011 20:55:26 +0000 (UTC)
Lines: 49
Message-ID: <j62lvu$cv5$1@dough.gmane.org>
References: <CACU5sDnBx5AijEgFXKNPjtcVdtBnBJamsn-f_ye0Jm3TQq0mvw@mail.gmail.com> <CA+9kkMAozdS=F8FF5SRz0gTCfz7nXch578ZtU7pi25NYwB=8-Q@mail.gmail.com> <alpine.LSU.2.00.1109291153110.30178@hermes-2.csi.cam.ac.uk>
X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: chase.mycre.ws
User-Agent: slrn/pre1.0.0-18 (Linux)
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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: dnsext-bounces@ietf.org
Errors-To: dnsext-bounces@ietf.org

On 2011-09-29, Tony Finch <dot@dotat.at> wrote:
> Ted Hardie <ted.ietf@gmail.com> wrote:
>>
>> Why not re-use the syntax of RFC4501 for the query? [...] It's also not
>> clear why you need an XML-based representation, rather than using a
>> mime-type like that set out in RFC 4027 (which uses detached domain name
>> information as set out in RFC 2540).  Even if those need updating, it's
>> not clear to me what you're gaining with the use of XML here.
>
> I agree with these suggestions and questions.
>
> I don't understand the interoperability argument. The software that will
> be producing and consuming this data is DNS software that already has
> parsers for binary DNS data, and doesn't have serializers or parsers for
> XML. Binary data is also much more friendly for mobile endpoints.
> Interoperability with non-DNS software should be handled by a separate
> gateway that doesn't put a disgustingly wasteful pessimization in the fast
> path.

hi,

i believe this is the first time i've ever posted to an IETF mailing
list, but as someone who writes DNS software and, less frequently, HTTP
software, i'd like to voice support for this point of view.

i don't believe that re-formatting DNS query messages is necessary for
transporting DNS over HTTP(S), and in fact any re-formatting is
effectively a "fork" of the DNS protocol.

i'd much rather see the thinnest possible mapping of DNS onto HTTP.  for
instance, an average DNS query packet length is around 49 octets.
simply hex-encoding the entire query message would not result in an
abnormally long URL, e.g.:

https://server/dns/00000010000100000000000100000200010000291000000080000000

here i've set the ID field to 0.  i suspect that in the majority of uses
the ID field could always be set to a fixed value, and this would aid
HTTP caching.  (speaking of which, you would also want to send a
"Cache-Control: max-age" header in the HTTP response with the max-age
set to the minimum of all RRset TTL values in the DNS response.)

the actual HTTP response payload would simply be a binary wire-format
DNS response message, possibly with a leading two byte length field like
plain TCP DNS.

-- 
Robert Edmonds
edmonds@isc.org

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