how to log query to syslog

sanjay singh indianlinuxuser at yahoo.com
Wed Sep 12 04:57:04 UTC 2001


check /etc/syslog.conf

sanjay

--- viet anh <vietanh1977 at yahoo.com> wrote:
> 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";
>                 };
> 
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com


More information about the bind-users mailing list