logging
diff --git a/README.md b/README.md
index e2e39e2..83a95d7 100644
--- a/README.md
+++ b/README.md
@@ -15,3 +15,5 @@
notify: False
## Read more
+
+* https://help.ubuntu.com/community/BIND9ServerHowto
\ No newline at end of file
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