Bulk Edit SPF
Hi all,
Is there a way of mass editing SPF records on domain names to remove part of it? For example:
v=spf1 +a +mx +ip4:1.2.3.4 +ip4:5.6.7.8 -all
I wish to remove the +ip4:5.6.7.8 part but leave all of the rest. I only want it to affect domains that have the above specific record. So the above will then become:
v=spf1 +a +mx +ip4:1.2.3.4 -all
Any help will be appreciated.
Cheers,
-
I am now looking the same thing.
After migrating hundreds of accounts between servers using the transfer tool in WHM the the old +ip4:x.x.x.x entry remains. I do not want to have to do this manually.
0 -
I'm sorry to say I don't have any automated tools for this. Careful scripting/find and replace/BASH edits would be the best option, but remember you'll also need to update the serial numbers for the zones as part of your work as well.
0
Please sign in to leave a comment.
Comments
2 comments