Dns Logging

Hi,

I have setup bind on my mandrake box and wanted to know if there is a way of logging dns requests. I will have a few people using it as their dns server, and would like to log all queries made by them. Is this possible?

Thanks
choccarlmAsked:
Who is Participating?
 
rbrCommented:
An easy way would be

tcpdump dst port domain

or

tcpdump dst port 53
0
 
tdaoudCommented:

I beleive you may need to re-compile the source code with some logging options to be able to do that.

Good Luck,

Tarik
0
 
jlevieCommented:
There are some ways that you could log the requests, but trying to do so with named is gonna be a mess. The easiest way to log the requests would probably be to set up ipchains to permit the traffic and log it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.