Re: queries not logged?

This is a discussion on Re: queries not logged? within the Bind Users forums, part of the DNS and Related Forums category; Mark Andrews wrote: >>What do you get when you do "rndc status"? >>You may ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2005
Robin Lynn Frank
 
Posts: n/a
Default Re: queries not logged?

Mark Andrews wrote:
>>What do you get when you do "rndc status"?
>>You may need to turn on the logging by doing a "rndc querylog".
>>
>>-Steve
>>
>>Quoting Robin Lynn Frank <rlfrank@paradigm-omega.com>:
>>
>>
>>>Does anyone see any obvious reason from the example below as to why
>>>queries are not being logged. Just about everything else, including
>>>lame-servers are logged.
>>>logging {
>>> channel default_syslog {
>>> syslog daemon;
>>> severity info;
>>> };
>>>
>>> channel log_file {
>>> file "named.log" versions 4 size 10m;
>>> severity dynamic;

>
>
> "severity dynamic;" requires logging to be enabled before anything
> is logged.
>
>
>>> print-category yes;
>>> print-severity yes;
>>> print-time yes;
>>>
>>> };
>>>
>>> category default { default_syslog; log_file; };
>>> category panic { default_syslog; log_file; };
>>> category query { log_file; };
>>> category security { log_file; };
>>> category cname { log_file; };
>>> category lame-servers { log_file; };
>>> category update { log_file; };
>>> };

I found something interesting. This is on a Mandrake 10.0 box that
starts named with an init script. When the box is booted, named comes
up, but not rndc. If I issue a /etc/init.d/named restart, named
restarts and rndc starts. Once that is done, and I issue a rndc
querylog, logging is almost as expected (except queries are logged to
both log_file and syslog). I'm looking at the init script because it
doesn't do what many other Mandrake init script do, i.e., issue a
restart rather than a simple start.

It looks like a script problem rather than a bind problem. Guess I will
tinker with the script.


-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Sed quis custodiet ipsos custodes?

iD8DBQFCGW5Ko0pgX8xyW4YRA4vfAKCDsNklMcX015Gf/s/hLeg/fgKk2QCfcEDU
MSwJkQr8WfVHk9/XBzlBbjw=
=f+I5
-----END PGP SIGNATURE-----



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0