Logging issue with bind

Tom Schmitt TomSchmitt at gmx.de
Thu Feb 16 12:19:54 UTC 2012


> Von: Raven <raven at vp44.net>

> > > I am currently trying to setup query logging with bind on a debian
> > > server, but I seem unable to.

> > > logging {
> > >    channel munin_log {
> > >      file "/var/log/bind9/query.log" versions 30 size 15m;
> > >      severity dynamic;

> > "severity dynamic" starts at 0 i.e. off.

correct.

> > 
> > Just remove the "severity" line.

No, let it be, it's nothing wrong with it.

> Still not working I'm afraid.
> What else could it be? Some debian-specific bug?

No, nothing Debian-specific :-)

You told Bind how to log queries in the config.

Now you have to tell Bind that he should start with the querylogging.
Do:

rndc querylog

Tom.

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



More information about the bind-users mailing list