From 36f49cb9e73b79483a7b2a569f32d6d5e7fb9747 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Wed, 20 Sep 2017 02:07:45 -0400 Subject: [PATCH] Save bind logs in a bind-writable directory Otherwise, apparently bind can't do the log rotation. It logs an error message, but just keeps filling the file. --- named.conf.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/named.conf.local b/named.conf.local index d0e1f75..e092794 100644 --- 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; -- 2.34.1