Re: [DNSOP] Should we try to work on DNS over HTTP in dnsop?

Tony Finch <dot@dotat.at> Mon, 21 December 2015 13:13 UTC

Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4875B1A1A6A for <dnsop@ietfa.amsl.com>; Mon, 21 Dec 2015 05:13:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.789
X-Spam-Level:
X-Spam-Status: No, score=0.789 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 SlQ-1QYgFWaG for <dnsop@ietfa.amsl.com>; Mon, 21 Dec 2015 05:13:13 -0800 (PST)
Received: from ppsw-32.csi.cam.ac.uk (ppsw-32.csi.cam.ac.uk [131.111.8.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7F52E1A1A69 for <dnsop@ietf.org>; Mon, 21 Dec 2015 05:13:13 -0800 (PST)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-2.csi.cam.ac.uk ([131.111.8.54]:35089) by ppsw-32.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25) with esmtpa (EXTERNAL:fanf2) id 1aB0H0-000aS5-1K (Exim 4.86_36-e07b163) (return-path <fanf2@hermes.cam.ac.uk>); Mon, 21 Dec 2015 13:13:10 +0000
Received: from fanf2 by hermes-2.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1aB0H0-00080W-Ca (Exim 4.72) (return-path <fanf2@hermes.cam.ac.uk>); Mon, 21 Dec 2015 13:13:10 +0000
Date: Mon, 21 Dec 2015 13:13:10 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-2.csi.cam.ac.uk
To: Paul Vixie <paul@redbarn.org>
In-Reply-To: <1999760.RBe1cJlAWr@linux-85bq.suse>
Message-ID: <alpine.LSU.2.00.1512211307360.959@hermes-2.csi.cam.ac.uk>
References: <20151217020754.6915b71c@pallas.home.time-travellers.org> <1999755.oExeQdjcfZ@linux-85bq.suse> <20151220220358.52594.qmail@f5-external.bushwire.net> <1999760.RBe1cJlAWr@linux-85bq.suse>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/WsJ2h7neF-WhDQIICim3KYTbXHw>
Cc: dnsop@ietf.org, Mark Delany <f4t@november.emu.st>
Subject: Re: [DNSOP] Should we try to work on DNS over HTTP in dnsop?
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Dec 2015 13:13:15 -0000

Paul Vixie <paul@redbarn.org> wrote:
>
> any HTTP initiator who wants out of order response processing will have
> to negotiate for it (see mogul's 2001 RID draft) and will then have new
> responsibilities for matching up the out of order HTTP responses with
> then-outstanding HTTP requests.

The current way to deal with out-of-order responses and head-of-line
blocking in HTTP is HTTP/2.

If you do DNS over HTTP then there has to be an exact correspondence
between HTTP requests and responses and DNS requests and responses -
anything else would be madness. This implies that DNS over HTTP/1 only
supports in-order pipelined queries and responses in each connection; to
avoid head-of-line blocking you need either multiple connections or
HTTP/2.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Humber, Thames, Dover: Southwest 6 to gale 8, occasionally severe gale 9.
Rough or very rough. Rain or showers. Good, occasionally poor.