Trying using rndc to see if it's broke.

rndc status


You may need to add a path to the rndc binary if it's not in your $PATH env 
vars. Or maybe -c to the location of your rndc config.

In your named.conf you should have a rndc statement with the key name and value.

You can recreate your rndc config / key with that if needed.








Nov 24, 2024 6:36:57 PM Luis Navarro <l...@lunadesign.net>:

> I've been running BIND on Ubuntu 22.04 for over a year and it has been 
> running perfectly as my primary DNS server.  I’m currently using BIND 9.18.28.
>  
> 
> I'm currently setting up BIND on another box (as a secondary DNS server) and 
> accidentally just ran "sudo rndc-confgen -a" on the first box.  From what I 
> can tell, running this command overwrote the previously installed 
> "/etc/bind/rndc.key" file with a new one. 
>  
> 
> I'm vaguely familiar with rndc but don't think I've ever used it directly.  
> It is possible the BIND tools I typically use call it.  Anyway, the first box 
> **seems** to still be working normally.
>  
> 
> *Questions:*  Did I break anything by running "rndc-confgen"?  Is there 
> anything else I need to do on the first box to move forward with the new key 
> file?  Or should I restore the key file from a backup?
>  
> 
> Thanks in advance!
> Luis
>  
> 
-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to