You are here: Home >Posts Tagged ‘bind query log

Log all DNS queries to my DNS server

We can log all the  DNS queries , type this single command (as root) on your DNS server (Bind) ————- rndc querylog ————- once this done, all DNS queries will be logged in /var/log/messages, the results will be similar to Oct 24 03:01:43 ns1 named[30660]: client query: IN MX Oct 24 03:01:43 ns1 [...]

Tags: , ,

  • Digg
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS