Logging issue with bind

Raven raven at vp44.net
Thu Feb 16 11:16:53 UTC 2012


On Thu, 2012-02-16 at 09:54 +0000, Phil Mayers wrote:
> On 02/16/2012 09:48 AM, Raven wrote:
> > 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;
> 
> "severity dynamic" starts at 0 i.e. off.
> 
> Just remove the "severity" line.

Still not working I'm afraid.
I deleted query.log and restarted bind, but the log's still empty:

root at srv:~# ls -alh /var/log/bind9/
total 40K
drwxr-xr-x  2 bind bind 4.0K 2012-02-16 11:53 .
drwxr-xr-x 14 root root 4.0K 2012-02-16 10:21 ..
-rw-r--r--  1 bind bind  31K 2012-02-16 12:11 named.stats
-rw-r--r--  1 bind bind    0 2012-02-16 11:53 query.log

And I double checked with rndc:

root at srv:~# rndc status
version: 9.7.3
CPUs found: 4
worker threads: 16
number of zones: 31
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

What else could it be? Some debian-specific bug?

-RV




More information about the bind-users mailing list