Error in BIND9: bind9 zone example.com/IN: loading from master file /home/admin/conf/dns/example.com.db failed: permission denied
I was configuring a VESTACP on a Ubuntu server and had a lot of headache while trying to load the DNS zones to response to the Internet.
The zones have been configured correctly, the ports were open on the firewall, but the system was still refusing to answer the requests.
So I had to dig a little and found that UBUNTU/Debian machines were presenting a problem on the APPARMOR service, preventing BIND9 to access the config files.
Error message on SYSLOG:
Bind refuses to load the zone configuration files. In the log files I see:
zone example.com/IN: loading from master file
/home/admin/conf/dns/example.com.db failed: permission denied
Add this line
Underneath this line
After that, restart the apparmor service using the following command or reboot the server.
service restart apparmor
Leave a comment
You must be logged into post a comment.