Re: [Doh] [Ext] A question on the mix of DNS and HTTP semantics

Ted Hardie <ted.ietf@gmail.com> Mon, 19 March 2018 21:05 UTC

Return-Path: <ted.ietf@gmail.com>
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 42FE7127058 for <doh@ietfa.amsl.com>; Mon, 19 Mar 2018 14:05:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 WjzwARD0ppfr for <doh@ietfa.amsl.com>; Mon, 19 Mar 2018 14:05:52 -0700 (PDT)
Received: from mail-ot0-x235.google.com (mail-ot0-x235.google.com [IPv6:2607:f8b0:4003:c0f::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A4AE126D73 for <doh@ietf.org>; Mon, 19 Mar 2018 14:05:52 -0700 (PDT)
Received: by mail-ot0-x235.google.com with SMTP id 79-v6so18855064oth.11 for <doh@ietf.org>; Mon, 19 Mar 2018 14:05:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oYW+N6S1V2S9aHj24rMAfEQ15BWuUGziFsTwLOXvMIA=; b=T0b/dZatnNXl/8+k2po5HB06e+A/rgnImBJhhFFhGzNKg0iyu2xcnrKLjdAx60hG7B 4ovkEzU0Nk1LQX4LEGAKm5Dq0OckxKK5bHPHCf/XZUSZJBTN+XPXJOT7kzjYad2Bc+7h 4r3gI9IQ+8FgQA9OGiUye/ACf4C3Q4CurM21AR41F72JEpCevPgr8HK3zISmaBUy+Vlv 0GVZGsE13BnT2X8Q2AaT3mMf63Or1gRL4lK+/T84P6v5SYVI8oa+ByCA9Kkd8vufgob4 dmgeCe00nbhct4QGAy3i4RLeiKWRfKDltbC0Cm4NdSwBvqERt6MrtNYhnXGsHy9JpxV5 pfRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oYW+N6S1V2S9aHj24rMAfEQ15BWuUGziFsTwLOXvMIA=; b=myuVTKcWQ7U/bxI4izlw8FNYndDpB0LY5aT9j7GHzgLrmN9pK0EGTSfOGeoE70s+PB JB8pfwn4oGSqcjUwqdlyxHPOdJhBThTcBju7FwvLuMvC98MyMAg6rGfGYeIuk8bCpxGs n5iY+O+kMdW6LzTbeVaxrXvo6XCvd9FVrG2uafI4ArsrW01QtB41Fn/XKXaMHnjLtP/6 417ehODBqQatqXibjeK2BjkTMRNQE6eyeMIFdwBBaFRkOZ57CIW9hCuV7zXezw3CP2qq ODkk4CVHoIkl9y77mmUvIohyZMAi9zWna+ENz9AsG2w4b27IaMsc/Z8+RD1dJlPuQqWS KtuQ==
X-Gm-Message-State: AElRT7GzlwI4nfhRtxPbuNoM8Mg+BcXOHs2ARshrnpw2DzlQHh5rG0Uf +0eIlJdV2Xwi7FdpNHATRFi47b5PadEry4ADKPY=
X-Google-Smtp-Source: AG47ELsUftciizoIzDa3brRqxRp/qHdL+NIH4vMi7r9OFQcB0Jm01ghgyoPd4B54VsLqwdSshVAmA5pVFQvxggEnU5U=
X-Received: by 2002:a9d:e82:: with SMTP id 2-v6mr9104052otj.393.1521493551414; Mon, 19 Mar 2018 14:05:51 -0700 (PDT)
MIME-Version: 1.0
References: <CA+9kkMB7awRfW9jUmY9Q-1p+w3VLtpG5DxhF3s7Q58nEMZeX3w@mail.gmail.com> <20180318164307.GB6724@laperouse.bortzmeyer.org> <CAOdDvNr1GstB+g3pYi4w0bXuQ=Nz8HqgTRfWUX9TGu9YAYiz0w@mail.gmail.com> <CA+9kkMA733q3BPRbnN++0vwKrmOOCN8SBgknYwFaeEf2cvYikw@mail.gmail.com> <88AB1743-7270-4D72-8C70-0AB6B74416BD@icann.org> <SN1PR08MB1854485BF319264F51D208C3DAD40@SN1PR08MB1854.namprd08.prod.outlook.com> <20180319150958.GA23411@laperouse.bortzmeyer.org> <20180319152126.c5ylchfawn4syfwb@mx4.yitter.info> <20180319153958.GA24327@laperouse.bortzmeyer.org> <CAOdDvNoYO=dH=bgmNqVCgjoqegsosvqXZ5s09VqiYQB+mFO3yw@mail.gmail.com>
In-Reply-To: <CAOdDvNoYO=dH=bgmNqVCgjoqegsosvqXZ5s09VqiYQB+mFO3yw@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
Date: Mon, 19 Mar 2018 21:05:40 +0000
Message-ID: <CA+9kkMB56fsUDw1ERo1BL_=DhqJAwr_V-ppuOH1n3LYWz-JJzA@mail.gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Andrew Sullivan <ajs@anvilwalrusden.com>, DoH WG <doh@ietf.org>, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Content-Type: multipart/alternative; boundary="000000000000a903910567ca5242"
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/1pgIxQDvLTUqYpAL4WpFSZWeYxI>
Subject: Re: [Doh] [Ext] A question on the mix of DNS and HTTP semantics
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: Mon, 19 Mar 2018 21:05:54 -0000

On Mon, Mar 19, 2018 at 4:03 PM Patrick McManus <pmcmanus@mozilla.com>;
wrote:

> I agree with Stephane. DNS information in non-successful HTTP responses
> (i.e. not a 2xx) is not the answer to the question you asked in the HTTP
> request. I can't tell you what it is - its normally just defined as human
> readable explanation. It may certainly be generated by HTTP servers that do
> not understand DoH.
>

I think the point of saying that udp wire format responses should be passed
to the dns sever, though, is that those will have been generated by a DNS
aware system.

Ted

>
>
>
>
> On Mon, Mar 19, 2018 at 3:39 PM, Stephane Bortzmeyer <bortzmeyer@nic.fr>;
> wrote:
>
>> On Mon, Mar 19, 2018 at 11:21:27AM -0400,
>>  Andrew Sullivan <ajs@anvilwalrusden.com>; wrote
>>  a message of 29 lines which said:
>>
>> > If it were actually truncated, wouldn't the message have a TC bit
>> > set?
>>
>> Truncated for HTTP reasons (error 500 : the server crashed), not for
>> DNS reasons.
>>
>> If the DNS answer is truncated for DNS reasons (EDNS buffer size too
>> small), I would expect the HTTP status code to be 200.
>>
>> _______________________________________________
>> Doh mailing list
>> Doh@ietf.org
>> https://www.ietf.org/mailman/listinfo/doh
>>
>
> _______________________________________________
> Doh mailing list
> Doh@ietf.org
> https://www.ietf.org/mailman/listinfo/doh
>