Re: [DNSOP] draft-moura-dnsop-negative-cache-loop
Ralf Weber <dns@fl1ger.de> Tue, 09 November 2021 19:42 UTC
Return-Path: <dns@fl1ger.de>
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 484C23A102E for <dnsop@ietfa.amsl.com>; Tue, 9 Nov 2021 11:42:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, 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 s3Zh4DGjU5DL for <dnsop@ietfa.amsl.com>; Tue, 9 Nov 2021 11:41:58 -0800 (PST)
Received: from smtp.guxx.net (smtp.guxx.net [IPv6:2a01:4f8:a0:322c::25:42]) by ietfa.amsl.com (Postfix) with ESMTP id 4D7813A0846 for <dnsop@ietf.org>; Tue, 9 Nov 2021 11:41:58 -0800 (PST)
Received: by nyx.guxx.net (Postfix, from userid 107) id 9C3D85F40308; Tue, 9 Nov 2021 19:41:56 +0000 (UTC)
Received: from [172.19.249.129] (unknown [205.220.129.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by nyx.guxx.net (Postfix) with ESMTPSA id 45A2C5F40308; Tue, 9 Nov 2021 19:41:52 +0000 (UTC)
From: Ralf Weber <dns@fl1ger.de>
To: Petr Špaček <pspacek@isc.org>
Cc: dnsop@ietf.org
Date: Tue, 09 Nov 2021 20:41:41 +0100
X-Mailer: MailMate (1.14r5843)
Message-ID: <2920F589-6812-409C-A36D-503943799466@fl1ger.de>
In-Reply-To: <2ad3874d-20f2-9713-e1dd-9d37fc68d010@isc.org>
References: <c562797c-3ade-9d00-82be-e42d4f45ec11@sidn.nl> <2ad3874d-20f2-9713-e1dd-9d37fc68d010@isc.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/nuhvoiATCB6m8NdiM0cc2St4bf4>
Subject: Re: [DNSOP] draft-moura-dnsop-negative-cache-loop
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: Tue, 09 Nov 2021 19:42:03 -0000
Moin! On 9 Nov 2021, at 17:12, Petr Špaček wrote: >> 4. New requirement > I think section 4 should not require full blown _loop_ detection, but any sort of limit should be good enough for compliance. > > I mean, implementing a loop detection algorithm in hot path might not be a good idea, mainly because most of the time it just wastes resources - compared to a simple resource limit like, say, number of delegation steps per query. > > To be clear: > I don't think the resolver _has to_ stop resolution at the earliest moment it has data to potentially detect the cycle. If the cycle has length 2, it should be okay to allow the resolver to do 4,6,8,... steps before giving up. For compliance it should be good enough to stop within "a" reasonable limit (not necessarily specified by a number). I fully agree here. Most of the current or older implementations solve this by resource limiting and had no problem with tsuName. Only some new cloud implementations had a problems. So please don’t require those that had working mitigations to change them. > An additional nitpick: I think section 4. New requirement sound avoid term "negative" caching. In my eyes it is a bit misleading because "negative" is typically used for different kinds of answers. Maybe failed resolution caching is a better term here. So long -Ralf ——- Ralf Weber
- [DNSOP] draft-moura-dnsop-negative-cache-loop Giovane C. M. Moura
- Re: [DNSOP] draft-moura-dnsop-negative-cache-loop Petr Špaček
- Re: [DNSOP] draft-moura-dnsop-negative-cache-loop Ralf Weber
- Re: [DNSOP] draft-moura-dnsop-negative-cache-loop Giovane C. M. Moura
- Re: [DNSOP] draft-moura-dnsop-negative-cache-loop Giovane C. M. Moura
- Re: [DNSOP] draft-moura-dnsop-negative-cache-loop Petr Špaček
- Re: [DNSOP] draft-moura-dnsop-negative-cache-loop Stephane Bortzmeyer