Logging channel on Bind 9.4.2
Kirk
bind at kirkb.net
Thu Jun 5 19:21:41 UTC 2008
c0re dumped wrote:
> Hello,
>
> I'm trying to send all queries category to a file, but it´s not working.
>
> Here is my conf:
>
> logging {
>
> channel querylog {
> file "/var/log/query.log" versions 50 size 20m;
> print-time yes;
> };
>
> category queries { querylog; };
>
> };
>
> /var/log/query.log has the correct permissions to user and group bind
>
> Am I forgetting something ?
>
The syntax for logging looks good to me.
Does "rndc status" show "query logging is ON"? Also, are you sure the user
BIND is running as can write to /var/log?
Kirk
More information about the bind-users
mailing list