Add Banned IP DNS Info to BFD Emails v2

by damonp on January 9, 2006

in Security,SysAdmin

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: 1%

Most Popular Posts

Damon Parker is a freelance sysadmin and web developer in Texas. He specializes in server setup, server security and high performance server configurations. Need help setting up a web server or getting a server back online after a crash or hack? Email Damon

{ 1 comment… read it below or add one }

Blackrain January 22, 2006 at 2:44 pm

Thanks for the bit a code, I will try it out!

Reply

Leave a Comment

Previous post:

Next post: