Ddos on dns

Post Reply
a24uall
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Ddos on dns

Post by a24uall »

Shows the number of denied dns queries to the server from the specific external Ip address
grep -i named /var/log/messages | grep -i Sep\ 23| grep denied | awk '{ print $7 }'| cut -d \# -f 1 | sort | uniq -c | sort -n -r | head -n 5
Top denied queries sorted by domains:
grep named /var/log/messages | grep denied | awk '{print $12}' | sort | uniq -c | sort -n -r | head
Arun
WebhostingDevelopment.com
Post Reply

Return to “DOS”