switch to hmac-sha256

This commit is contained in:
Florian Obser 2017-04-25 07:34:00 +02:00
parent 0818f9a38d
commit 92ad9f3fbb

View File

@ -27,7 +27,7 @@ use Pod::Usage;
my $port = 53; my $port = 53;
my $ttl = 3600; my $ttl = 3600;
my $help = 0; my $help = 0;
my $tsigalgo = 'hmac-md5'; my $tsigalgo = 'hmac-sha256';
my ($tsigname, $tsigkey, $server, $verbose, $tsig); my ($tsigname, $tsigkey, $server, $verbose, $tsig);
my ($old_rr, $new_rr, $update, $resolver, $reply, $ip); my ($old_rr, $new_rr, $update, $resolver, $reply, $ip);
@ -149,7 +149,7 @@ Base64 encoding of the TSIG key.
=item B<-tsigalgo> =item B<-tsigalgo>
Algorithm of the TSGI key, default hmac-md5. Algorithm of the TSGI key, default hmac-sha256.
=back =back