Re: [Add] [Ext] Draft Posting: CNAME Discovery of Local DoH Resolvers

Eric Rescorla <ekr@rtfm.com> Wed, 01 July 2020 16:46 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: add@ietfa.amsl.com
Delivered-To: add@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 016413A12F8 for <add@ietfa.amsl.com>; Wed, 1 Jul 2020 09:46:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=rtfm-com.20150623.gappssmtp.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 SRO2A68XnenB for <add@ietfa.amsl.com>; Wed, 1 Jul 2020 09:46:18 -0700 (PDT)
Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) (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 6092E3A12F5 for <add@ietf.org>; Wed, 1 Jul 2020 09:46:18 -0700 (PDT)
Received: by mail-lj1-x244.google.com with SMTP id t25so23371592lji.12 for <add@ietf.org>; Wed, 01 Jul 2020 09:46:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iSBG87bsr2OTSihRW/ZCckEoWgvmQoCDGG2/Lmt/O34=; b=syy0LnmPlhofKMYWcut7nzASgouV3whzmPUYK+jLozzsC60JcZiauOlJeMznVEl+07 3pd2+x6XYZyiGldLAxGIA8NMEoiRxM/QAV5liuXKjBE5qsj8tH/hSXgSqBZUgSg3VSA+ /KL7wkHyuB1XPu+Kec/ejGdIEPFs4pBH5QsdRY/I+7S4bkKAw6hBBI335mYiDFugSnJj 8rKPzUFRHUeAXW1AM80v+ebKjZwRfbYKMK0myv0LXAyLchr42/XcSj+IaGVW5m8RgwCp 9BEll+WVeyKpLZaAXMdGMf8V0AG1bv0vybnPYyLyJLNbb80HUOePXMoUup8Tjr+ZgxGT reRg==
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=iSBG87bsr2OTSihRW/ZCckEoWgvmQoCDGG2/Lmt/O34=; b=r5WESlKJgN2o3ZceSmcmWbHW+8+yQnVwM0v1ib5UfXC6jahdvf9E5pCtc0+MucRYPw sOjA7sxsFOWmATgXPErRBj0PhHHuxv3n4dpAHvuT9BzUguThWNN7hIYlg8HEkA6Wgr6k Cuy7751LQSbd+wXGEhvTE5ChcX9TC+6P0W603H+6PUf9vX5325By6ye741q4IwqQysh4 YBt3jQFX7+e/EP0gyf409uerpLEAywJQL4m3cQYPIwKduxK0v2yvS1xvK8BGlG09lwtf 0LhVatq03T/tQrDq2+93qwsKS5MdN2dxs/xRaRGQ4xuQgZpp605W7bv1pOUzYwMm/b/4 uNKg==
X-Gm-Message-State: AOAM532xRUSVSIhpECEtENVFZed75GXWcdqEpXWj3I28I1rBncf5Fwf7 uFzSLDo2smVWJW+uOTPJtN3jaaCiEcVpdbeYw4bosw==
X-Google-Smtp-Source: ABdhPJytuQ5rsoBJIGnfOXJ7LwCWIzTB4vtIgEna3vSXDZ0kGLSxVyv1FMxAuBGnjtuReBD4D9hhWCzxqPZyZvw4grI=
X-Received: by 2002:a2e:9510:: with SMTP id f16mr14228334ljh.199.1593621976662; Wed, 01 Jul 2020 09:46:16 -0700 (PDT)
MIME-Version: 1.0
References: <CAFpG3gdiidmjxoauBw56ZybRabB6JET1Nh5dzTLQq1k0ZAn6Uw@mail.gmail.com> <AC1FE98D-8F0E-44E9-98EF-8DD5FF7520D5@fugue.com> <2033.1593617945@localhost>
In-Reply-To: <2033.1593617945@localhost>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 01 Jul 2020 09:45:40 -0700
Message-ID: <CABcZeBNfmPsvnzALz3DR7p0HgEQhJTtiekB--bCsO-QiPyec=w@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Ted Lemon <mellon@fugue.com>, tirumal reddy <kondtir@gmail.com>, ADD Mailing list <add@ietf.org>, Paul Vixie <paul@redbarn.org>
Content-Type: multipart/alternative; boundary="000000000000d358a705a9640736"
Archived-At: <https://mailarchive.ietf.org/arch/msg/add/_8p9_o0yInpp2GqA1FXJRdoAxLA>
Subject: Re: [Add] [Ext] Draft Posting: CNAME Discovery of Local DoH Resolvers
X-BeenThere: add@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Applications Doing DNS <add.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/add>, <mailto:add-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/add/>
List-Post: <mailto:add@ietf.org>
List-Help: <mailto:add-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/add>, <mailto:add-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jul 2020 16:46:20 -0000

On Wed, Jul 1, 2020 at 8:39 AM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> Ted Lemon <mellon@fugue.com> wrote:
>     > On Jul 1, 2020, at 07:11, tirumal reddy <kondtir@gmail.com> wrote:
>     >> Secure bootstrapping methods for IoT devices are discussed both
> inside
>     >> (e.g., BRSKI) and outside of IETF (DPP, OCF, OMA).
>
>     > Indeed, there is a lot of interesting work going on in this space.
> The
>     > idea that devices can’t be trusted is accepted by everybody except
> the
>     > people whose business models rely on snooping, and I expect the state
>     > of the art to improve continuously.
>
>     > That said, commissioning protocols are ways of making link security
>     > (e.g. 802.1x) more usable, and have nothing much to do with DHCP.
> They
>     > are generally one-time unless something goes wrong.
>
> While what you say is true, it misses an important point.
> Those mechanisms that result in the device having
>   a) an identity
>   b) a trust anchor to validate local resources
>
> mean that other management protocols (such as DHCP!) can be done securely.
> We never could get DHCP security to work, because device never had
> identities
> we could leverage.
>
> This is far afield from whether a *browser* should use a CNAME rather than
> a
> new RR-type for discovery.  It feels to me DNS is being used as a hammer
> because browsers don't have access to DHCP


Hmm... Sort of. CNAME is being used rather than another RRType for
engineering convenience reasons.

It's *also* inconvenient to do DHCP, but the real concern there is whether
the local middleboxes etc. will propagate whatever DHCP information is
needed. Consider the case where we have a DHCP option that says 'here is a
DoH server' and the router provided CPE provides that. But if I have a
third party WiFi router, it consumes that option. Does it then propagate
that to the clients? If not, then the DHCP thing is not going to work super
well.

-Ekr