From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 20:00:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65EF61065706 for ; Thu, 22 Jan 2009 20:00:15 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 263058FC25 for ; Thu, 22 Jan 2009 20:00:15 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 7D02328502; Thu, 22 Jan 2009 21:00:14 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.2 (20081215) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id n3NL2BuxVKFw; Thu, 22 Jan 2009 21:00:14 +0100 (CET) Received: from [192.168.1.127] (unknown [196.216.54.42]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: grego03) by newmail.rmm.fr (Postfix) with ESMTPSA id 60C1D2842A; Thu, 22 Jan 2009 21:00:11 +0100 (CET) Message-Id: From: bsd To: GanGan In-Reply-To: Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Date: Thu, 22 Jan 2009 21:00:05 +0100 References: X-Mailer: Apple Mail (2.930.3) Cc: Liste FreeBSD Subject: Re: questions named.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 20:00:15 -0000 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"