Added new NSEC3 algorithms for DNSSEC.
authorJamie Cameron <jcameron@webmin.com>
Fri, 19 Feb 2010 00:07:53 +0000 (16:07 -0800)
committerJamie Cameron <jcameron@webmin.com>
Fri, 19 Feb 2010 00:07:53 +0000 (16:07 -0800)
bind8/CHANGELOG
bind8/bind8-lib.pl

index ad7e28c..8e9b156 100644 (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.
index 1758a00..1b93d67 100755 (executable)
@@ -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)