urgido

Well-Known Member
Jul 19, 2005
129
10
168
cPanel Access Level
Root Administrator
Hi
I need to change all my spf records from "v=spf1 +a +mx +ip4:1.2.3.4. ~all" to "v=spf1 +a +mx +ip4:3.3.3.3. ~all" to three hundred domains. Is there a way to do in massive way with a command line?
 

talk2prakash

Member
Sep 29, 2013
14
0
1
cPanel Access Level
Root Administrator
Before you perform this I recommend you to take a backup of /var/named directory

cd /var/named

sed -i 's/+ip4:1.2.3.4/+ip4:3.3.3.3/g' *.db

Restart named service