When trying to sync zone files from master to slave DNS servers I got these errors:
Error:
dumping master file: tmp-7pVr9NGZO: open: permission denied
Solution:
# ls -ald /var/named/chroot/var/named
drwxr-x—. 3 root named 4096 Jan 20 10:57 /var/named/chroot/var/named
# chmod 770 /var/named/chroot/var/named
# ls -ald /var/named/chroot/var/named
drwxrwx—. 3 root named 4096 Jan 20 11:02 /var/named/chroot/var/named
Error:
/var/named/dynamic/managed-keys.bind.jnl: create: file not found
Solution:
# mkdir /var/named/chroot/var/named/dynamic
# chown named:named /var/named/chroot/var/named/dynamic
Leave a Reply