[DNSOP] Re: draft-fujiwara-dnsop-dns-upper-limit-values

"libor.peltan" <libor.peltan@nic.cz> Fri, 12 July 2024 10:08 UTC

Return-Path: <libor.peltan@nic.cz>
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 2946DC151557 for <dnsop@ietfa.amsl.com>; Fri, 12 Jul 2024 03:08:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sMPd2YxRS2JW for <dnsop@ietfa.amsl.com>; Fri, 12 Jul 2024 03:08:11 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0A0CC14CF1F for <dnsop@ietf.org>; Fri, 12 Jul 2024 03:08:10 -0700 (PDT)
Received: from [IPV6:2a00:1028:8384:7a:5ed9:cc12:85ed:1eae] (dynamic-2a00-1028-8384-007a-5ed9-cc12-85ed-1eae.ipv6.o2.cz [IPv6:2a00:1028:8384:7a:5ed9:cc12:85ed:1eae]) by mail.nic.cz (Postfix) with ESMTPSA id 497F91C11F2; Fri, 12 Jul 2024 12:08:07 +0200 (CEST)
Authentication-Results: mail.nic.cz; auth=pass smtp.auth=libor.peltan@nic.cz smtp.mailfrom=libor.peltan@nic.cz
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1720778887; bh=VejVY5Ks2wj5GvRzOmbDIjpsoi3ob8L9GDB1/MV8xzo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Reply-To: Subject:To:Cc; b=G8WW9HsoVV3iH5oSWTDhdrRLaI0kruzsaNjU9EDlreuRmPTf4Lf/bkwzrn9ksw3hN a4lANrmsrblYXOOjwaYlHcn1sbA8DXs1IeTowo1XZ4TKc/TwuviyJkoX23vwcTKg+F pJ9bqLgevWyyFZzuLk7R2OieaGSyq3GoEyy1nlp4=
Content-Type: multipart/alternative; boundary="------------AtgvtwW4x5qDBrBAzgNRKHnI"
Message-ID: <40cd1174-4644-417c-95e6-842c6af7b529@nic.cz>
Date: Fri, 12 Jul 2024 12:08:06 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Mukund Sivaraman <muks@mukund.org>, Philip Homburg <pch-dnsop-5@u-1.phicoh.com>
References: <20240709.190627.2171739541556622717.fujiwara@jprs.co.jp> <Zo6hcN0CinxiOqWr@w2> <e88ddd61-b2c8-40f5-8232-b49687b6064f@nlnetlabs.nl> <Zo60cZq1ncepOJXZ@w2> <m1sRndp-0000M5C@stereo.hq.phicoh.net> <Zo-J6FYQ8NurOqdb@w2> <m1sRoOO-0000MjC@stereo.hq.phicoh.net> <Zo-WqL93n8qs3JBq@w2>
Content-Language: en-US
From: "libor.peltan" <libor.peltan@nic.cz>
In-Reply-To: <Zo-WqL93n8qs3JBq@w2>
X-Virus-Scanned: clamav-milter 0.103.10 at mail
X-Virus-Status: Clean
X-Rspamd-Action: no action
X-Rspamd-Server: mail
X-Rspamd-Queue-Id: 497F91C11F2
X-Spamd-Bar: -----
X-Spamd-Result: default: False [-5.09 / 20.00]; BAYES_HAM(-5.00)[100.00%]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:5610, ipnet:2a00:1028::/32, country:CZ]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; NEURAL_HAM(-0.00)[-0.946]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_THREE(0.00)[3]
Message-ID-Hash: 6DPPRC4ZXEU7XHQHTTZNOWYFT2S4LIQA
X-Message-ID-Hash: 6DPPRC4ZXEU7XHQHTTZNOWYFT2S4LIQA
X-MailFrom: libor.peltan@nic.cz
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dnsop.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: dnsop@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [DNSOP] Re: draft-fujiwara-dnsop-dns-upper-limit-values
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/BH7VuanOPwxo-ygAm9ELpNCbsZI>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Owner: <mailto:dnsop-owner@ietf.org>
List-Post: <mailto:dnsop@ietf.org>
List-Subscribe: <mailto:dnsop-join@ietf.org>
List-Unsubscribe: <mailto:dnsop-leave@ietf.org>

Hi all,

Dne 11. 07. 24 v 10:24 Mukund Sivaraman napsal(a):
>   The DNS works today.
>
I would dispute this claim. Yes, DNS seems to be mostly working, but as 
I understand it, the proposed document's intention is exactly to make 
DNS (more) working by ensuring that some DNS stuff is not produced 
bigger than the cosumer is configured to accept.

I agree with Philip's ideas to propose both lower and upper limits for 
DNS stuff of any kind. Let's take - just for illustrative example (I'd 
like to continue the discussion generally, and not to move it to NSEC3 
problematics) -- the number of NSEC3 iterations:

1) we might want to declare upper limit X for NSEC3 iterations that 
authoritative server (signer) is allowed to generate and publish

2) we might want to declare lower limit Y for NSEC3 iterations that 
validating (recursive) server is required to be able to validate 
(iterations <= Y ----> validate)

X and Y might differ (even by a lot, current consensus for this specific 
example seems to be around X=100 and Y=1) but in other (many) situations 
it might be reasonable to set both limits equal.

Actually, this is nothing new, for example RFC 9460 (introduction of 
SVCB) already introduces such limit:

"To avoid unbounded alias chains, clients and recursive resolvers MUST 
impose a limit on the total number of SVCB aliases they will follow for 
each resolution request. This limit MUST NOT be zero, i.e., 
implementations MUST be able to follow at least one AliasMode record. 
The exact value of this limit is left to implementations."

I'd say this is the precedence that we should follow.

Libor