Bind-9.5.1 logging
Peter Fraser
petros.fraser at gmail.com
Wed Feb 4 17:53:20 UTC 2009
Ok thanks, I did see that file and I did post some of the output. So
what else do I need to do to get say query or security logs into the
files I have specified?
On Mon, Feb 2, 2009 at 5:35 PM, JINMEI Tatuya / 神明達哉
<Jinmei_Tatuya at isc.org> wrote:
> 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