CartMetrix - Do you know yours?

« Dynamic Copyright Footers | Home | Peccadillo »

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%

Trackback:

Related Posts

One Response to “Add Banned IP DNS Info to BFD Emails v2”

  1. Blackrain said:

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

Post your opinion

Verification Image

Please type the letters you see in the picture.

Subscribe without commenting


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2009 damonparker.org. all rights reserved.

Close
E-mail It