LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-01-2012, 01:59 PM   #1
amolmistry
Member
 
Registered: Nov 2008
Posts: 45

Rep: Reputation: 0
Bind DNS log


Hello,

Any Idea about bind dns log?

Showing only below denied log, not showing complete log in /var/log/messages

Sep 1 11:41:51 xxxxx named[838]: client xxx.xxx.xxx.xxx #30032: view external: query (cache) 'xxxxx.com/DS/IN' denied
Sep 1 13:52:36 xxxxx named[838]: client xxx.xxx.xxx.xxx #30032: view external: query (cache) 'xxxxx.com/DS/IN' denied

How do i enable complete DNS requests log on server?

Plz assist.
 
Old 09-01-2012, 07:56 PM   #2
barghota
Member
 
Registered: Jul 2003
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Debian, FreeBSD
Posts: 94

Rep: Reputation: 38
First it will help if you post your named.conf

Here is a configuration snippet which will increase you logging verbosity to a big extent;

Quote:
logging {
channel systemlog {
file "/var/log/named.log";
severity debug;
print-time yes;
};

channel audit_log {
file "/var/log/security.log";
severity debug;
print-time yes;
};

channel xfer_log {
file "/var/log/xfer.log";
severity debug;
print-time yes;
};

channel update_debug {
file "/var/log/update.log";
severity debug 3;
print-category yes;
print-severity yes;
print-time yes;
};

category default { systemlog; };
category security { audit_log; systemlog; };
category config { systemlog; };
category xfer-in { xfer_log; };
category xfer-out { xfer_log; };
category notify { audit_log; };
category update { update_debug; };
category queries { audit_log; };
category lame-servers { audit_log; };
};
Place it in your named.conf reload/restart and check your logs.
 
1 members found this post helpful.
Old 09-02-2012, 11:48 PM   #3
amolmistry
Member
 
Registered: Nov 2008
Posts: 45

Original Poster
Rep: Reputation: 0
Hello,

Thanks barghota for valuable information..

Will definitely try this.
 
Old 09-04-2012, 02:36 AM   #4
amolmistry
Member
 
Registered: Nov 2008
Posts: 45

Original Poster
Rep: Reputation: 0
Its worked for me,

Thanks barghota for your valuable help.
 
Old 09-04-2012, 05:24 AM   #5
barghota
Member
 
Registered: Jul 2003
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Debian, FreeBSD
Posts: 94

Rep: Reputation: 38
you will find

'Did you find this post helpful? Yes'

Click on yes
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Log Analyzer for BIND DNS - Does one exist? cam34 Linux - Software 9 05-24-2018 08:10 AM
BIND - reverse dns queries only working locally, forward dns works fine. SloS13 Linux - Networking 3 08-25-2011 12:46 PM
Bind.DNS Help needed on Split DNS server manya Linux - Server 3 10-28-2010 08:39 AM
How to get Windows Clients to be served DNS from a Linux BIND-DNS Server texmansru47 Linux - Networking 12 07-10-2008 07:06 PM
LXer: DNS: The Bind Leading the Bind LXer Syndicated Linux News 0 06-15-2006 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:55 PM.

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