From 4797e1af060494b685b261c37d8ce34f4baf44f6 Mon Sep 17 00:00:00 2001 From: Beu Date: Sat, 9 Jul 2022 21:35:54 +0200 Subject: [PATCH] Add serial-update-method & logging settings --- named.conf.options | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/named.conf.options b/named.conf.options index 4c2b65a..89175cf 100644 --- a/named.conf.options +++ b/named.conf.options @@ -28,4 +28,15 @@ options { // Disable transfer by default allow-transfer { none; }; -}; \ No newline at end of file + // Set SOA serial to date format (YYYYMMDDNN) for dynamic zones + serial-update-method date; + +}; +logging { + channel "queries" { + file "/var/log/named/queries.log"; + print-time yes; + print-category yes; + }; + category queries { "queries"; }; +};