For When You Can't Have The Real Thing
[ start | index | login ]
start > dns > Counting Denied Queriers

Counting Denied Queriers

Created by dave. Last edited by dave, 7 years and 290 days ago. Viewed 1,720 times. #1
[edit] [rdf]


Show IPs getting denied responses to queries on my local DNS server, sorted by the number of denies in the log file.


# grep denied named.log.1 | awk '{print $4}' | awk -F '#' '{print $1}' | sort | uniq -c | sort -n | less


There's nothing here to be proud of, but it works.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt