Re: [DNSOP] Minimum viable ANAME

Paul Vixie <paul@redbarn.org> Mon, 05 November 2018 03:06 UTC

Return-Path: <paul@redbarn.org>
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 AE01F127333 for <dnsop@ietfa.amsl.com>; Sun, 4 Nov 2018 19:06:57 -0800 (PST)
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 bOtSJEFAll8d for <dnsop@ietfa.amsl.com>; Sun, 4 Nov 2018 19:06:56 -0800 (PST)
Received: from family.redbarn.org (family.redbarn.org [IPv6:2001:559:8000:cd::5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7952B126BED for <dnsop@ietf.org>; Sun, 4 Nov 2018 19:06:56 -0800 (PST)
Received: from [IPv6:2001:559:8000:c9:8de1:7fa:37ed:8cc4] (unknown [IPv6:2001:559:8000:c9:8de1:7fa:37ed:8cc4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by family.redbarn.org (Postfix) with ESMTPSA id 245B2892C6; Mon, 5 Nov 2018 03:06:56 +0000 (UTC)
Message-ID: <5BDFB3D0.3030508@redbarn.org>
Date: Sun, 04 Nov 2018 19:06:56 -0800
From: Paul Vixie <paul@redbarn.org>
User-Agent: Postbox 5.0.25 (Windows/20180328)
MIME-Version: 1.0
To: Mark Andrews <marka@isc.org>
CC: Ray Bellis <ray@bellis.me.uk>, dnsop@ietf.org
References: <20180919201401.8E0C220051382A@ary.qy> <08C8A740-D09B-4577-AF2A-79225EDB526B@dotat.at> <20180920061343.GA754@jurassic> <E944887D-51ED-41A0-AC5A-3076743620D8@isoc.org> <acef1f69-8e4f-52cc-dca5-3ada9446e0ee@bellis.me.uk> <5BDE34E3.5030602@redbarn.org> <a149f8ba-7350-327f-ab13-8c6eeb76f2f5@bellis.me.uk> <a85e1f2e-4feb-3f9e-fb8c-62214de98fd2@bellis.me.uk> <5BDEA757.7040208@redbarn.org> <C536FA41-4E24-4552-9139-8AB9B741E009@isc.org>
In-Reply-To: <C536FA41-4E24-4552-9139-8AB9B741E009@isc.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/RFoeA51GZQZImtlyMZYFLEPtnkk>
Subject: Re: [DNSOP] Minimum viable ANAME
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: Mon, 05 Nov 2018 03:06:58 -0000


Mark Andrews wrote:
>
>> On 4 Nov 2018, at 7:01 pm, Paul Vixie<paul@redbarn.org>  wrote:
...
>> that would be a mistake. we are hitting for average here not power
>> -- the behaviour to optimize for is whatever's most common. if the
>> SRV is used, the AAAA or A RRsets will be fetched, and thus cached.
>> if the SRV is only used once, that caching effort will be wasted.
>> if the SRV is used many times, then the dominant use case will be
>> that the additional data is found in cache because the client
>> caused this to be so.
>
> The main objection to SRV was the double RTT to the recursive server.
> Fetching the address records before returning will speed up the sites
> that are not talked to regularly and will not slow down the sites
> that are talked to regularly as the values will already be in cache.

i'll try again differently. such a fetch would add logic branches and 
state and network information, to no purpose whatsoever.

if the stub who asked the SRV question does not receive the addresses it 
needs in additional data, it will query for them. that will put those 
addresses in cache, so that on subsequent same-SRV questions, it will be 
present.

if the SRV is never fetched again, then there's no win to be had.

popular SRV answers will be overwhelmingly dominated by the second and 
subsequent responses, which will all include the additional data.

a recursive should only fetch what it needs for its own operations, so 
for example if it knows an NS RR but not the corresponding AAAA or A RR, 
it can fetch those. and for qname minimization it can make the requisite 
diagnostic queries. but it should NOT fetch just because it lacks 
additional data. the stubs should cause those fetches.

-- 
P Vixie