Adding SPF Records (spf_installer broken!)


Apr 1, 2008
Orlando, FL
I ran spf_installer on a slightly older cPanel machine which I'm unable to upgrade at this time and noticed while it inserted the IN TXT into all the zone files, it didn't include the domain anywhere. I ran spf_uninstaller and now I'm left with a situation where my spf_installer is not functioning correctly.

What I would like to know is if there's a way by method of some shell script to insert the record into the zone files? I thought about doing something like this:

for filename in *.*[a-z].db; do echo "blah blah blah" >> $filename; done

However that's not going to include the domain name, nor is it going to increment the serial. My cPanel/WHM version is WHM 11.2.0 cPanel 11.11.0-S18033. Any help would be appreciated as I'm tackling the infamous SmartScreen issue with Hotmail/Live.