Replace IP address across multiple SPF records in a MySQL server.

Just had to do this for a PowerDNS server.

UPDATE `records` SET `content` = replace(content, 'old_ip', 'new_ip');

Be the first to comment

Leave a Reply

Your email address will not be published.


This site uses Akismet to reduce spam. Learn how your comment data is processed.