Bind-9.5.1 logging

JINMEI Tatuya / 神明達哉 Jinmei_Tatuya at isc.org
Mon Feb 2 22:35:31 UTC 2009


At Fri, 30 Jan 2009 22:06:57 -0500,
Peter Fraser <petros.fraser at gmail.com> wrote:

> I'm trying to configure bind-9.5 logging to help troubleshoot a
> problem. I put this in named.conf
> 
> logging {
>         channel myfile {
>         file "/etc/namedb/dns.log";
>         severity info;
>         print-time yes;
>         print-severity yes;
>         print-category yes;
>         };
>         channel myfile-security {
>         file "/etc/namedb/dns-security.log";
>         severity info;
>         };
>         category update { myfile; };
>         category security { myfile-security; };
> };
> 
> I then run rndc trace, but the log files stay empty. What could I be
> doing wrong?

'rndc trace' only affects debug logs.  There should be a file named
'named.run' on the working directory, and you'll find noisy output
there by issuing 'rndc trace'.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



More information about the bind-users mailing list