how to log query to syslog

viet anh vietanh1977 at yahoo.com
Wed Sep 12 03:50:41 UTC 2001


I am using bind 9.1.3 and I have a question:
I  want to send all log of queries  in my dns server to syslog. Which
syslog facility I should set up in my named.conf file.
the severity of log is info.
channel log_query {
                syslog  ???;
                severity info;
                print-category yes;
                print-severity yes;
                print-time yes;
                };
        category "general" {
                log_dns;
                };
        category network {
                log_network;
                };
        category "queries" {
                "log_query";
                };






More information about the bind-users mailing list