1/9/2006
Add Banned IP DNS Info to BFD Emails v2
Last week I posted a quick and dirty way to add the DNS information to the BFD alert emails. I already grew tired of looking at all the Dig comments, stats and additional info so I updated the snippet to provide only the PTR record and authority section.
The updated line:
DIG=`dig -x $ATT_HOST +nocomments +nostats +nocmd +noquestion`
And the updated alert.bfd.dig file. Rename and replace the original one at /usr/local/bfd/alert.bfd.
Popularity: 49%



January 22nd, 2006 at 2:44 pm
Thanks for the bit a code, I will try it out!