named ‘managed-keys.bind’ error

After upgrade to bind 9.3.0, I’ve got an error message while starting service:

managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found.

Althouth it will not affect DNS server’s functionality, but it is annoying. The solution is to create an empty missing file in its WORKING directory. In my gentoo box, the named working directory is on /var/bind, so the step is:

# cd /var/bind
# touch managed-keys.bind
# /etc/init.d/named restart

And that’s all, the error has gone. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *