Always update to NSEC3 records if the type changed https://sourceforge.net/p/webadmin/bugs/5552/

This commit is contained in:
Jamie Cameron
2022-03-11 10:30:46 -08:00
parent 3d3c6e9ef5
commit cef983f4f2

View File

@@ -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 (!$?);