X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=named.conf.local;h=1b931dca67ad52d380c7c33aa41d58edce62abb9;hb=a71ec3d54a5747666739e5496d3b91bcc3d66692;hp=3a1101b0ff626afb43ffb5f135db4c077072a6a5;hpb=b0009dafe6d3d03a8760608bc8d46c8bac3f8671;p=sysconfig%2Fbind.git diff --git a/named.conf.local b/named.conf.local index 3a1101b..1b931dc 100644 --- a/named.conf.local +++ b/named.conf.local @@ -28,3 +28,16 @@ zone "dehnerts.com" IN { allow-query { any; }; notify no; }; + +logging { + channel query.log { + file "/var/log/query.log" versions 10 size 100M; + // Set the severity to dynamic to see all the debug messages. + severity debug 3; + print-category yes; + print-severity yes; + print-time yes; + }; + + category queries { query.log; }; +};