LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-15-2004, 10:22 AM   #1
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Rep: Reputation: 31
DNS Logging Problem


Inside "named.conf":

Code:
// * Configuring logging
logging {

       channel my_syslog {
               syslog daemon;
               severity info;
       };

       channel my_queries {
               file "/etc/bind/dns.queries" size 500k;
               severity dynamic;
               print-category yes;
               print-severity yes;
               print-time yes;
       };

        channel my_log {
                      file "/etc/bind/dns.mylog";
                      severity dynamic;
                      print-category yes;
                      print-severity yes;
                      print-time yes;
       };

       channel my_config {
               file "/etc/bind/dns.config";
               severity dynamic;
               print-category yes;
               print-severity yes;
               print-time yes;

       };

      category queries { my_queries; };                       // Save queries ;)
       category statistics { my_syslog; };
       category panic { my_syslog; default_stderr; my_log; };  // Send panic errors (cause dns to fail) to all channels
       category config { my_config; };                         // Configuring file processing
"my_queries" chnanel works just fine. The other 2 channels are empty
i tried to delete the files but when i restart named they are created again and remain empty.

Anyobody see something wrong?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem logging in cegha Mandriva 3 07-20-2005 11:25 PM
kopete problem re: logging in sigh_ren SUSE / openSUSE 2 07-13-2005 10:12 PM
Problem Logging In BigSAR Mandriva 8 03-11-2005 11:37 PM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM
problem logging in gchua Linux - General 3 10-11-2001 03:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration