Re: QUIC re-chartering: include DNS-over-QUIC?

Christian Huitema <huitema@huitema.net> Thu, 06 February 2020 11:36 UTC

Return-Path: <huitema@huitema.net>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 40B1112009C for <quic@ietfa.amsl.com>; Thu, 6 Feb 2020 03:36:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable 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 xnuK6WeNR97c for <quic@ietfa.amsl.com>; Thu, 6 Feb 2020 03:36:07 -0800 (PST)
Received: from mx36-out10.antispamcloud.com (mx36-out10.antispamcloud.com [209.126.121.30]) (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 EB56A12023E for <quic@ietf.org>; Thu, 6 Feb 2020 03:36:06 -0800 (PST)
Received: from xse88.mail2web.com ([66.113.196.88] helo=xse.mail2web.com) by mx37.antispamcloud.com with esmtp (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1izfRu-0006cS-TL for quic@ietf.org; Thu, 06 Feb 2020 12:36:03 +0100
Received: from xsmtp21.mail2web.com (unknown [10.100.68.60]) by xse.mail2web.com (Postfix) with ESMTPS id 48CxFb06JGz1kvg for <quic@ietf.org>; Thu, 6 Feb 2020 03:35:47 -0800 (PST)
Received: from [10.5.2.31] (helo=xmail09.myhosting.com) by xsmtp21.mail2web.com with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1izfRi-0001xS-SW for quic@ietf.org; Thu, 06 Feb 2020 03:35:46 -0800
Received: (qmail 11890 invoked from network); 6 Feb 2020 11:35:46 -0000
Received: from unknown (HELO [192.168.1.103]) (Authenticated-user:_huitema@huitema.net@[172.58.43.10]) (envelope-sender <huitema@huitema.net>) by xmail09.myhosting.com (qmail-ldap-1.03) with ESMTPA for <quic@ietf.org>; 6 Feb 2020 11:35:46 -0000
To: Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org>, Erik Nygren <erik+ietf@nygren.org>
Cc: Lars Eggert <lars@eggert.org>, Mark Nottingham <mnot@mnot.net>, IETF QUIC WG <quic@ietf.org>
References: <A56547B6-2E3B-4ABE-8C9B-BA9ACC489FB2@mnot.net> <CAKC-DJiuhJurq4ojJwPD0Ag3Eoz_4KwFssuuP5Ts1+EH6C9C2A@mail.gmail.com> <0FD71EED-6095-4989-A81B-1FEC12044E80@apple.com>
From: Christian Huitema <huitema@huitema.net>
Autocrypt: addr=huitema@huitema.net; prefer-encrypt=mutual; keydata= mQENBFIRX8gBCAC26usy/Ya38IqaLBSu33vKD6hP5Yw390XsWLaAZTeQR64OJEkoOdXpvcOS HWfMIlD5s5+oHfLe8jjmErFAXYJ8yytPj1fD2OdSKAe1TccUBiOXT8wdVxSr5d0alExVv/LO I/vA2aU1TwOkVHKSapD7j8/HZBrqIWRrXUSj2f5n9tY2nJzG9KRzSG0giaJWBfUFiGb4lvsy IaCaIU0YpfkDDk6PtK5YYzuCeF0B+O7N9LhDu/foUUc4MNq4K3EKDPb2FL1Hrv0XHpkXeMRZ olpH8SUFUJbmi+zYRuUgcXgMZRmZFL1tu6z9h6gY4/KPyF9aYot6zG28Qk/BFQRtj7V1ABEB AAG0J0NocmlzdGlhbiBIdWl0ZW1hIDxodWl0ZW1hQGh1aXRlbWEubmV0PokBOQQTAQIAIwUC UhFfyAIbLwcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEJNDC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O7ywb7/TvICIIaLWcI42OJDSZjZ/MAzz BeXm263lHh+kFxkh2LxEHnQGHCHGpTYyi4Z3dv03HtkH/1SI8joQMQq00Bv+RdEbJXfEExrT u4gtdZAihwvy97OPA2nCdTAHm/phkzryMeOaOztI4PS8u2Ce5lUB6P/HcGtK/038KdX5MYST Fn8KUDt4o29bkv0CUXwDzS3oTzPNtGdryBkRMc9b+yn9+AdwFEH4auhiTQXPMnl0+G3nhKr7 jvzVFJCRif3OAhEm4vmBNDE3uuaXFQnbK56GJrnqVN+KX5Z3M7X3fA8UcVCGOEHXRP/aubiw Ngawj0V9x+43kUapFp+nF69R53UI65YtJ95ec4PTO/Edvap8h1UbdEOc4+TiYwY1TBuIKltY 1cnrjgAWUh/Ucvr++/KbD9tD6C8=
Subject: Re: QUIC re-chartering: include DNS-over-QUIC?
Message-ID: <367135c9-ea82-9fe7-8d80-a1b47440e2a1@huitema.net>
Date: Thu, 06 Feb 2020 03:35:47 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <0FD71EED-6095-4989-A81B-1FEC12044E80@apple.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
X-Originating-IP: 66.113.196.88
X-Spampanel-Domain: xsmtpout.mail2web.com
X-Spampanel-Username: 66.113.196.88/32
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=66.113.196.88/32@xsmtpout.mail2web.com
X-Spampanel-Outgoing-Class: unsure
X-Spampanel-Outgoing-Evidence: Combined (0.52)
X-Recommended-Action: accept
X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0S9sfM/nP8gxoqs1zeWkeM2pSDasLI4SayDByyq9LIhVjjXXIDv3C9Ei oF0oP/pyMETNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGDcnqpk5VeF3xR4kF6iVwRtbgN zB/4Jkrw1eDLcif59fvV6O15lENb52gjZoL7wFUDU7Tmz6iKnkQL9gqsxD347235Nhqq+/HvroPq 8GSPg+7KJix/R2qbtdH2ZflMjNgfMm/JD3cPBOX47Hg3FEpDo46jSvfpO+1kZkomjtjB6X5Q5Q9f RUeIpTIC2ySfqvnqLwoxlgatmaBb0rBiK9xbkDrUqzcKIief90MVLZY9LbIZh9+IQ1oS9LBn3VIP 95Jz7ujRlJ9wSMlhvaudJXZ9EIBG/qaR+8r9SKFMmPJLf850OvZYsmoVQuOIhwKLK6IKBNB4LZ0v UHHKTzJX7b1JhLSQQ4vSj0QEim26t/Moy0UPX5E73H1QfrH/5kkrV/Cr0bm2vWdo8usP65i82q1C dZgGrpL44wdx9eXqjQjbvUopOMQJvQ/Ck3iiU+4DQAj3fuQgzT3K9JUHTNiGwfwAm4Mn5ODoMuXT e61GOROcBldP1gB2VhyL18pVuJYmbB3RnEFK86tKSWORln+y9m0OHweYUOp7A73HI6oJg7w/Vocg cKoGWvjwxDCpaZLCR0lVmhlKb/lC+C9AijoWgc8vkIGThCScvU0cCIiHSQbmcVIGC2ArCTCHImaG ATskdebEAztqzrCt4TZ/wLtujY/tpR81IKh6p5gjuJGp4KtRoeANhZYKgFjyp5g7TFwWTJFRPAlb DjazCbhs7qBpykynMvtDTtO+u9LH2FRC7Cqll7XeIx9XxyO4NNsp5Cj289fSNWOfRy3it5pbjqbJ QF61U112fwop9BTafX0DKHjywhGbO+8nMRYL9kekVL4dhx06ifnL+9wgoTj4ygNPw1XfN0zsCG5v xMF5WG1gYscNCfISP4VPJRUjPgTf43t5z5OGMMhkxyAKDRV/o3FuwxpnRHnKFOL2qbwhklIekV0n lts=
X-Report-Abuse-To: spam@quarantine11.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/S126-8o-hRfUti6sK-9treDdlJM>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Feb 2020 11:36:08 -0000

On 2/4/2020 4:17 PM, Tommy Pauly wrote:

> My main question in doing DNS-over-QUIC is what benefit it provides
> over DNS-over-HTTP/3 (DoH3?). DoH3 seems like a more practical
> deployment model, since it allows relatively seamless upgrade from
> DoH2 to DoH3, and allows a resolver to support consistent semantics on
> both. The overhead of the HTTP layer is pretty minimal, and while I
> appreciate the desire to define a non-HTTP protocol over QUIC, I
> imagine there would be ones that would be more useful to adopt in the
> near term.

There are significant differences between DoQ and DoH. My main worry is
that protocol written to run over HTTP tend to be developed on top of
web platforms, and so you end up bringing the entire attack surface of
the web platforms in your DNS implementation. That's OK if your DNS
usage is directly dependent on your web traffic, for example if a
browser is sending queries for the pages that it visits. But that's not
so good for the resolver to authoritative scenario, in which a leaner
protocol seems safer.

But there are other issues. Look at the "M" scenario in the Quic Interop
runner, loading 2000 small files in parallel. It turns out that several
implementations had issues because when doing that they were hitting the
OS limit on the number of open files. The way you control that in Quic
is by limiting the number of open streams below the number of files that
you can maintain open. In a web-oriented implementation of H3 and Quic,
you will most likely do that. But you don't need to worry about that in
the DNS scenario, because you are certainly not going to write a file
for every DNS transaction. Doing an ad hoc application mapping avoids
this kind of issues.

-- Christian Huitema