dns
diff --git a/files/named.conf.local b/files/named.conf.local
index d7f9b6b..d03fe76 100644
--- a/files/named.conf.local
+++ b/files/named.conf.local
@@ -24,8 +24,3 @@
{%- endif %}
};
{% endfor %}
-
-logging {
- channel "querylog" { file "/var/log/bind9/query.log"; print-time yes; };
- category queries { querylog; };
-};
\ No newline at end of file
diff --git a/files/named.conf.options b/files/named.conf.options
index cfab791..9c767ce 100644
--- a/files/named.conf.options
+++ b/files/named.conf.options
@@ -24,11 +24,19 @@
category default { default_syslog; default_debug; };
category unmatched { null; };
- channel query.log {
- file "/var/log/query.log";
- // Set the severity to dynamic to see all the debug messages.
- severity debug 3;
- };
+ category queries { query.log; };
+ channel query.log {
+ file "/var/named/query.log";
+ print-time yes;
+ severity debug 3;
+ };
- category queries { query.log; };
-};
\ No newline at end of file
+ category update { update_log; };
+ channel update_log {
+ file "/var/named/update.log" versions 2 size 20m;
+ print-time yes;
+ print-category yes;
+ print-severity yes;
+ severity info;
+ };
+};