The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
AIX audit users activity daveisme AIX 9 04-08-2008 04:32 PM
mksysb and system activity samsa1mi UNIX for Dummies Questions & Answers 1 12-12-2006 05:32 PM
activity on a file Terrible Shell Programming and Scripting 2 08-13-2006 08:10 PM
Disk activity tovohery AIX 3 08-01-2006 09:21 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-12-2008
mbak mbak is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 18
how to log DNS activity?

I have DNS server with AIX 5.2 and need help in logging DNS activity to a file, in other words, I want to log the information of all the machines that resolves via DNS server along with their timestamp (like what time it resolved).

Any help is very much appreciated.
Thanks
  #2 (permalink)  
Old 02-13-2008
HPAVC's Avatar
HPAVC HPAVC is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 106
You have a dns server with aix ... does this mean you have bind running on an aix machine? If so what version?

In bind your looking to have some entries like this for the various log entries, easy google fodder. Obviously you want to do this for your secondary dns server as well.

Code:
logging {
  channel default_file  { file "/var/log/named/default.log"  versions 3 size 5m; severity dynamic; print-time yes; };
  channel general_file  { file "/var/log/named/general.log"  versions 3 size 5m; severity dynamic; print-time yes; };
  channel database_file { file "/var/log/named/database.log" versions 3 size 5m; severity dynamic; print-time yes; };
  channel notify_file   { file "/var/log/named/notify.log"   versions 3 size 5m; severity dynamic; print-time yes; };
  channel queries_file  { file "/var/log/named/queries.log"  versions 3 size 5m; severity dynamic; print-time yes; };
  channel network_file  { file "/var/log/named/network.log"  versions 3 size 5m; severity dynamic; print-time yes; };

  category default  { default_file; };
  category general  { general_file; };
  category database { database_file; };
  category notify   { notify_file; };
  category queries  { queries_file; };
  category network  { network_file; };
};
  #3 (permalink)  
Old 02-13-2008
mbak mbak is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 18
how to log DNS activity? Reply to Thread

# named -v
BIND 9.3.1

Can u plz. be more specific, to exactly which file do u want me to add these entries?

I only need information of those machines that are resolving via this DNS server.

Thanks
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0