Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

How could I enable logging of bind 9 forwarders messages?

$
0
0
How could I enable logging of bind 9 forwarders messages? I have the following but forwarded requests do not show up in the logs even when running named in debug 10 mode:

Code:

logging {

        channel syslog_errors {                                        // this channel will send errors or
                // syslog user;                                        // or worse to syslog (user facility)
                // severity error;                                      // disabled for now.
                file "/var/log/named/named.log" versions 3 size 20m;
                severity dynamic;
        };

        channel audit_log {
                file "/var/log/named/named.log" versions 3 size 20m;
                severity info;
                print-time yes;
                print-category  yes;
        };

        category default { audit_log; };
        category general { audit_log; };
        category security { audit_log; default_syslog; };
        category config { default_syslog; };
        category resolver { audit_log; };
        category xfer-in { audit_log; };
        category xfer-out { audit_log; };
        category notify { audit_log; };
        category client { audit_log; };
        category network { audit_log; };
        category update { audit_log; };
        category queries { audit_log; };
        category lame-servers { audit_log; };
};


Thanks,
DH

Viewing all articles
Browse latest Browse all 16232

Trending Articles