How To: Add SPF Record to Sub Domain

How To: Add SPF Record to Sub Domain

Most folks don’t realize that if you have a subdomain that sends email; that it probably should have a SPF record so that email will not be rejected as spam.

Example: subdomain.foo.com

Steps

1) Log into Cpanel/WHM and navigate to:

Main >> DNS Functions >> Edit DNS Zone

2) Choose a Zone to Edit – example: foo.com

3) Find: “Add New Entries Below this Line”

4) Enter your corresponding variables such as this:

subdomain 14400 IN TXT "v=spf1 a mx ptr ~all"

5) Click on “Save”

This will reset Bind and your DNS zone should be updated.

To confirm that your subdomain is working properly, log into root and enter:

dig subdomain.abc.com

That should dispaly the new SPF record if all goes well.