Re: [DNSOP] ANAME loop detection

Matthijs Mekking <matthijs@pletterpet.nl> Thu, 04 July 2019 15:54 UTC

Return-Path: <matthijs@pletterpet.nl>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C608120096 for <dnsop@ietfa.amsl.com>; Thu, 4 Jul 2019 08:54:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.597
X-Spam-Level:
X-Spam-Status: No, score=-2.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=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 ApEAEKUhITpD for <dnsop@ietfa.amsl.com>; Thu, 4 Jul 2019 08:54:17 -0700 (PDT)
Received: from lb1-smtp-cloud9.xs4all.net (lb1-smtp-cloud9.xs4all.net [194.109.24.22]) (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 760F212010D for <dnsop@ietf.org>; Thu, 4 Jul 2019 08:54:17 -0700 (PDT)
Received: from [IPv6:2001:980:4eb1:1:3992:4add:1cf0:92e1] ([IPv6:2001:980:4eb1:1:3992:4add:1cf0:92e1]) by smtp-cloud9.xs4all.net with ESMTPSA id j43nhCYjzAOfNj43ohyvKB; Thu, 04 Jul 2019 17:54:12 +0200
To: Matthew Pounsett <matt@conundrum.com>
Cc: dnsop <dnsop@ietf.org>
References: <CAM1xaJ9txy98s5Y+Sq5T5N1KaD-LvtrDTut=mUomjHFwTvWnDg@mail.gmail.com> <a4137531-7641-34f2-6443-1cd904b485e3@pletterpet.nl> <CAAiTEH8v4MqpOvvKzLCeY=3NL8UrY5=LehxXy_JVtAt48muMrw@mail.gmail.com> <38b61acb-d223-2d4e-bfd4-02cee87341a5@pletterpet.nl> <CAAiTEH-JLuhyBBzsivcGTiVjpo_ZW-pA9W_z6m77eC8n6=5ndg@mail.gmail.com>
From: Matthijs Mekking <matthijs@pletterpet.nl>
Message-ID: <666b01e5-001a-2924-eec9-1a9dd485f4f2@pletterpet.nl>
Date: Thu, 04 Jul 2019 17:54:11 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2
MIME-Version: 1.0
In-Reply-To: <CAAiTEH-JLuhyBBzsivcGTiVjpo_ZW-pA9W_z6m77eC8n6=5ndg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-CMAE-Envelope: MS4wfABjOYM/rqZj7MEcyklU45m6u+bOJxXKJVZ90aAhIhhGJJUCfonFMUeyyDF5wSHc4+QuZIPlrDJLhoEaocxbPyCK/WOYjP+rOZFi89LuAySdkYFe1BYT zQkJL8Bnef7co+TcSo6x8rCwdAC7b/8uplReNGeBZLR9xTLxyQz9x9CQWJqSkdce/aGPgKSL/gt15fFwcNNUZj2MaafkRI/1Bt5CeNIU+z4fbpx10mEliUrI 6si1VMZk+JbAWqv7t7EAScjG63QBD12lOHamyMAO6JLzpjPhO0KYQBLr8F69iS3+
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/PTufi8ZYs91TA2n65IBkzJ5NctE>
Subject: Re: [DNSOP] ANAME loop detection
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 04 Jul 2019 15:54:20 -0000


On 7/4/19 5:39 PM, Matthew Pounsett wrote:
> 
> 
> On Thu, 4 Jul 2019 at 10:54, Matthijs Mekking <matthijs@pletterpet.nl
> <mailto:matthijs@pletterpet.nl>> wrote:
> 
>     Matthew,
> 
>     > I would say they should rely on that.  Why shouldn't they?  Isn't our
>     > goal to get downstream servers to adopt the extension and do their own
>     > lookup?  The server-side lookups and sibling records are bolt-ons to
>     > handle the adoption period.  Remember, this record is geared toward
>     > customers of CDNs being able to do get similar behaviour to:
>     > www.example.com <http://www.example.com> <http://www.example.com>.
>     IN CNAME webfarm.cdn.net <http://webfarm.cdn.net>
>     > <http://webfarm.cdn.net>. 
>     > at the apex of example.com <http://example.com>
>     <http://example.com>.  That was the original
>     > problem we're trying to solve.  I read your statement above about "the
>     > service they provide their customers" being about the CDN resolving
>     > webfarm.cdn.net <http://webfarm.cdn.net> <http://webfarm.cdn.net>,
>     which most CDNs can already do
>     > within their own infrastructure.
> 
>     I am talking about DNS providers that perform CNAME at the Apex like
>     features: a customer goes to them and opts in to this feature. Such a
>     provider wants to make sure that it is providing the behavior the
>     customer expects and thus wants to make sure it hands out appropriate
>     addresses.
> 
> 
> And "CNAME at the Apex like feeatures" is to hand out a CNAME and let
> the downstream server process that.  It may include additional
> information from other zones it is authoritative for, but it doesn't do
> side-lookups.  I think that's the behaviour we should be aiming for, and
> to do that some sort of "I understand ANAME" signal would allow the
> authoritative server to behave more like CNAME.

I agree we should be aiming for that, but initial stage will very likely
be that authoritative servers will do the target lookups (otherwise we
could just deploy the HTTP record right now ;))


>     Also what is wrong with an authoritative server already giving out more
>     optimal answers than just the ANAME and sibling address records?
> 
> 
> Nothing, as long as it's not going to increase the time it takes to
> respond to the query.
> 
> But, you didn't respond to my question.  Let me rephrase it a bit:  If
> the authoritative server knows the client understands ANAME, why would
> the authoritative server not assume that any additional data it supplies
> will be thrown away?    I suggest that it would be wise for an
> authoritative server to assume that a client that understands ANAME will
> resolve its own ANAME and ignore any other data it gets.

I sure hope not that requester will throw away responses, why else is it
 querying the servers in the first place? ;)

The sibling address records that the authoritative server provides are
needed if the requester does its own ANAME target lookup but fails to do
so because of an outage for example. Then it can use the sibling address
records as the response to the client. It would be better if those are
already "ANAME processed" rather than just handing out the sibling
records that were available in the zone file.

So it may be a poor judgment if the requester just throws away the
answer the authoritative server sends.

  
>     > Option #2 gets similar behaviour but at the cost of additional
>     lookups. 
>     > #3 and #4 don't work well in the presence of server farms.
> 
>     If addresses are in the response to the ANAME request there is no
>     difference in number of lookups between 2 and 3 I think.
> 
> 
> Did you mean "lookups between 1 and 2"?    I didn't say anything about
> the number of lookups required for 3.  I think 3 and 4 are poor choices
> because they won't behave well with most server farms.

Yes, 1 and 2. Sorry.