Hello Alan -

Currently I'm not using query logging, it's not in my options at all. Are you saying that named logging by syslog into /var/log/messages is controlled by named.conf? Seems unlikely, I'd think it would be a function of syslog.conf. I'm trying to learn more about it but I'm swamped this am, just thought I'd post here to see if anyone knows a quick way to exclude named from the syslog completely.

Ed

On 11/12/2012 7:34 AM, Alan Clegg wrote:

On Nov 12, 2012, at 10:23 AM, Ed LaFrance<e...@connexinternet.com>  wrote:

I've been corresponding with several people on this issue but no one had 
questioned that when I pointed it out.

I don't think I'd seen the logging stanza, but yes, logging to syslog is a bad 
thing, and logging queries to syslog is even worse.  Having had someone pick 
this out of an strace output is indeed awesome.

I really don't need this kind of logging in the messages log. I can turn on 
query logging in the named.conf if I need more detail on named. I think the 
simplest thing would just be to have an exclusion in the syslog config for 
named. I confess some general ignorance, so perhaps you know the directive for 
that?

To reduce the load on named in general, just turn off query logging in the named.conf, 
or, you can leave the stanza in and put a "querylog no;" in your options stanza 
so that it is not started when named starts (I'm not sure what version introduced the 
querylog option, so you may need to test this.

AlanC

--
(800) 362-7579 ext 1

+-------------------------------------------------------+
+ Colocation    Dedicated Servers   IPv4 & IPv6 Transit +
+-------------------------------------------------------+
Connex Internet Services, Inc.     direct: (916) 265-1568
11230 Gold Express Dr #310-313        fax: (916) 880-5663
Gold River, CA 95670            http://connexinternet.com
+-------------------------------------------------------+
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to