projects
/
sysconfig
/
bind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move logs to someplace apparmor allows by default
[sysconfig/bind.git]
/
named.conf.local
diff --git
a/named.conf.local
b/named.conf.local
index d6bd61a281ad034bf2df5263e3e77fdaa07c69ce..269a2616ea243cf416f03c409946b036318722c1 100644
(file)
--- a/
named.conf.local
+++ b/
named.conf.local
@@
-12,28
+12,41
@@
# notify no;
#};
# notify no;
#};
+acl "transfer-allowed" {
+ localhost;
+ 207.29.250.54; // ???
+ 18.4.60.36; // charon
+ 18.49.3.1; // charon4
+ 74.207.246.137; // arctic
+ 66.92.29.156; // copan
+ 18.102.208.15; // olinda
+};
+
zone "dehnert.arctic.org" IN {
type master;
file "/etc/bind/pri/combined-dehnerts.zone";
allow-update { none; };
zone "dehnert.arctic.org" IN {
type master;
file "/etc/bind/pri/combined-dehnerts.zone";
allow-update { none; };
- allow-transfer {
localhost; 207.29.250.54; 18.181.0.36; 74.207.246.137; 66.92.29.156; 18.208.0.204
; };
+ allow-transfer {
"transfer-allowed"
; };
allow-query { any; };
allow-query { any; };
- notify no;
+
//
notify no;
};
zone "dehnerts.com" IN {
type master;
file "/etc/bind/pri/combined-dehnerts.zone";
allow-update { none; };
};
zone "dehnerts.com" IN {
type master;
file "/etc/bind/pri/combined-dehnerts.zone";
allow-update { none; };
- allow-transfer {
localhost; 207.29.250.54; 18.181.0.36; 74.207.246.137; 66.92.29.156; 18.208.0.204
; };
+ allow-transfer {
"transfer-allowed"
; };
allow-query { any; };
allow-query { any; };
- notify no;
+
//
notify no;
};
logging {
channel query.log {
};
logging {
channel query.log {
- file "/var/log/
query.log"
;
+ file "/var/log/
named/query.log" versions 10 size 100M
;
// Set the severity to dynamic to see all the debug messages.
severity debug 3;
// Set the severity to dynamic to see all the debug messages.
severity debug 3;
+ print-category yes;
+ print-severity yes;
+ print-time yes;
};
category queries { query.log; };
};
category queries { query.log; };