Re: [Doh] [Ext] Re: Associating a DoH server with a resolver

Paul Hoffman <paul.hoffman@icann.org> Wed, 24 October 2018 01:12 UTC

Return-Path: <paul.hoffman@icann.org>
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 07ACF12DD85 for <doh@ietfa.amsl.com>; Tue, 23 Oct 2018 18:12:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham 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 53jNq2NkKNtl for <doh@ietfa.amsl.com>; Tue, 23 Oct 2018 18:12:12 -0700 (PDT)
Received: from out.west.pexch112.icann.org (out.west.pexch112.icann.org [64.78.40.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 39E23128CE4 for <doh@ietf.org>; Tue, 23 Oct 2018 18:12:12 -0700 (PDT)
Received: from PMBX112-W1-CA-1.pexch112.icann.org (64.78.40.21) by PMBX112-W1-CA-1.pexch112.icann.org (64.78.40.21) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 23 Oct 2018 18:12:10 -0700
Received: from PMBX112-W1-CA-1.pexch112.icann.org ([64.78.40.21]) by PMBX112-W1-CA-1.PEXCH112.ICANN.ORG ([64.78.40.21]) with mapi id 15.00.1367.000; Tue, 23 Oct 2018 18:12:10 -0700
From: Paul Hoffman <paul.hoffman@icann.org>
To: Martin Thomson <martin.thomson@gmail.com>
CC: DoH WG <doh@ietf.org>
Thread-Topic: [Ext] Re: [Doh] Associating a DoH server with a resolver
Thread-Index: AQHUaw0rsD7rsPjFwE2sWEnE1v4NXKUuC2aAgAABBIA=
Date: Wed, 24 Oct 2018 01:12:09 +0000
Message-ID: <C82FBB08-8DAA-4C50-8934-576596C2532F@icann.org>
References: <02C39DFD-9550-447D-B00E-702B441A88BE@icann.org> <CABkgnnV2YMtcdOyMfE2NMH4L1ZbK4dcp1KQt3FttCfz-nfQd6A@mail.gmail.com>
In-Reply-To: <CABkgnnV2YMtcdOyMfE2NMH4L1ZbK4dcp1KQt3FttCfz-nfQd6A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [192.0.32.234]
Content-Type: multipart/signed; boundary="Apple-Mail=_7990F306-232F-4355-8762-86E295481BB2"; protocol="application/pkcs7-signature"; micalg="sha1"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/4PGurcVP5fi4LNj2YwVeK4uS-IM>
Subject: Re: [Doh] [Ext] Re: Associating a DoH server with a resolver
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 24 Oct 2018 01:12:15 -0000

On Oct 23, 2018, at 6:08 PM, Martin Thomson <martin.thomson@gmail.com> wrote:
> 
> Why do the IP-based spelunking?  It requires that the resolver (which
> might not be a DoH server) do HTTP as well.  Can't you define a record
> that could be placed at the resolver-addresses.arpa name?  I hesitate
> to say TXT, but I can't think of a good reason not to use that in this
> case.  Multiple such records could identify different DNS-over-foo
> variants.

Given the offline comments I'm getting similar to this one, I did not emphasize this enough in the draft.

There is no way for an application like a browser to send a query through the OS for anything other than address records. That is, gethostbyname() and its equivalents only pass back address records. Even if an application had its own DNS stack to make queries for other RRtypes, it doesn't have any way to know where to send them to.

If I'm wrong about the above, that's great, because we could certainly simplify the way that Martin suggests above or that I had in earlier versions of the draft.

--Paul Hoffman