From cef983f4f20e6375de745cfa39dece4dcc166b63 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Fri, 11 Mar 2022 10:30:46 -0800 Subject: [PATCH] Always update to NSEC3 records if the type changed https://sourceforge.net/p/webadmin/bugs/5552/ --- 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 a0554b917..33c1673b5 100755 --- a/bind8/bind8-lib.pl +++ b/bind8/bind8-lib.pl @@ -3520,7 +3520,7 @@ while($tries++ < 10) { $out = &backquote_logged( "cd ".quotemeta($dir)." && ". "$config{'signzone'} -o ".quotemeta($dom). - ($alg =~ /^(NSEC3|RSASHA256|RSASHA512|ECCGOST|ECDSAP256SHA256|ECDSAP384SHA384)/ ? " -3 -" : ""). + ($alg =~ /^(NSEC3|RSASHA256|RSASHA512|ECCGOST|ECDSAP256SHA256|ECDSAP384SHA384)/ ? " -3 - -u" : ""). " -f ".quotemeta($signed)." ". quotemeta($chrootfn)." 2>&1"); last if (!$?);