LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2010, 03:50 PM   #1
aloisius-a
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware, LFS
Posts: 27

Rep: Reputation: 0
bind categories


Hi,

to implement a quite complicated configuration of bind (rel. 9.7.1-P2) I need to perform a complete logging so, following the suggestions of BIND 9 Administrator Reference Manual, I inserted in the file named.conf the lines for channels and the corresponding lines for categories, but while almost all categories give the expected results the category "client" doesn't give any log and I am wondering the reason.
I used, for this category the following lines for channel and category:

logging {
............
channel client_processing {
file "/var/log/named/processing.log";
print-time yes;
severity debug;
};
.............
category client {
client_processing;
};
..............
};

I would like a suggestion to overcome this problem

aloisius-a
 
Old 09-26-2010, 03:21 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

The category client is used for debugging, so it's useless in a normal bind operation.
Here is what is logged for a query when the debug level is set to 3:
Quote:
26-Sep-2010 11:18:39.178 client 127.0.0.1#37566: UDP request
26-Sep-2010 11:18:39.178 client 127.0.0.1#37566: query
26-Sep-2010 11:18:39.178 client 127.0.0.1#37566: replace
26-Sep-2010 11:18:39.178 client @0x841ec0: create
26-Sep-2010 11:18:39.178 client @0x841ec0: udprecv
26-Sep-2010 11:18:39.382 client 127.0.0.1#37566: send
26-Sep-2010 11:18:39.382 client 127.0.0.1#37566: sendto
26-Sep-2010 11:18:39.382 client 127.0.0.1#37566: senddone
26-Sep-2010 11:18:39.383 client 127.0.0.1#37566: next
26-Sep-2010 11:18:39.383 client 127.0.0.1#37566: endrequest
If you want client logging you should use:
Code:
channel client_processing {
file "/var/log/named/processing.log";
print-time yes;
severity debug 3;
Regards

Last edited by bathory; 10-26-2010 at 07:03 AM.
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Kmenu categories with OpenSuse 10.2 Guitarist88 SUSE / openSUSE 3 02-06-2007 07:38 AM
Suggestion: Additional HCL categories KimVette LQ Suggestions & Feedback 1 02-12-2006 05:01 PM
Can't create new categories in PwManager1.2.4 dussel Linux - Software 0 02-09-2006 08:27 AM
evolution categories jpc82 Linux - Software 3 03-21-2003 11:07 AM
Categories SG-Vegeta LQ Suggestions & Feedback 1 10-25-2000 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration