- I have setup transfer to IPs & master/slave directories/files
- Added /etc/bind/rndc.key file with the same pass-phrase on both master/slave
- Permission items inside /etc/bind/slave are -rw-r--r-- (Also tried -rw-rw-rw without any success)
- Edited /etc/apparmor.d/usr.sbin.named
Added
/etc/bind/slave/** rw,
/etc/bind/master/** rw,
/etc/bind/ rw,
I then do sudo /etc/init.d/aparmor restart & then run rndc reload test.com (Zone name)
I wait like 5-10 minutes and go to "vi /var/log/syslog" & it compares the serial number between the Master & Slave but then I get these issues:-
ns named [939]: zone test.com/IN: refresh: could not set file modification time of '/etc/bind/slave/test.com': permission denied
+
ns named [939] dumping master file: /etc/bind/slave/tmp-FEhwr4afaX: open: permission denied
Using Ubuntu Server 12.04.1 LTS.
Hopefully someone can help me get this RNDC (Sync) occurring as I am out of ideas at the moment.
(Tried modifying folder/file permissions & edited apparmor without any luck)
Also since I migrated from a Openbsd bind9 to Ubuntu bind9 my files structure is a slightly different as I only have a single named configuration file
eg. master
slave
standard
named.conf
bind.keys
rndc.key
