cPanel: Install SPF record with command

If you have cPanel server and wish to add SPF record in one shot, there is a command come with cPanel to allow you to done it without modify each of the DNS record.

The command line will be as below where cPanel_username should represent your cPanel’s username.

/usr/local/cpanel/bin/spf_installer cPanel_username


/usr/local/cpanel/bin/spf_installer mickgenie

It will result the DNS zone added the following line,

"v=spf1 a mx ip4: ?all"

Published by

Mick Genie

Mick Genie is the founder of and working at ExaBytes Network Sdn Bhd and WPWebHost web host company. He is expertise in Windows and Linux environment especially web hosting related information, tips and trick as well as the IT Information.