mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 22:09:31 -04:00
as a side effect of the switch from RBT to QBDB, NSEC3 records
are no longer created for empty non-terminal nodes when the
node only contains insecure delegations in an opt-out range.
such NSEC3 records are optional according to RFC 5155 (and,
for example, they are not created by dnssec-signzone), but they were
previously created by named, as a harmless side effect of the RBT
structure, which contains empty internal nodes that can be reached
by a DB iterator. these nodes are not present in the QPDB, so
NSEC3 records are not created unless they're actually required.
the autosign system test contained a test case (added in commit
ad91a70d as part of GL #4027) that checked whether ENT NSEC3
records were deleted when the delegations under the ENT removed.
this test no longer passes, because the NSEC3's are not created
in the first place, and therefore cannot be removed.
rather than "fix" the QPDB to add unnecessary NSEC3 records, this
commit instead revises the test to check for removal of ENT NSEC3
records when *not* using opt-out.
76 lines
2.4 KiB
Bash
76 lines
2.4 KiB
Bash
#!/bin/sh
|
|
|
|
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
#
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
#
|
|
# See the COPYRIGHT file distributed with this work for additional
|
|
# information regarding copyright ownership.
|
|
|
|
rm -f ./dsset-*
|
|
rm -f */K* */dsset-* */*.signed */tmp* */*.jnl */*.bk
|
|
rm -f */core
|
|
rm -f */example.bk
|
|
rm -f */named.conf
|
|
rm -f */named.memstats
|
|
rm -f */named.run*
|
|
rm -f */trusted.conf */private.conf
|
|
rm -f dig.out.*
|
|
rm -f digcomp.out.test*
|
|
rm -f activate-now-publish-1day.key prepub.key
|
|
rm -f active.key inact.key del.key delzsk.key unpub.key standby.key rev.key
|
|
rm -f delayksk.key delayzsk.key autoksk.key autozsk.key
|
|
rm -f noksk-ksk.key nozsk-ksk.key nozsk-zsk.key inaczsk-zsk.key inaczsk-ksk.key
|
|
rm -f nopriv.key vanishing.key del1.key del2.key
|
|
rm -rf ns*/inactive
|
|
rm -f ns*/managed-keys.bind*
|
|
rm -f ns1/root.db ns1/root.db.1 ns1/root.db.2 ns1/root.db.3
|
|
rm -f ns1/signing.out
|
|
rm -f ns2/bar.db
|
|
rm -f ns2/child.nsec3.example.db
|
|
rm -f ns2/child.optout.example.db
|
|
rm -f ns2/example.db
|
|
rm -f ns2/insecure.secure.example.db
|
|
rm -f ns2/nsec3-with-ent.db
|
|
rm -f ns2/private.secure.example.db
|
|
rm -f ns2/signing.*
|
|
rm -f ns3/*.nzd ns3/*.nzd-lock ns3/*.nzf
|
|
rm -f ns3/*.nzf
|
|
rm -f ns3/*.jbk
|
|
rm -f ns3/autonsec3.example.db
|
|
rm -f ns3/delay.example.db ns3/delay.example.1 ns3/delay.example.2
|
|
rm -f ns3/delzsk.example.db
|
|
rm -f ns3/dname-at-apex-nsec3.example.db
|
|
rm -f ns3/inaczsk2.example.db
|
|
rm -f ns3/jitter.nsec3.example.db
|
|
rm -f ns3/kg.out ns3/s.out ns3/st.out
|
|
rm -f ns3/kskonly.example.db
|
|
rm -f ns3/named.ns3.prev
|
|
rm -f ns3/noksk.example.db
|
|
rm -f ns3/nozsk.example.db ns3/inaczsk.example.db
|
|
rm -f ns3/nsec-only.example.db
|
|
rm -f ns3/nsec3-to-nsec.example.db
|
|
rm -f ns3/nsec3.example.db
|
|
rm -f ns3/nsec3.nsec3.example.db
|
|
rm -f ns3/nsec3.optout.example.db
|
|
rm -f ns3/oldsigs.example.db ns3/oldsigs.example.db.bak
|
|
rm -f ns3/optout.example.db
|
|
rm -f ns3/optout.nsec3.example.db
|
|
rm -f ns3/optout.optout.example.db
|
|
rm -f ns3/prepub.example.db
|
|
rm -f ns3/reconf.example.db
|
|
rm -f ns3/rsasha256.example.db ns3/rsasha512.example.db
|
|
rm -f ns3/secure.example.db
|
|
rm -f ns3/secure.nsec3.example.db
|
|
rm -f ns3/secure.optout.example.db
|
|
rm -f ns3/settime.out.*
|
|
rm -f ns3/sync.example.db
|
|
rm -f ns3/ttl*.db
|
|
rm -f nsupdate.out.test*
|
|
rm -f settime.out.*
|
|
rm -f signing.*
|
|
rm -f sync.key
|