Re: [Doh] No truncation for DNS over HTTPS

manu tman <chantr4@gmail.com> Thu, 22 March 2018 10:32 UTC

Return-Path: <chantr4@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 1A4211200C1 for <doh@ietfa.amsl.com>; Thu, 22 Mar 2018 03:32:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level:
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 Z-n4Vgi_63MF for <doh@ietfa.amsl.com>; Thu, 22 Mar 2018 03:32:01 -0700 (PDT)
Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::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 9C75F1200C5 for <doh@ietf.org>; Thu, 22 Mar 2018 03:32:00 -0700 (PDT)
Received: by mail-lf0-x235.google.com with SMTP id o102-v6so12322164lfg.8 for <doh@ietf.org>; Thu, 22 Mar 2018 03:32:00 -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=iFTBThVcWKmnh3ywqtsWFEvXbqqTAryuIqcHmfhNcsc=; b=IAUh1zy7HqRhSuj82Im4b3pGzBOH6gw0PTI1GV+QghUHTwoC5R4yPOkJGLT8uXi4jG DBlGflvcaH5Cj4J/i2ZEeN5yTJoRpH2toSW0YHCGeJZlQW1mcPxSGTuxBzwgDzqaEuiK lTZMnhPxLEi2FRVHlDSPC1bz/X1ZPZ48buGKkUx5FBtL4vYEq7CtOb8bq7lrwJWLEyKe DE75sW1nmsqIkFyK719VDhcGzRB6hOcK3ks2Vn4PdJr708wjroGCO6CCIWH902nfP+wS sfyLK6RuVZUK+h007ZhB1sMNa1v8nksNNxjx4VbxhA4UY6oS8CzVox/dNvxvpdTeDhtY YHfg==
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=iFTBThVcWKmnh3ywqtsWFEvXbqqTAryuIqcHmfhNcsc=; b=M0+GT7w4aS5mnh8kp4k8EYh7HwCwvZqVEX0eSy/P0767aYNPZyApa86ZVGd77f5lL6 qMZlOVPYScHQ4PJYW820WtxOngSHNYmSwWGntRTE9rPugjPrqyfCmwtfV/WKcSFpzEE/ RcdVSUI0xzSiaXeNtg2uEqBkCi63cfQS8wOesK1wjn77mDo1j74F6EB1He53x0PX9tXy iO1rnV87R31ho7+j11EuJi64pFdeDEaPQw/BqyqQVyfIocJsL/T/H/7aSr6Vm9qAeVcr /RpIF4jacs80XSqmUkoQzVz0ey421TquQnaUnCLNPmNzRJqOD5OEgtwBJqGLvzqX7Z2w 0exw==
X-Gm-Message-State: AElRT7FrlibZxuzoGwLiyOAKZjSrFb7wP98DNU8IzYWn6TJbxWbFHG3/ my83HFBITC9WkBwAR3eaN1NInTZ2Nlj1o9ECwkexLg==
X-Google-Smtp-Source: AG47ELtQfpg0gi+II5287Xbb6wBob3PeAZPAJ5qYIRsiX8fk2aLbrwQEAX658DM9aox3xzboIGX1WapKABW8MwIOJe8=
X-Received: by 10.46.64.26 with SMTP id n26mr8083867lja.50.1521714718809; Thu, 22 Mar 2018 03:31:58 -0700 (PDT)
MIME-Version: 1.0
References: <CAAObRXJDV5Oa_d_S12HT2jqBuO=-AHOuMH8eKrac3BZ2bDxixw@mail.gmail.com> <a8949b7b-5717-6d63-af70-984894e6a571@bellis.me.uk>
In-Reply-To: <a8949b7b-5717-6d63-af70-984894e6a571@bellis.me.uk>
From: manu tman <chantr4@gmail.com>
Date: Thu, 22 Mar 2018 10:31:47 +0000
Message-ID: <CAArYzrK06Apq6dLX8jZrA5pZsPi949xhW1X7m2FBuEyLEztsVg@mail.gmail.com>
To: Ray Bellis <ray@bellis.me.uk>
Cc: doh@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c1a64a643c12d0567fdd191"
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/VIe1BdG1yg9M6-6dl554cnkbGxQ>
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:32:04 -0000

On Thu, Mar 22, 2018 at 10:24 AM Ray Bellis <ray@bellis.me.uk> wrote:

> 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.


There is not much the client can be doing with the TC but here right. I
mean it is using tcp already. When producing, IMO the proxy should be aware
of the TC bit and retry over TCP when it happens.
Manu

>
>
> Ray
>
> _______________________________________________
> Doh mailing list
> Doh@ietf.org
> https://www.ietf.org/mailman/listinfo/doh
>