From 60a3b3b4a9a2361fcad4b7913036c285e28efd16 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 6 Aug 2023 09:50:43 -0700 Subject: [PATCH] Make sure NSEC3PARAM record is always deleted https://github.com/virtualmin/virtualmin-gpl/issues/604 --- bind8/bind8-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind8/bind8-lib.pl b/bind8/bind8-lib.pl index 6d1a1a082..87283202d 100755 --- a/bind8/bind8-lib.pl +++ b/bind8/bind8-lib.pl @@ -3591,7 +3591,7 @@ for(my $i=$#recs; $i>=0; $i--) { if ($recs[$i]->{'type'} eq 'NSEC' || $recs[$i]->{'type'} eq 'NSEC3' || $recs[$i]->{'type'} eq 'RRSIG' || - $recs[$i]->{'type'} eq 'NSEC3PARAM' && $tools || + $recs[$i]->{'type'} eq 'NSEC3PARAM' || $recs[$i]->{'type'} eq 'DNSKEY') { &delete_record($fn, $recs[$i]); }