Hi guys.
I am currently trying to setup query logging with bind on a debian
server, but I seem unable to.
I have the exact same setup on another debian box and it works
flawlessly. I've been scratching my head all morning..
My configuration:
/etc/bind/named.conf:
logging {
channel munin_log {
file "/var/log/bind9/query.log" versions 30 size 15m;
severity dynamic;
print-time yes; };
category queries {
munin_log; };
};
/etc/bind/named.conf.options:
statistics-file "/var/log/bind9/named.stats";
List for the directory where logs should be:
root@srv:~# ls -alh /var/log/bind9/
total 16K
drwxr-xr-x 2 bind bind 4.0K 2012-02-16 10:25 .
drwxr-xr-x 14 root root 4.0K 2012-02-16 10:21 ..
-rw-r--r-- 1 bind bind 6.9K 2012-02-16 10:45 named.stats
-rwxrwxrwx 1 bind bind 0 2012-02-16 10:21 query.log
Why does "named.stats" get written correctly and "query.log" not??
-RV
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users