Added new NSEC3 algorithms for DNSSEC.

This commit is contained in:
Jamie Cameron
2010-02-18 16:07:53 -08:00
parent 06c0223fbf
commit 53ca0fcbe5
2 changed files with 7 additions and 2 deletions

View File

@@ -114,3 +114,5 @@ If nscd is running when BIND is restarted or a zone is applied, it will be signa
When all DNS records in a zone are shown, the Type column can be clicked on to sort them.
---- Changes since 1.490 ----
Root zone records files are now included in Webmin backups.
---- Changes since 1.500 ----
Added new NSEC3 algorithms for DNSSEC.

View File

@@ -2660,12 +2660,15 @@ local ($alg) = @_;
return $alg eq 'RSAMD5' || $alg eq 'RSASHA1' ? ( 512, 2048 ) :
$alg eq 'DH' ? ( 128, 4096 ) :
$alg eq 'DSA' ? ( 512, 1024, 64 ) :
$alg eq 'HMAC-MD5' ? ( 1, 512 ) : ( );
$alg eq 'HMAC-MD5' ? ( 1, 512 ) :
$alg eq 'NSEC3RSASHA1' ? ( 512, 4096 ) :
$alg eq 'NSEC3DSA' ? ( 512, 1024, 64 ) : ( );
}
sub list_dnssec_algorithms
{
return ("DSA", "RSAMD5", "RSASHA1", "DH", "HMAC-MD5");
return ("DSA", "RSAMD5", "RSASHA1", "DH", "HMAC-MD5",
"NSEC3RSASHA1", "NSEC3DSA");
}
# get_keys_dir(&zone|&zone-name)