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

John Levine <johnl@taugh.com> Fri, 26 June 2020 01:24 UTC

Return-Path: <johnl@iecc.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 4150D3A10CA for <add@ietfa.amsl.com>; Thu, 25 Jun 2020 18:24:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.851
X-Spam-Level:
X-Spam-Status: No, score=-1.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1536-bit key) header.d=iecc.com header.b=Yz+ERhD6; dkim=pass (1536-bit key) header.d=taugh.com header.b=RU5xmugk
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 Wp6-LUv03vs0 for <add@ietfa.amsl.com>; Thu, 25 Jun 2020 18:24:30 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 D52F23A10C9 for <add@ietf.org>; Thu, 25 Jun 2020 18:24:29 -0700 (PDT)
Received: (qmail 4200 invoked from network); 26 Jun 2020 01:24:28 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=1065.5ef54e4c.k2006; bh=VrF7gaOA2MkwYxgB9VgPTbL980NInvyNXHst///mUaA=; b=Yz+ERhD6qOHd9T6DSn0qLFpcTflAgNSo4EZPpA0zROnqbTVmZEdu1cA6+rfs2tTFAMHoRsb6uOd0XqngVTjVB+TX/0jaThyqNTEv9XRsOHv56Q0k3goW8Q3albEPh1RhebOjyK18d1ArtoPL3I/gGhHIL6eOM2gM8pdZkb/rN26eM1RRZO69QIbsIaqyyhxdZ5HKp/De01A4QQXEKCPWcRz/keWvkPWXq1PNZFLXQt/p+g5aw7EVZwP2R6ETKwEH
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=1065.5ef54e4c.k2006; bh=VrF7gaOA2MkwYxgB9VgPTbL980NInvyNXHst///mUaA=; b=RU5xmugkboh/Pcy1Opd7sHn1/C5PPaCMZHlUj5D8CYIlsU8hYOh2/YfAeCiPzn0jXF9t3nXzdLiyeeeftaPp9QtiErbxrLO6kqInpFaWsUHGG9aKo7tWuDz93st/hMGnS+4lwOy/F8ga69kp+sO7PYWG7D5SE0JlbKU35oyOhiko83NgQinPHZJJIfiXw4Q1O9tQdqmLGzgK49IzaQIkFs2oW8kLH1Evc1bKvESQUjGOJwmzE4Uh728IkxlusU4l
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTP via TCP6; 26 Jun 2020 01:24:28 -0000
Received: by ary.qy (Postfix, from userid 501) id CDF041BB3FB9; Thu, 25 Jun 2020 21:24:27 -0400 (EDT)
Date: 25 Jun 2020 21:24:27 -0400
Message-Id: <20200626012427.CDF041BB3FB9@ary.qy>
From: "John Levine" <johnl@taugh.com>
To: add@ietf.org
Cc: ekr@rtfm.com
In-Reply-To: <CABcZeBPTkWeB40wpTowKvEJ-gXA3AL2e-BE+C_FC7Js7-D0DZQ@mail.gmail.com>
Organization: Taughannock Networks
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/add/ECglC28alThNeholrVEnrkzbx8c>
Subject: Re: [Add] 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: Fri, 26 Jun 2020 01:24:31 -0000

In article <CABcZeBPTkWeB40wpTowKvEJ-gXA3AL2e-BE+C_FC7Js7-D0DZQ@mail.gmail.com> you write:
>I have just posted draft-rescorla-doh-cdisco-00, which describes a
>CNAME-based mechanism for discovering when a local resolver supports
>DoH/TRR. ...

It looks like you're mixing together two questions: "I want an index
into my local DoH table" and "where's a DoH resolver?" They're both
plausible questions but I wouldn't mix them together.

For the first question, a CNAME lookup to doh-resolver.arpa (a name we
can easily ensure never exists in the public DNS) seems OK.

For the second question, I'd do a URI lookup of _doh._tcp.doh-resolver.arpa
or if you don't trust your local crudware resolver to handle URI, a TXT record.

In both cases you can't use DNSSEC but that seems inevitable for this
kind of bootstrap.

R's,
John