summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2022-08-28 12:01:57 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2022-08-28 12:02:21 +0200
commit34baca6e63f9e85438e6b0539b3c5b126d0117c8 (patch)
treef80f9ef5a6865fdddf45f95647afb6e89d02fd11
parent0f3802f797d2644bced3a750acaf5b676d0e3a25 (diff)
downloaddns-34baca6e63f9e85438e6b0539b3c5b126d0117c8.tar.xz
Add dnssec log file
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--named.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/named.conf b/named.conf
index 84fcb47..9c4afd1 100644
--- a/named.conf
+++ b/named.conf
@@ -67,6 +67,14 @@ zone "remmy.io" IN {
};
logging {
+ channel dnssec-log {
+ file "/var/named/log/dnssec" versions 3 size 20m;
+ print-time yes;
+ print-category yes;
+ print-severity yes;
+ severity debug 1;
+ };
+
channel xfer-log {
file "/var/named/log/zone_transfers" versions 3 size 20m;
print-time yes;
@@ -75,6 +83,8 @@ logging {
severity info;
};
+ category dnssec { dnssec-log; };
+
category xfer-in { xfer-log; };
category xfer-out { xfer-log; };
category notify { xfer-log; };