summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2022-08-28 12:01:02 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2022-08-28 12:01:50 +0200
commit0f3802f797d2644bced3a750acaf5b676d0e3a25 (patch)
tree884d0b81b305506219ab7230e33b81e1052b269b
parent94c1562d88f708fb2ff0bdb657d1d0c6c4c592d4 (diff)
downloaddns-0f3802f797d2644bced3a750acaf5b676d0e3a25.tar.xz
Move xfer log to /var/named/log
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--named.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/named.conf b/named.conf
index 2285656..84fcb47 100644
--- a/named.conf
+++ b/named.conf
@@ -68,12 +68,13 @@ zone "remmy.io" IN {
logging {
channel xfer-log {
- file "/var/log/named.log";
+ file "/var/named/log/zone_transfers" versions 3 size 20m;
+ print-time yes;
print-category yes;
print-severity yes;
- print-time yes;
severity info;
};
+
category xfer-in { xfer-log; };
category xfer-out { xfer-log; };
category notify { xfer-log; };