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:
And the updated alert.bfd.dig file. Rename and replace the original one at /usr/local/bfd/alert.bfd.
Popularity: 1%
{ 1 comment… read it below or add one }
Thanks for the bit a code, I will try it out!