Re: [DNSOP] [Ext] DNSSEC Strict Mode

Ben Schwartz <bemasc@google.com> Thu, 25 February 2021 14:45 UTC

Return-Path: <bemasc@google.com>
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 027BB3A1AD6 for <dnsop@ietfa.amsl.com>; Thu, 25 Feb 2021 06:45:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 K6-9l72W31sC for <dnsop@ietfa.amsl.com>; Thu, 25 Feb 2021 06:45:52 -0800 (PST)
Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0EDF33A1AD5 for <dnsop@ietf.org>; Thu, 25 Feb 2021 06:45:52 -0800 (PST)
Received: by mail-io1-xd2b.google.com with SMTP id e2so2819146iog.0 for <dnsop@ietf.org>; Thu, 25 Feb 2021 06:45:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RrGKdAAiKgtULQ6smHpVYCG6QmwlKBCylnriFdfyKkw=; b=XRi5/UAMNBRVaMKlhvAuvTIBOKWtzcPNz7B4u0en9PndsXJ3MW7upm3ZjCYsF1Bv/D 62EYmkWYUbtrgbLVayAMbSnRHA2cEUGb5hcuXegXv+C+GTI4h6itXhZ6uH3V41fU+3/I n9CDuUhdYXEUGOVlpcRgVQfYhSmGgedsQIV/FXQWWyOov6uDdjixVQ9GYCk8q25TvfLR uI2vfLAhdYahbpeKHzUkR1viO4slXs2Oh+LbSto1kW0Gg4/YtJA8VCrtpqEVwNEBNVnF XIKmvLAl6me89rn/Cnz0j9lwsK/goKq3KxaK9TdcfRkMNqcOgwkYNFT1H18EWDUja1+R yG/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RrGKdAAiKgtULQ6smHpVYCG6QmwlKBCylnriFdfyKkw=; b=hD7fLpHSYF6zZudLc1o1oE4VzycdDDYWkMNiRBF5UEcBfYz5tV84NYf9lcHGOpx7fl fDe3icjLbMwmPtpBOO8w/XuFKQnZaUEIRLKN38ecKXdnYDzSvHDVzLEh98ADoMQoT0O9 QTNwOGmjzU+Daz7nJqUlLK5+eV6vPQnBl1pS3Lc+eNL9zg9q0t5VzcjZnpujrcx2VVqF 1bZunuriFCsWWM2mqhOKWE9drAGm3ETyv5VX85AfKdJ/2AaUEmEPp034SWOg9xef3ivN WAPobNGRpeuaRzoovN7UMsG/tOwWf4oX50WSjrTwp6/oxsqw6cjTtOK1hGLYSAgPdoOX 0slw==
X-Gm-Message-State: AOAM533Pt0uEVirQ8QJB4datjA63PRsFv0KCIiF/8ikugCAP7Irki6Ui REiTkwK6aGtj0jgK9AS/bX4cqSaan2RrEM+AV7mFeg==
X-Google-Smtp-Source: ABdhPJyw46kf5QCOEEPK0wEKGIYxX6GNiIGM2U4J4jWmglA8MKdIJS+SWvOMeiVc6xwrXS3Xg5tasWigfPBADMBUvAU=
X-Received: by 2002:a02:ab8f:: with SMTP id t15mr3434179jan.45.1614264351057; Thu, 25 Feb 2021 06:45:51 -0800 (PST)
MIME-Version: 1.0
References: <CAHbrMsBeCiZ-31hjKvet2UPDPFhdVYpgqR6Kw-WWz1ERgeSFoQ@mail.gmail.com> <7BB07063-2CA3-4283-8866-2B19A7AAA9A0@icann.org> <45e3c45-d324-8124-5dae-98acba9dd7cb@watson.org> <CAHbrMsBsG8OnXOXwAFY5eNf-0viQ_e5nKKhp1XVpnpMkGW1L-Q@mail.gmail.com> <02CAFAF2-BD58-48D4-B9CC-DD06EB99357B@wisser.se> <57BA9FA0-C16D-4178-B4A8-C9D9B174AC82@isc.org> <CAHbrMsBjOmKXmv7vJoCB+horzmzHDkn3KYPbNxeyB3miWLV2WA@mail.gmail.com> <CAH1iCipf1gD0s_5y470gGyiSJS6+BeAEtVM_PP2okz=iaNvyig@mail.gmail.com> <CAHbrMsAcwancick4-XWL_wQgFEtyQZ5XO71aTO+gZNdXWbYsCQ@mail.gmail.com> <4ac1fc4c-11ce-a88f-3273-259dce5bf9c2@nic.cz>
In-Reply-To: <4ac1fc4c-11ce-a88f-3273-259dce5bf9c2@nic.cz>
From: Ben Schwartz <bemasc@google.com>
Date: Thu, 25 Feb 2021 09:45:38 -0500
Message-ID: <CAHbrMsAkuTp0a3tUzm0JzCmh+RHrF8yRkZjaxmh+bfDZsa4fKg@mail.gmail.com>
To: "libor.peltan" <libor.peltan@nic.cz>
Cc: Brian Dickson <brian.peter.dickson@gmail.com>, dnsop <dnsop@ietf.org>, Samuel Weiler <weiler@watson.org>, Paul Hoffman <paul.hoffman@icann.org>, Ulrich Wisser <ulrich@wisser.se>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="0000000000003ec20005bc2a35a8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/YDdGerpRktiqfbEKbtEM4fJR-l8>
Subject: Re: [DNSOP] [Ext] DNSSEC Strict Mode
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, 25 Feb 2021 14:45:54 -0000

On Thu, Feb 25, 2021 at 2:58 AM libor.peltan <libor.peltan@nic.cz> wrote:

> Hi Ben,
> Dne 25. 02. 21 v 1:50 Ben Schwartz napsal(a):
>
>
>
> On Wed, Feb 24, 2021 at 6:57 PM Brian Dickson <
> brian.peter.dickson@gmail.com> wrote:
>
>>
>> That's not possible. The DS records are on the parent side (TLD) and the
>> TTL is set by the TLD per whatever their standard policy is. Same for
>> RRSIGs over those DS records.
>>
>
> That's fine.  I meant the TTLs of the ZSKs and zone contents.  Switching
> from provider A to provider B, the sequence would be
> 1. Set all TTLs in the zone to zero
> 2. Wait
> 3. Copy zone to provider B
> 4. Add DS for B's keys to the parent
>
> This wouldn't work as well. The resolver would see two DSs with different
> algorithms at the parent zone, but only one (pair of) DNSKEYs with single
> algorithm, whichever provider of your zone it'll query.
>
> This would violate RFC 4035: "The apex DNSKEY RRset itself MUST be signed
> by each algorithm appearing in the DS RRset located at the delegating
> parent (if any)."
>
Yes, but RFC 6840 appears to prohibit validators from enforcing this
requirement.

> 5. Wait
> 6. Add B's NS to the parent
> 7. Remove A's NS from the parent
> 8. Wait
> 9. Remove DS for A's keys from the parent
> 10. Set zone TTLs to > 0
>
> IMHO, performing an algorithm rollover while switching DNSSEC providers is
> indeed difficult, if possible at all. Even the lax validation doesn't help
> much.
>
> However, performing an algorithm rollover normally isn't that hard using
> proper tooling, so I don't think we should continue to justify lax
> validation only in order to encourage signers to switch from using obsolete
> algorithms.
>
Agreed.  I'm just exploring the implications of the current rules.

>