Re: [Doh] [Ext] Proposal to close off these threads

Tony Finch <dot@dotat.at> Tue, 12 June 2018 13:31 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 21CC0130E27 for <doh@ietfa.amsl.com>; Tue, 12 Jun 2018 06:31:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, URIBL_BLOCKED=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 G_cWDreLPNOb for <doh@ietfa.amsl.com>; Tue, 12 Jun 2018 06:31:47 -0700 (PDT)
Received: from ppsw-30.csi.cam.ac.uk (ppsw-30.csi.cam.ac.uk [131.111.8.130]) (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 EF174130E3C for <doh@ietf.org>; Tue, 12 Jun 2018 06:31:46 -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]:39464) by ppsw-30.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25) with esmtps (TLSv1:ECDHE-RSA-AES256-SHA:256) id 1fSjOj-000WsB-ct (Exim 4.91) (return-path <dot@dotat.at>); Tue, 12 Jun 2018 14:31:45 +0100
Date: Tue, 12 Jun 2018 14:31:44 +0100
From: Tony Finch <dot@dotat.at>
To: Patrick McManus <pmcmanus@mozilla.com>
cc: Paul Hoffman <paul.hoffman@icann.org>, DoH WG <doh@ietf.org>
In-Reply-To: <CAOdDvNoQW0p1XpYPQ0kpxyPJ5hrtcQEBMw0qZFsP7_Kc3do4cQ@mail.gmail.com>
Message-ID: <alpine.DEB.2.11.1806121358580.916@grey.csi.cam.ac.uk>
References: <1D917C05-2B74-4607-9EE2-55D367FF48B5@icann.org> <20180610220841.GB16671@server.ds9a.nl> <CAOdDvNrXpyGTFmMHcF6Vnegku0Zmiw_LFb1VKm1O2mFgB3aHEw@mail.gmail.com> <FB8DBC78-4584-4133-AF1F-E0483C28224D@icann.org> <CAOdDvNoYYVEGC0Zsyd1m8sayuzZoW186gb4gmMojZzvYy6=6rw@mail.gmail.com> <alpine.DEB.2.11.1806111648580.10764@grey.csi.cam.ac.uk> <CAOdDvNoQW0p1XpYPQ0kpxyPJ5hrtcQEBMw0qZFsP7_Kc3do4cQ@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/e-ruHYFx7PgbqONb0gL3J0RDmfw>
Subject: Re: [Doh] [Ext] Proposal to close off these threads
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: Tue, 12 Jun 2018 13:31:51 -0000

Patrick McManus <pmcmanus@mozilla.com> wrote:

> it doesn't need to be more complicated. The mti wireformat is defined as
> one message (or if its not - it should be clarified) that might be limited
> to 64KB. I thought one message was already clear and we were debating the
> 64KB point.

I was talking about how to handle query meta-types rather than response
sizes. My point was that there are several reasons an AXFR or IXFR query
can break the single message requirement.

> so if you can't meet those constraints, you can't use that media format.
> but its not inherently about the query type.

I think I would prefer it if the client could predict the response media
type based on the query, rather than the server choosing a media type
based on criteria outside the client's control. This is a programmer
interface so I think predictability is more important than DWIMmery.

> > > "HTTP defines status code 406 for cases where the server cannot generate a
> > > representation suitable for the client". We can probably just say that.
> >
> > My DoH server sends a 200 OK HTTP response containing a NOTIMP DNS
> > response.
>
> Personally, I think you're better off with the HTTP error in this case as
> the problem is with finding a matching HTTP transport.

I don't think that is supported by the current draft text: it explicitly
says that DNS errors should be returned as 200 OK application/dns-message
responses, and there's no other defined media type that we're failing to
negotiate.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Trafalgar: Northerly or northwesterly 4 or 5, occasionally 6 in east. Slight
or moderate. Fair. Good.