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

Wilmer van der Gaast <wilmer@google.com> Thu, 29 September 2011 00:28 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 59C7211E8158; Wed, 28 Sep 2011 17:28:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1317256123; bh=kI9x6WAmA49s4Jg4M9rIzURCyGDeJAuQeVcHDBJvNuw=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:From:To:Cc: Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Content-Type:Content-Transfer-Encoding:Sender; b=fZasZeGJBfLr3mIQbCdOPG6h6hu+XI5n2QXfx4u+p+QXSh7dqJOkaKynXQ+PDAYnk /K0ceLHK7rBvHZKeqX/tMbF5ZY9csdMyEJNG52KrtBpRm3bxFjEC1kLQWfAxOYgmcn gfmkcNXO5cyLAJIukZLakHLxrpcj6/pAWsTLQpUQ=
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 5C9BD11E8155 for <dnsext@ietfa.amsl.com>; Wed, 28 Sep 2011 17:28:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.977
X-Spam-Level:
X-Spam-Status: No, score=-105.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, 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 jZ0Jy7dugkdU for <dnsext@ietfa.amsl.com>; Wed, 28 Sep 2011 17:28:40 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by ietfa.amsl.com (Postfix) with ESMTP id C3F1D11E8144 for <dnsext@ietf.org>; Wed, 28 Sep 2011 17:28:40 -0700 (PDT)
Received: from wpaz21.hot.corp.google.com (wpaz21.hot.corp.google.com [172.24.198.85]) by smtp-out.google.com with ESMTP id p8T0VUXT015705 for <dnsext@ietf.org>; Wed, 28 Sep 2011 17:31:30 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1317256290; bh=TZoIzCO5xkiirvaxYpdxwddjieI=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=QytmxgNzgcMMluanrlWRlALcyrsBZ7h4uV3PsUAuFQ9CHc6aIrxkJXxGqKE8jTlVD TMhzIg9LtJd1cqxdStbPg==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:mime-version:in-reply-to:references:date: message-id:subject:from:to:cc:content-type:x-system-of-record; b=RUSnd0RqVnr+dRskc5t18+SD+255g3dQCbc+L5dE1BZ7cIlvTjI71B2y8a0JLjL7T VuOzW6eO7kzOadTYingow==
Received: from iabz21 (iabz21.prod.google.com [10.12.102.21]) by wpaz21.hot.corp.google.com with ESMTP id p8T0Thsk018753 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <dnsext@ietf.org>; Wed, 28 Sep 2011 17:31:29 -0700
Received: by iabz21 with SMTP id z21so95469iab.37 for <dnsext@ietf.org>; Wed, 28 Sep 2011 17:31:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=07PTyMoGDoybrYXptI1T1tBVDlJbeZ9qolaCBMYV+9A=; b=NylPxOEjTYURWEK0MI03YDgUj3E00Spp3IrYL9EoA8fQRpuHzXjxxxIBfAEJLvLXHr dcHGDCDacSUMBYYluVqQ==
Received: by 10.231.6.79 with SMTP id 15mr13628259iby.52.1317256288900; Wed, 28 Sep 2011 17:31:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.6.79 with SMTP id 15mr13628250iby.52.1317256288762; Wed, 28 Sep 2011 17:31:28 -0700 (PDT)
Received: by 10.231.35.77 with HTTP; Wed, 28 Sep 2011 17:31:28 -0700 (PDT)
In-Reply-To: <CACU5sDmdzt-hO4mqOvPw5PrTP3oWB3ADDh4JkpNoKdMrJ4wcFA@mail.gmail.com>
References: <CACU5sDnBx5AijEgFXKNPjtcVdtBnBJamsn-f_ye0Jm3TQq0mvw@mail.gmail.com> <CAMbvoaK4fYg8r9JigO9gGf66EUxF-oYC5Bk5TnWmy9=zmUs-KA@mail.gmail.com> <CACU5sDmdzt-hO4mqOvPw5PrTP3oWB3ADDh4JkpNoKdMrJ4wcFA@mail.gmail.com>
Date: Wed, 28 Sep 2011 17:31:28 -0700
Message-ID: <CAMbvoaJFsi=Lpx8EMTcjjtrsrRW8hB+r7ym56jsqsk_JNW1R7Q@mail.gmail.com>
From: Wilmer van der Gaast <wilmer@google.com>
To: Mohan Parthasarathy <suruti94@gmail.com>
X-System-Of-Record: true
Cc: Paul Vixie <vixie@isc.org>, dnsext@ietf.org
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

On 28 September 2011 16:57, Mohan Parthasarathy <suruti94@gmail.com> wrote:
>
> If we can avoid hardcoding that would be nice. I am not sure I
> understand your proposal. Could you clarify ? The initial thought is
> that it would be nice to access it in a standard way but I do see the
> issues you noted above.
>
Basically what I'm suggesting is that instead of an IP address, the
user fills in a base URL. In your example on page 10 the base URL
would be "https://server_address/dns_service/". The client
implementation just glues query?name=.... to that base URL to get the
exact URL to query.

This lets me put the dns service under a different path, like for
example just /dns ... or I could have a /dns and a /dns-secure for
people who already want strict DNSSEC validation even though it may
make some names unresolvable.

>> B) Nit, but why not convert the booleans in responses from
>> <xx>value</xx> into <xx/> if it's 1 and <xx/> being absent if it's 0?
> Is this a standard approach ? Or it saves bytes ?
>
It saves bytes, IMHO it looks clearer and also it's (again IMHO)
easier to parse; you just check if the element is present or not,
instead of finding it and evaluating it (what to do if the text value
is not 0 or 1?).


Cheers,

-- 
Wilmer van der Gaast, Traffic SRE/Google Public DNS team.
Google Ireland.
_______________________________________________
dnsext mailing list
dnsext@ietf.org
https://www.ietf.org/mailman/listinfo/dnsext