Re: [dnsoverhttp] New draft: draft-hoffman-dns-over-http-00.txt

Martin Thomson <martin.thomson@gmail.com> Wed, 21 September 2016 02:21 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: dnsoverhttp@ietfa.amsl.com
Delivered-To: dnsoverhttp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D79E12B17A for <dnsoverhttp@ietfa.amsl.com>; Tue, 20 Sep 2016 19:21:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 T0n51C6CvkFQ for <dnsoverhttp@ietfa.amsl.com>; Tue, 20 Sep 2016 19:21:37 -0700 (PDT)
Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 03A4012B16B for <dnsoverhttp@ietf.org>; Tue, 20 Sep 2016 19:21:37 -0700 (PDT)
Received: by mail-qt0-x235.google.com with SMTP id l91so16466187qte.3 for <dnsoverhttp@ietf.org>; Tue, 20 Sep 2016 19:21:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WDP7wbv4yqLM/g//xNpDX9YxORY8WF0WwJZz53Y6HOw=; b=T/uGZjAk4j8QvbXYXfE6/xnwD2DgDy9f30MfNB9vI5zB9X0etvEIkSmCfsrUaxCIJQ rXq1nCK+WUukevhnf8ZZ9BmuhrWxgqOpdcEuNY7dv8xpm6fgz3nbR0P00pATS5Q3rYsN bVSDZ0rBXuGYdWzrcfed7rpSuWVYV1V+hrUO9qcMKUoUPRiY2I+X/FScBpYN5Sd2A8pz n3I6XB9RNVtcOHbCMu0/snziEu5O+6vPlEApwxTKfrO8QEBPUS0jHc+kr1n6htqNJXHM dJlIZW7oR+6lAmKmBhjnGnSzKtEh/MukaRksNeSMBXaTPfACPLIEpXB2KBTWdWogZJQl FWag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WDP7wbv4yqLM/g//xNpDX9YxORY8WF0WwJZz53Y6HOw=; b=CbuNxl6Z7ILJol00ZixyxPb2uKlSd05v7J05Sw/mrr3hXo6/5eDZ9KFwqyFIqqo6K9 102CuYGPIBOhTr+lICW8bywCLMTc5HG7uAf2t7IPom+1wqa/qazfLlWo0Fz1JJUI1KoT gwOamBT96VucTSTtp5MCp9xuENywILbO/6Ku32vv7IP+Vhm3QY0tSw2S4atTG3LPfYiG KO0k73v0iSH7l3ufMA5R8y4dksRESGeT3Ao74kOsHtxw64F1BIigLUZpcIQsdCW38EjZ LjWowjaqWYVnqKsj4TO3n/2PXhvO5lbsMRdGtdLSyy6Zkf/z1ZjRocWJol31YEItUSCG /mcg==
X-Gm-Message-State: AE9vXwP9XevZCv6s2i9Aj96I//+e1/X2KHC9uqfHTsVl+QS7IO9ea8ctQUTmFqSwPQPeItGzReAs5XcweSexgw==
X-Received: by 10.200.41.54 with SMTP id y51mr38376427qty.83.1474424496197; Tue, 20 Sep 2016 19:21:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.22.146 with HTTP; Tue, 20 Sep 2016 19:21:35 -0700 (PDT)
In-Reply-To: <D1E3CC44-FE5A-4ACE-90A1-EF9B5EE975D7@icann.org>
References: <147438228195.28999.4355943522486567954.idtracker@ietfa.amsl.com> <D1E3CC44-FE5A-4ACE-90A1-EF9B5EE975D7@icann.org>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Wed, 21 Sep 2016 12:21:35 +1000
Message-ID: <CABkgnnW5kOQGhZ59MevLuck_B7pBrDHRdUvQ-SyiA+JSNwHv9w@mail.gmail.com>
To: Paul Hoffman <paul.hoffman@icann.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsoverhttp/KKKHGBBqM3gsBpKUT8Thd7uZkVc>
Cc: "dnsoverhttp@ietf.org" <dnsoverhttp@ietf.org>
Subject: Re: [dnsoverhttp] New draft: draft-hoffman-dns-over-http-00.txt
X-BeenThere: dnsoverhttp@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussion of DNS over HTTP <dnsoverhttp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsoverhttp>, <mailto:dnsoverhttp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsoverhttp/>
List-Post: <mailto:dnsoverhttp@ietf.org>
List-Help: <mailto:dnsoverhttp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsoverhttp>, <mailto:dnsoverhttp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Sep 2016 02:21:39 -0000

Generally speaking, I like this.

1. caching is not discussed, seems like it might relate to TTL somehow
2. .invalid might be a poor choise:
https://tools.ietf.org/html/rfc6761#section-6.4
3. do we really need "id"?  adding extra correlators invites all sorts of crazy

The format is important: we should not just bungle a DNS message in a
response, for example, additionalRRs is an area that might be
addressed with server push.  The JSON format is somewhat in the right
direction, but it needs a lot of work (this is my go native comment,
consistent with your stated goal to be native).

On 21 September 2016 at 00:54, Paul Hoffman <paul.hoffman@icann.org> wrote:
>> Name:         draft-hoffman-dns-over-http