/etc/bind/rndc.key: permission denied

sudo rndc-confgen, rndc.conf
cat rndc.key, systemctl status bind9
cat named.conf
problem with rndc reload, rndc -V status
premissions in /etc/bind

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386791

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 23.10
Release:    23.10
Codename:   mantic

I have a problem with running rndc reload, I change permissions, add include, but I still have the same problem as in this link. And I need rndc for configuration according to the bind9 documentation.

Asked By: Doujinx

||

As stated at the very bottom of your last link, you’re supposed to do the following:

sudo chown root:bind /etc/bind/rndc.key

It’s not supposed to be bind:bind like your last screenshot.

Answered By: Daniel T
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.