options {
directory "/var/cache/bind/zones";
managed-keys-directory "/var/cache/bind/";
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
//listen-on-v6 { any; };
forwarders {
168.95.1.1;
168.95.192.1;
};
listen-on port 53 { any; };
allow-query { any; };
allow-query-cache { none; };
//recursion no;
allow-recursion { 127.0.0.1/32; 111.222.111.222/32; };
};
managed-keys-directory "/var/cache/bind/";
/etc/bind/managed-keys.bind.jnl: create: permission denied
managed-keys-zone: sync_keyzone:dns_journal_open -> unexpected error
managed-keys-zone: unable to synchronize managed keys: unexpected error
Mar 17 16:13:48 gdns kernel: [ 1970.721144] audit: type=1400 audit(1489738428.368:38): apparmor="DENIED" operation="mknod" profile="/usr/sbin/named" name="/etc/bind/zones/tmp-UTrm8bqOLc" pid=2093 comm="named" requested_mask="c" denied_mask="c" fsuid=113 ouid=113
/var/log/named/dns-query.log {
daily
rotate 7
missingok
notifempty
postrotate
/etc/init.d/bind9 reload > /dev/null
endscript
}
歡迎光臨 ADJ網路實驗室 (http://dz.adj.idv.tw/) | Powered by Discuz! 6.0.0 |