DNS not working on vestacp
Date Posted: 05-06-2017
After the installation of vesta control panel, there are DNS entries added. However, DNS changes are not reflecting. After analyzed the log (/var/log/syslog), we came to know it was a permission issue.
Resolution:
Inorder to fix the issue, follow the below instruction.
Open the file /etc/apparmor.d/local/usr.sbin.named and add the DNS DB zone files. Normally, this location can be found on /etc/bind/named.conf with rw option
vi /etc/apparmor.d/local/usr.sbin.named
/home/** rwm,
Execute the below command.
apparmor_parser -r /etc/apparmor.d/usr.sbin.named
Restart bind service.
service bind9 restart