Debian Bind Fix

1.) save your zone and config files
2.) remove the rndc key specification in the /etc/bind/named.conf file
aptitude purge bind9
4.) install bind9 again
/etc/init.d/bind9 stop
6.) remove rndc.key and rndc.conf
rndc-confgen -r /dev/urandom -a
9.) put the output to rndc.conf and named.conf
10.) chmod 640 and chown bind.bind -> rndc.key and rndc.conf
11.) put your zone and config files back to the bind directory
12.) restart the whole system
/etc/init.d/bind9 restart
14.) rndc status