Re: [Doh] [Ext] DNS Camel thoughts: TC and message size

Dave Lawrence <tale@dd.org> Fri, 08 June 2018 21:31 UTC

Return-Path: <tale@dd.org>
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 610F9131048 for <doh@ietfa.amsl.com>; Fri, 8 Jun 2018 14:31:27 -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, 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 fGEHK9K4zpg4 for <doh@ietfa.amsl.com>; Fri, 8 Jun 2018 14:31:25 -0700 (PDT)
Received: from gro.dd.org (gro.dd.org [207.136.192.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8E630131047 for <doh@ietf.org>; Fri, 8 Jun 2018 14:31:25 -0700 (PDT)
Received: by gro.dd.org (Postfix, from userid 102) id 42A6823E96; Fri, 8 Jun 2018 17:31:24 -0400 (EDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-ID: <23322.62892.251560.128565@gro.dd.org>
Date: Fri, 08 Jun 2018 17:31:24 -0400
From: Dave Lawrence <tale@dd.org>
To: Ólafur Guðmundsson <olafur@cloudflare.com>
Cc: Mark Nottingham <mnot@mnot.net>, Patrick McManus <pmcmanus@mozilla.com>, DoH WG <doh@ietf.org>, bert hubert <bert.hubert@powerdns.com>
In-Reply-To: <CAN6NTqxA4PcrtS_3umwGERLt9WPoX4p0a0u8pL-O2=CKKTBfyA@mail.gmail.com>
References: <20180606093212.GA23880@server.ds9a.nl> <alpine.DEB.2.11.1806061501340.10764@grey.csi.cam.ac.uk> <F5774061-35B9-477F-ADDA-8BB3472F30EF@icann.org> <CAOdDvNq9g3ghbg9fkfhP+ZA4-6E5oDNFCGo6NN9bydqUX76cLA@mail.gmail.com> <20180607093647.GB32326@server.ds9a.nl> <CAOdDvNriZDjU9yqUQjqN4fO84ENPWO3si-QePiKRgt+7VJVK0g@mail.gmail.com> <23321.27027.73356.94056@gro.dd.org> <CAOdDvNr=kLHPCtCHRx4=rpA1oDogQqdAJ0nR156BWABiFP_bzA@mail.gmail.com> <20180607215851.GA32738@server.ds9a.nl> <CAOdDvNqNpZ8fKPCO5sEqjROBHjg4wx-GGPMYSSynode10jeC0Q@mail.gmail.com> <9381B529-B2F4-459A-88EB-4410A4C4DB6F@mnot.net> <CAN6NTqxA4PcrtS_3umwGERLt9WPoX4p0a0u8pL-O2=CKKTBfyA@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/oYuX9BSjtZ7RvXvd1o1taISMqRo>
Subject: Re: [Doh] [Ext] DNS Camel thoughts: TC and message size
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.26
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: Fri, 08 Jun 2018 21:31:28 -0000

Ólafur Guðmundsson writes:
> Actually I think what DNS people are concerned about is:
>  Query over DNS ==> DoH ==> Auth server generates big answer ==> Doh
>  Reply => Answer over DNS fails due to size limit.

I'm a DNS person and I don't have a concern about this.  The software
that gets an answer over HTTPS that is too big for the implementer to
want to handle, whether for technical or philosophical reasons, is
free to just not handle it.

Any software that is taking a DoH answer from an HTTPS channel is
brand new software, not some legacy problem that we have to worry
about.  If it imposes size limits before passing it on to whatever
legacy code it wants to pass it on to, so be it.  The new software
shouldn't be just blindly passing whatever data it gets into some
legacy parser anyway, especially if the draft comes with an
admonishment to be wary of that very thing.

The DoH recipient will of course be fundamentally incapable of turning
a > 64k DNS/HTTPS answer into a > 64k answer on DNS/UDP or DNS/TCP, so
nothing on the other end of DNS/UDP and DNS/TCP will be dealing with
any new problem.

In the end, what onerous "fails due to size limit" problem is there?
We've already had a demonstration on the list today of a DNS server,
with no HTTPS involved at all, having a zone with a > 64k RRset that
it can't send over faithfully DNS/UDP or DNS/TCP.  Clearly some legacy
software is already cognizant of things that should be representable
in DNS wire format but just can't be because of a legacy transport
limit.  All it means is that the client that wants the data can't get
it in a pre-DoH world, but the world keeps revolving nonetheless.