I am pretty much new to bind DNS and during nsupdate , i am getting BADKEY error.I have /root/named/chroot/etc/rndc.key as below :-
key "rndc-test-key" {
algorithm hmac-md5 ;
secret "8d0WLaCU7N/jSyUdjxjAoQ==" ;
} ;
and /etc/rndc.conf
key "rndc-test-key" {
algorithm hmac-md5 ;
secret "8d0WLaCU7N/jSyUdjxjAoQ==" ;
} ;
In named.conf include "/etc/rndc.key"
; is present. So,which key i should pass to ?