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 200.23.242.196#35545: query: parentsascoaches.net IN MX Oct 24 03:01:43 ns1 [...]

Tags: , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS