Re: [DNSOP] draft-mglt-dnsop-search-list-processing-00.txt

Mark Andrews <marka@isc.org> Wed, 16 April 2014 03:08 UTC

Return-Path: <marka@isc.org>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18BEF1A009E for <dnsop@ietfa.amsl.com>; Tue, 15 Apr 2014 20:08:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.273
X-Spam-Level:
X-Spam-Status: No, score=-4.273 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_12=0.6, MANGLED_LIST=2.3, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.272, SPF_PASS=-0.001] autolearn=ham
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 zHkTf1DupsDH for <dnsop@ietfa.amsl.com>; Tue, 15 Apr 2014 20:08:24 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) by ietfa.amsl.com (Postfix) with ESMTP id 2BAC31A0085 for <dnsop@ietf.org>; Tue, 15 Apr 2014 20:08:22 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.pao1.isc.org (Postfix) with ESMTP id 22FA73493AE; Wed, 16 Apr 2014 03:07:42 +0000 (UTC) (envelope-from marka@isc.org)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 785B0160060; Wed, 16 Apr 2014 03:09:49 +0000 (UTC)
Received: from rock.dv.isc.org (c211-30-183-50.carlnfd1.nsw.optusnet.com.au [211.30.183.50]) by zmx1.isc.org (Postfix) with ESMTPSA id C5293160045; Wed, 16 Apr 2014 03:09:48 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id F1A2C13CE2FD; Wed, 16 Apr 2014 13:07:33 +1000 (EST)
To: Daniel Migault <mglt.ietf@gmail.com>
From: Mark Andrews <marka@isc.org>
References: <CADZyTkn2Wau99zfQR+jjwHVr4Jnq3Eo=Ht+OEScbvKBLc=7e2w@mail.gmail.com> <20140415022026.1BE5513BE235@rock.dv.isc.org> <CADZyTk==QG6Yf81pX4K+t5RN7USgZ3xGLW7xiuBEs2DvrS7rhg@mail.gmail.com>
In-reply-to: Your message of "Tue, 15 Apr 2014 18:44:58 +0200." <CADZyTk==QG6Yf81pX4K+t5RN7USgZ3xGLW7xiuBEs2DvrS7rhg@mail.gmail.com>
Date: Wed, 16 Apr 2014 13:07:33 +1000
Message-Id: <20140416030733.F1A2C13CE2FD@rock.dv.isc.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/dnsop/OkRLdQBxqB_28uoJ0ApEtRM2fds
Cc: dnsop <dnsop@ietf.org>
Subject: Re: [DNSOP] draft-mglt-dnsop-search-list-processing-00.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Apr 2014 03:08:29 -0000

In message <CADZyTk==QG6Yf81pX4K+t5RN7USgZ3xGLW7xiuBEs2DvrS7rhg@mail.gmail.com>, D
aniel Migault writes:
> 
> Thanks for the clarification. I will use these classifications for names
> and rewrote the draft with these.
> 
> If I understand correctly, your last remark is: Suppose a resolver proceeds
> to a resolution using a search list L= label-1, label-2, ...,  label-n. The
> resolution goes from label-i to label-j only and only if the returned codes
> are SERFVAIL or NOTIMP or NOERROR or NO DATA (I assume NO DATA is
> NXDomain).

Searches currently continue on SERFVAIL, NOTIMP, NOERROR (data does not exist)
and NXDOMAIN.  The *only* safe condition to continue on to a additional search
element is NXDOMAIN.  The list I wrote initially was all the bad choices in
current software.

> Is that correct to understand search continuation as going from one label
> to another? More specifically, it does not mean to switch from search list
> resolution to DNS resolution.

Continuation is between search list elements and to/from as entered.
 
> In addition, this also means that a 1) NOERROR does not necessarily end the
> resolution. and 2) other RCODEs ends the resolution. Is that correct?

NOERROR should ALWAYS stop searches.  It currently doesn't.
NXDOMAIN should be the only rcode which causes a search to continue as
apposed to finding a working nameserver (REFUSED, NOTIMP, SERVFAIL are
all good reasons to move to a different nameserver).
 
> Thanks!
> Daniel
> 
> 
> 
> 
> On Tue, Apr 15, 2014 at 4:20 AM, Mark Andrews <marka@isc.org> wrote:
> 
> >
> > In message <CADZyTkn2Wau99zfQR+jjwHVr4Jnq3Eo=Ht+OEScbvKBLc=
> > 7e2w@mail.gmail.com>
> > , Daniel Migault writes:
> > >
> > > Hi folks,
> > >
> > > Please find draft-mglt-dnsop-search-list-processing-00.txt [1]  This
> > draft
> > > comes in the context of generic TLD with possible naming collision. In
> > > order to keep naming resolution stable and reliable, it describes 1) how
> > > resolver should generate their search list, 2) how resolver should
> > > distinguish a name resolution that needs to be associated with a search
> > > list and 3) how a resolver should perform a resolution involving search
> > > list.
> > >
> > > Feel free to comment/review.
> > >
> > > BR,
> > > Daniel
> > >
> > > [1]
> > http://tools.ietf.org/html/draft-mglt-dnsop-search-list-processing-00
> > >
> > > --
> > > Daniel Migault
> > > Orange Labs -- Security
> > > +33 6 70 72 69 58
> > >
> >
> > Firstly there is unqualified, partially qualified, fully qualified and
> > absolutely names in use today.
> >
> >         unqualified - single label
> >         partially qualified  - multi label intended to be fully qualified
> >                         by use of searching.
> >         fully qualified - multi label not intended to be fully qualified
> >                         by the use of searching.
> >         absolutely qualified - period at the end (not supported by all
> >                         protocol elements)
> >
> >         ndots is used to distingish which order to treat a multi
> >         label input in libresolv/libbind and was added as a response
> >         to RFC 1535.
> >
> >         unqualified - search list then as entered.
> >         partially qualified - search list then as entered.
> >         fully qualified - as entered then search list.
> >         absolutely qualified - as entered.
> >
> >         Additionall there is search continuation on SERFVAIL, NOTIMP
> >         and NOERROR NO DATA responses to consider.
> >
> > One also needs to look at RFC 1535 which discourages the use of
> > automatically constructed search lists.
> >
> > --
> > Mark Andrews, ISC
> > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org
> >
> 
> 
> 
> -- 
> Daniel Migault
> Orange Labs -- Security
> +33 6 70 72 69 58
> 
> --047d7b5d28583a909f04f717852f
> Content-Type: text/html; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
> 
> <div dir=3D"ltr"><div><div><div>Thanks for the clarification. I will use th=
> ese classifications for names and rewrote the draft with these.<br><br></di=
> v>If I understand correctly, your last remark is: Suppose a resolver procee=
> ds to a resolution using a search list L=3D label-1, label-2, ...,=C2=A0 la=
> bel-n. The resolution goes from label-i to label-j only and only if the ret=
> urned codes are SERFVAIL or NOTIMP or NOERROR or NO DATA (I assume NO DATA =
> is NXDomain). <br>
> <br>Is that correct to understand search continuation as going from one lab=
> el to another? More specifically, it does not mean to switch from search li=
> st resolution to DNS resolution.<br><br>In addition, this also means that a=
>  1) NOERROR does not necessarily end the resolution. and 2) other RCODEs en=
> ds the resolution. Is that correct?<br>
> <br></div>Thanks!<br></div>Daniel =C2=A0 <div><div><br><br></div></div></di=
> v><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Tue, Apr=
>  15, 2014 at 4:20 AM, Mark Andrews <span dir=3D"ltr">&lt;<a href=3D"mailto:=
> marka@isc.org" target=3D"_blank">marka@isc.org</a>&gt;</span> wrote:<br>
> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
> x #ccc solid;padding-left:1ex"><br>
> In message &lt;CADZyTkn2Wau99zfQR+jjwHVr4Jnq3Eo=3DHt+OEScbvKBLc=3D<a href=
> =3D"mailto:7e2w@mail.gmail.com">7e2w@mail.gmail.com</a>&gt;<br>
> <div><div class=3D"h5">, Daniel Migault writes:<br>
> &gt;<br>
> &gt; Hi folks,<br>
> &gt;<br>
> &gt; Please find draft-mglt-dnsop-search-list-processing-00.txt [1] =C2=A0T=
> his draft<br>
> &gt; comes in the context of generic TLD with possible naming collision. In=
> <br>
> &gt; order to keep naming resolution stable and reliable, it describes 1) h=
> ow<br>
> &gt; resolver should generate their search list, 2) how resolver should<br>
> &gt; distinguish a name resolution that needs to be associated with a searc=
> h<br>
> &gt; list and 3) how a resolver should perform a resolution involving searc=
> h<br>
> &gt; list.<br>
> &gt;<br>
> &gt; Feel free to comment/review.<br>
> &gt;<br>
> &gt; BR,<br>
> &gt; Daniel<br>
> &gt;<br>
> &gt; [1] <a href=3D"http://tools.ietf.org/html/draft-mglt-dnsop-search-list=
> -processing-00" target=3D"_blank">http://tools.ietf.org/html/draft-mglt-dns=
> op-search-list-processing-00</a><br>
> &gt;<br>
> &gt; --<br>
> &gt; Daniel Migault<br>
> &gt; Orange Labs -- Security<br>
> &gt; <a href=3D"tel:%2B33%206%2070%2072%2069%2058" value=3D"+33670726958">+=
> 33 6 70 72 69 58</a><br>
> &gt;<br>
> <br>
> </div></div>Firstly there is unqualified, partially qualified, fully qualif=
> ied and<br>
> absolutely names in use today.<br>
> <br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 unqualified - single label<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 partially qualified =C2=A0- multi label intende=
> d to be fully qualified<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
> =A0 =C2=A0 by use of searching.<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 fully qualified - multi label not intended to b=
> e fully qualified<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
> =A0 =C2=A0 by the use of searching.<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 absolutely qualified - period at the end (not s=
> upported by all<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
> =A0 =C2=A0 protocol elements)<br>
> <br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ndots is used to distingish which order to trea=
> t a multi<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 label input in libresolv/libbind and was added =
> as a response<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 to RFC 1535.<br>
> <br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 unqualified - search list then as entered.<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 partially qualified - search list then as enter=
> ed.<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 fully qualified - as entered then search list.<=
> br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 absolutely qualified - as entered.<br>
> <br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 Additionall there is search continuation on SER=
> FVAIL, NOTIMP<br>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 and NOERROR NO DATA responses to consider.<br>
> <br>
> One also needs to look at RFC 1535 which discourages the use of<br>
> automatically constructed search lists.<br>
> <span class=3D"HOEnZb"><font color=3D"#888888"><br>
> --<br>
> Mark Andrews, ISC<br>
> 1 Seymour St., Dundas Valley, NSW 2117, Australia<br>
> PHONE: <a href=3D"tel:%2B61%202%209871%204742" value=3D"+61298714742">+61 2=
>  9871 4742</a> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 INTE=
> RNET: <a href=3D"mailto:marka@isc.org">marka@isc.org</a><br>
> </font></span></blockquote></div><br><br clear=3D"all"><br>-- <br>Daniel Mi=
> gault<br>Orange Labs -- Security<br>+33 6 70 72 69 58
> </div>
> 
> --047d7b5d28583a909f04f717852f--
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org