logging
diff --git a/files/named.conf.options b/files/named.conf.options
index a503699..cfab791 100644
--- a/files/named.conf.options
+++ b/files/named.conf.options
@@ -18,4 +18,17 @@
{%- if server.get('ipv6_enabled', 'False') %}
listen-on-v6 { {{ server.get('ipv6_listen', 'any') }}; };
{%- endif %}
+};
+
+logging {
+ 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; };
};
\ No newline at end of file