Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2009 21:00:05 +0100
From:      bsd <bsd@todoo.biz>
To:        GanGan <gangan@zalteam.com>
Cc:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: questions named.conf
Message-ID:  <F9EBF78E-668D-4CF2-8352-13380136E743@todoo.biz>
In-Reply-To: <c49bca0f036cbb8cae04d5568c8b5cc2@zalteam.com>
References:  <c49bca0f036cbb8cae04d5568c8b5cc2@zalteam.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Well,

I use this:

logging {
         channel syslog_errors { syslog daemon; severity info; };
         channel file_log {
                 file "/var/log/dns.log" versions 3 size 10m;
                 severity dynamic;
                 print-category no;
                 print-severity yes;
                 print-time yes;
                 };
         category default { file_log; syslog_errors; };
         category lame-servers { null; };
};


;;

Maybe you should add a "category default" statement=85



Le 22 janv. 09 =E0 10:37, GanGan a =E9crit :

> first question :
>
> for have log i add this in my named.conf
>
> logging {
>        category "resolver" { "debug"; };
>        category "client" { "debug"; };
>        category "queries" { "debug"; };
>        channel "debug" {
>                file "/var/log/named/named.log" versions 2 size 50m;
>                print-time yes;
>                print-category yes;
>                };
>        };
>
> It's good ? because my named.log is empty

=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF
Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF

P "Please consider your environmental responsibility before printing =20
this e-mail"





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?F9EBF78E-668D-4CF2-8352-13380136E743>