Re: [Doh] No truncation for DNS over HTTPS

Ray Bellis <ray@bellis.me.uk> Thu, 22 March 2018 10:24 UTC

Return-Path: <ray@bellis.me.uk>
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 BCC1C1205D3 for <doh@ietfa.amsl.com>; Thu, 22 Mar 2018 03:24:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 2WvEQAtK3NPQ for <doh@ietfa.amsl.com>; Thu, 22 Mar 2018 03:24:24 -0700 (PDT)
Received: from hydrogen.portfast.net (hydrogen.portfast.net [188.246.200.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8BB061200C5 for <doh@ietf.org>; Thu, 22 Mar 2018 03:24:24 -0700 (PDT)
Received: from dhcp-9ab5.meeting.ietf.org ([31.133.154.181]:54043) by hydrogen.portfast.net ([188.246.200.2]:465) with esmtpsa (fixed_plain:ray@bellis.me.uk) (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1eyxOQ-0005dp-Jf (Exim 4.72) for doh@ietf.org (return-path <ray@bellis.me.uk>); Thu, 22 Mar 2018 10:24:22 +0000
To: doh@ietf.org
References: <CAAObRXJDV5Oa_d_S12HT2jqBuO=-AHOuMH8eKrac3BZ2bDxixw@mail.gmail.com>
From: Ray Bellis <ray@bellis.me.uk>
Message-ID: <a8949b7b-5717-6d63-af70-984894e6a571@bellis.me.uk>
Date: Thu, 22 Mar 2018 10:24:32 +0000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <CAAObRXJDV5Oa_d_S12HT2jqBuO=-AHOuMH8eKrac3BZ2bDxixw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/IEuqqfPbEaOM-UGiZv0YFahY2GU>
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 10:24:26 -0000

On 22/03/2018 09:20, Davey Song 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.   

If the DNS API Server is proxying between DOH and a real UDP DNS server
then the UDP DNS server might still set the TC bit and the proxy could
return that, so the client may still have to cope with +TC.

The alternative is that the proxy has to have sufficient smarts to
recognise the returned +TC and re-issue the request over TCP to the
backend DNS server.

Ray