Re: [Doh] No truncation for DNS over HTTPS

Tony Finch <dot@dotat.at> Thu, 22 March 2018 13:05 UTC

Return-Path: <dot@dotat.at>
X-Original-To: doh@ietfa.amsl.com
Delivered-To: doh@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C305F12D869 for <doh@ietfa.amsl.com>; Thu, 22 Mar 2018 06:05:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
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 aLLHbBkMUxcN for <doh@ietfa.amsl.com>; Thu, 22 Mar 2018 06:05:20 -0700 (PDT)
Received: from ppsw-42.csi.cam.ac.uk (ppsw-42.csi.cam.ac.uk [131.111.8.142]) (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 E5268124319 for <doh@ietf.org>; Thu, 22 Mar 2018 06:05:19 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from grey.csi.cam.ac.uk ([131.111.57.57]:34007) by ppsw-42.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25) with esmtps (TLSv1:ECDHE-RSA-AES256-SHA:256) id 1eyzuA-000YKO-7S (Exim 4.89_2) (return-path <dot@dotat.at>); Thu, 22 Mar 2018 13:05:18 +0000
Date: Thu, 22 Mar 2018 13:05:18 +0000
From: Tony Finch <dot@dotat.at>
To: Davey Song <songlinjian@gmail.com>
cc: doh@ietf.org
In-Reply-To: <CAAObRXJDV5Oa_d_S12HT2jqBuO=-AHOuMH8eKrac3BZ2bDxixw@mail.gmail.com>
Message-ID: <alpine.DEB.2.11.1803221302420.2781@grey.csi.cam.ac.uk>
References: <CAAObRXJDV5Oa_d_S12HT2jqBuO=-AHOuMH8eKrac3BZ2bDxixw@mail.gmail.com>
User-Agent: Alpine 2.11 (DEB 23 2013-08-11)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/4YtEU8hkYeVA-L_VNft1ViLOPfA>
Subject: Re: [Doh] No truncation for DNS over HTTPS
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: DNS Over HTTPS <doh.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/doh>, <mailto:doh-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/doh/>
List-Post: <mailto:doh@ietf.org>
List-Help: <mailto:doh-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/doh>, <mailto:doh-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Mar 2018 13:05:26 -0000

Davey Song <songlinjian@gmail.com> wrote:
>
> Although the dns-udpwireformat MIME type was defined, the dns wireformat
> data should not be treated as a datagram encapsulted in a HTTPs header but
> a new byte stream over HTTPs (similar with DNS TCP usage). No truncation
> loop is needed. Peopole may take it for granted, but It should be
> explicitely mentioned in this draft.

Agreed.

The implementation I would like (when DOH is implemented by a proxy in
front of an old-transport DNS server) has a pool of TCP connections from
the proxy to the back-end DNS server(s), over which incoming requests can
be multiplexed.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Forties, Cromarty, Forth, Tyne, Dogger: Southwest, backing south, 4 or 5,
increasing 6 or 7. Slight or moderate, becoming rough. Rain later. Good
occasionally poor.