LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DNS Logging Problem (https://www.linuxquestions.org/questions/linux-networking-3/dns-logging-problem-170516/)

JJX 04-15-2004 10:22 AM

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?


All times are GMT -5. The time now is 04:40 PM.