Return-Path: <mglt.ietf@gmail.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 C3D583A0D7F
 for <add@ietfa.amsl.com>; Mon, 29 Jun 2020 14:40:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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=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 P2rDt5KgYm6g for <add@ietfa.amsl.com>;
 Mon, 29 Jun 2020 14:40:28 -0700 (PDT)
Received: from mail-vs1-xe41.google.com (mail-vs1-xe41.google.com
 [IPv6:2607:f8b0:4864:20::e41])
 (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 DBF943A0D7E
 for <add@ietf.org>; Mon, 29 Jun 2020 14:40:27 -0700 (PDT)
Received: by mail-vs1-xe41.google.com with SMTP id k7so8720166vso.2
 for <add@ietf.org>; Mon, 29 Jun 2020 14:40:27 -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=95U2/rN/Xdhb/BUY7nkqVeIOP9mRM6UI+o7chR8Smdo=;
 b=T30WXi7R8AHJNKFNgh82enImPkNMiIY8hpGHy+ZSUWZQWBy0X1zQeKY9JnmSfyRi8R
 8KoMWkkVhCY6cUFLBNDwkwAV7DaQAD4pLsVnvLQnl2qk57rYzCwykIEFNwhJZSRsm22D
 3JUf7KPSgPtxU/GrQ9JFxPze8+H4rA88AOhMK6a/VCxbKfauKj7AvnzUrJjW5dahQ9wK
 0YgHXvINMgYDl+Jth61R7VDFuECcCpru6xsuTKaYLFeTaSTw6CiGYNqjypcA1z0nRa03
 +RV2lLoI/7+Q2wpsDsIgE/oFXh48RNQJh6B1XC61DzS+9Ns8rNiz69EB8dOUYMb7xPxw
 wXMA==
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=95U2/rN/Xdhb/BUY7nkqVeIOP9mRM6UI+o7chR8Smdo=;
 b=kzZ7qIOXxytEo6a7UEAaABg1eBAod5Vtue+0OGnih/+BPsE5Dn6J058ymy+C/UxjgW
 XGmaGofeQsBNxdvdcj4IzFewrc9mWjOZz3LfD4t3qZcsEbTUAaCBZfrj8caYN3cWa404
 jd8Lt9kMKP+8MV8y5ePJKx1VP0ESu+7uKEtzvDTGPoaH32OCl0379QycP9dp88etRhr8
 /DGFKoRNCjugdDbOK9SwMpDnzKQNlB7yGOjfRwv6RYJBW6di26p0g2ItD96+nzT5eMCG
 2Jix0WqclH9t8X1r0sJU73PQOR/nZiUgsknfdUL7nCWQsrsLfyaP8pcDy4R44V16zvvr
 TQQQ==
X-Gm-Message-State: AOAM532STp6Rnjwc6IB9kHCKYoQqQN/dfaHLq1D95isnd3LMkLkNaV4N
 HNqTO+H6jlydURNk8+k+apAq5m9yTe5cHxVW8gRThw==
X-Google-Smtp-Source: ABdhPJwt09xnqmEqEg1WNMEAjTi3Hh6BZ0xeWhqdEDQcN0rDUoU3dk2xLRqePm6I/EjPPEfGmR8gACbdZ79DldFJwiE=
X-Received: by 2002:a67:6546:: with SMTP id z67mr5377184vsb.169.1593466826861; 
 Mon, 29 Jun 2020 14:40:26 -0700 (PDT)
MIME-Version: 1.0
References: <CABcZeBPTkWeB40wpTowKvEJ-gXA3AL2e-BE+C_FC7Js7-D0DZQ@mail.gmail.com>
 <14119.1593367594@localhost> <alpine.OSX.2.22.407.2006281428200.79151@ary.qy>
 <3615321.ADK9YsXCiF@linux-9daj>
In-Reply-To: <3615321.ADK9YsXCiF@linux-9daj>
From: Daniel Migault <mglt.ietf@gmail.com>
Date: Mon, 29 Jun 2020 17:40:16 -0400
Message-ID: <CADZyTkm82y=H48e7TL+wBMN67jrCG2T96kHOdovX0Ds3m_nguw@mail.gmail.com>
To: Paul Vixie <paul@redbarn.org>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, ADD Mailing list <add@ietf.org>,
 John R Levine <johnl@taugh.com>
Content-Type: multipart/alternative; boundary="0000000000002d312805a93fe8ef"
Archived-At: <https://mailarchive.ietf.org/arch/msg/add/eWUF_ZtKde_Yr9RcTTvHNLQXU6s>
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: Mon, 29 Jun 2020 21:40:30 -0000

--0000000000002d312805a93fe8ef
Content-Type: text/plain; charset="UTF-8"

Hi,

I believe the proposal presents some
similarities to draft-mglt-drdp [1] that is
using the DNS to proceed to the
discovery. I see drdp as more generic,
and would be happy to improve it.

I would be happy to understand why HTTP
is a better stack to perform the
discover as opposed to DNS. I think that
DNS is better as it is the common
protocol to DoT DoH and DNS, but I might
be missing something.

Here are my comments regarding your
proposal:

I believe that CNAME is to restrictive
and would not make possible for example
to have multiple resolvers. I believe
the ISP should be able to provide
multiple resolvers. Some resolver may
implement DoH, DoT in combination with
multiple additional services. So in
short CNAME would limit the discover of
one or no resolvers.  The limitation
seems for both the application and the
ISP as it does not provide the ability
for an application to chose the service
and force the ISP to make that choice.
On the other hand, the ISP can hardly to
made a choice that fits any application
or the end user. The ISP cannot propose
different services for different
applications.

CNAME does not provide useful necessary
parameters that may also be useful for a
DoH resolver DRDP lists among others:
alpn, ensiconfig, uri template, user
display, auth_domain, filtering,
ip_subnet, dnssec, ....

My understanding is that BCP 17 saw SRV
as a long term solution for CNAME which
is now superseded by HTTPSVC/SVCB. I see
SRV as very common in home networks with
service discovery.

I believe that using a generic is
problematic as is prevents its resoltion
to be secured with DNSSEC.

In DRDP [1], the list of resolvers is
associated to a resolving domain. In the
case of an ISP the resolving domain is
derive with a reverse resolution from
the IP address announced by the ISP .
Note that other means may be provided.
With the resolving domain - in your case
resolver.example, the application will
retrieve the resolvers associated to the
resolving domain.  In your case you are
exclusively focused on DoH server, so
your application will them perform
_443_dns.example.com. SVCB.

Note that an early version of DRDP was
using SRV/TXT instead of SVCB.

Yours,
Daniel

[1]
https://github.com/mglt/draft-mglt-abcd-dofoo-discovery/blob/master/draft-mglt-add-rdp.mkd

On Sun, Jun 28, 2020 at 3:23 PM Paul Vixie <paul@redbarn.org> wrote:

> On Sunday, 28 June 2020 18:29:22 UTC John R Levine wrote:
> > On Sun, 28 Jun 2020, Michael Richardson wrote:
> > >    > Beyond that I gather there is still concern about SOHO routers
> with
> > >    > poorly implemented DNS forwarders that only handle some kinds of
> > >    > queries.
> > >
> > > I believe that the majority of devices on the market are now based upon
> > > versions of openwrt which, even if 10 years out of date, now have only
> 15
> > > year old DNS forwarding code.  And that's new enough.
> >
> > It's not what's on sale now, it's what's installed.  People tend to keep
> > what they have unless it breaks in ways that are obvious to them.
>
> as we learned with EDNS, we should have broken more stuff sooner. being
> liberal in what we accept and conservative in what we generate has not
> scaled
> and won't.
>
> --
> Paul
>
>
> --
> Add mailing list
> Add@ietf.org
> https://www.ietf.org/mailman/listinfo/add
>


-- 
Daniel Migault
Ericsson

--0000000000002d312805a93fe8ef
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Hi,=C2=A0</div><div dir=3D"ltr"><br>I bel=
ieve the proposal presents some<br>similarities to draft-mglt-drdp [1] that=
 is<br>using the DNS to proceed to the<br>discovery. I see drdp as more gen=
eric,<br>and would be happy to improve it. <br><br>I would be happy to unde=
rstand why HTTP<br>is a better stack to perform the<br>discover as opposed =
to DNS. I think that<br>DNS is better as it is the common<br>protocol to Do=
T DoH and DNS, but I might<br>be missing something. =C2=A0<br><br>Here are =
my comments regarding your<br>proposal:<br><br>I believe that CNAME is to r=
estrictive<br>and would not make possible for example<br>to have multiple r=
esolvers. I believe<br>the ISP should be able to provide<br>multiple resolv=
ers. Some resolver may<br>implement DoH, DoT in combination with<br>multipl=
e additional services. So in<br>short CNAME would limit the discover of<br>=
one or no resolvers.=C2=A0 The limitation<br>seems for both the application=
 and the<br>ISP as it does not provide the ability<br>for an application to=
 chose the service<br>and force the ISP to make that choice.<br>On the othe=
r hand, the ISP can hardly to<br>made a choice that fits any application<br=
>or the end user. The ISP cannot propose<br>different services for differen=
t<br>applications. =C2=A0 =C2=A0<br><br>CNAME does not provide useful neces=
sary<br>parameters that may also be useful for a<br>DoH resolver DRDP lists=
 among others:<br>alpn, ensiconfig, uri template, user<br>display, auth_dom=
ain, filtering,<br>ip_subnet, dnssec, .... <br><br>My understanding is that=
 BCP 17 saw SRV<br>as a long term solution for CNAME which<br>is now supers=
eded by HTTPSVC/SVCB. I see<br>SRV as very common in home networks with<br>=
service discovery. =C2=A0 <br><br>I believe that using a generic is<br>prob=
lematic as is prevents its resoltion<br>to be secured with DNSSEC.<br><br>I=
n DRDP [1], the list of resolvers is<br>associated to a resolving domain. I=
n the<br>case of an ISP the resolving domain is<br>derive with a reverse re=
solution from<br>the IP address announced by the ISP .<br>Note that other m=
eans may be provided.<br>With the resolving domain - in your case<br>resolv=
er.example, the application will<br>retrieve the resolvers associated to th=
e<br>resolving domain.=C2=A0 In your case you are<br>exclusively focused on=
 DoH server, so<br>your application will them perform<br>_<a href=3D"http:/=
/443_dns.example.com">443_dns.example.com</a>. SVCB. =C2=A0<br><br>Note tha=
t an early version of DRDP was<br>using SRV/TXT instead of SVCB. =C2=A0<br>=
<br>Yours,=C2=A0<br>Daniel</div><div dir=3D"ltr"><br>[1] <a href=3D"https:/=
/github.com/mglt/draft-mglt-abcd-dofoo-discovery/blob/master/draft-mglt-add=
-rdp.mkd">https://github.com/mglt/draft-mglt-abcd-dofoo-discovery/blob/mast=
er/draft-mglt-add-rdp.mkd</a><br></div><br><div class=3D"gmail_quote"><div =
dir=3D"ltr" class=3D"gmail_attr">On Sun, Jun 28, 2020 at 3:23 PM Paul Vixie=
 &lt;<a href=3D"mailto:paul@redbarn.org">paul@redbarn.org</a>&gt; wrote:<br=
></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sunday, 28 June=
 2020 18:29:22 UTC John R Levine wrote:<br>
&gt; On Sun, 28 Jun 2020, Michael Richardson wrote:<br>
&gt; &gt;=C2=A0 =C2=A0 &gt; Beyond that I gather there is still concern abo=
ut SOHO routers with<br>
&gt; &gt;=C2=A0 =C2=A0 &gt; poorly implemented DNS forwarders that only han=
dle some kinds of<br>
&gt; &gt;=C2=A0 =C2=A0 &gt; queries.<br>
&gt; &gt; <br>
&gt; &gt; I believe that the majority of devices on the market are now base=
d upon<br>
&gt; &gt; versions of openwrt which, even if 10 years out of date, now have=
 only 15<br>
&gt; &gt; year old DNS forwarding code.=C2=A0 And that&#39;s new enough.<br=
>
&gt; <br>
&gt; It&#39;s not what&#39;s on sale now, it&#39;s what&#39;s installed.=C2=
=A0 People tend to keep<br>
&gt; what they have unless it breaks in ways that are obvious to them.<br>
<br>
as we learned with EDNS, we should have broken more stuff sooner. being <br=
>
liberal in what we accept and conservative in what we generate has not scal=
ed <br>
and won&#39;t.<br>
<br>
-- <br>
Paul<br>
<br>
<br>
-- <br>
Add mailing list<br>
<a href=3D"mailto:Add@ietf.org" target=3D"_blank">Add@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/add" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/add</a><br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature"><div dir=3D"ltr"><div>Daniel Migault<br></div><d=
iv>Ericsson</div></div></div></div>

--0000000000002d312805a93fe8ef--

