projects
/
sysconfig
/
bind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae79e9
)
Save bind logs in a bind-writable directory
author
Alex Dehnert
<alex@dehnerts.com>
Wed, 20 Sep 2017 06:07:45 +0000
(
02:07
-0400)
committer
Alex Dehnert
<alex@dehnerts.com>
Wed, 20 Sep 2017 06:07:45 +0000
(
02:07
-0400)
Otherwise, apparently bind can't do the log rotation. It logs an error message,
but just keeps filling the file.
named.conf.local
patch
|
blob
|
history
diff --git
a/named.conf.local
b/named.conf.local
index d0e1f7598d77c524dacc0e30c33b730070f7e31b..e09279468ac8842dcfc9b15a2cdb141bed1c8a9c 100644
(file)
--- a/
named.conf.local
+++ b/
named.conf.local
@@
-31,7
+31,7
@@
zone "dehnerts.com" IN {
logging {
channel query.log {
- file "/var/log/query.log" versions 10 size 100M;
+ file "/var/log/
bind/
query.log" versions 10 size 100M;
// Set the severity to dynamic to see all the debug messages.
severity debug 3;
print-category yes;