HostGator SPF Record & Email Spoofing

If you have come to this page, finding for the information about SPF record, then you have come to the right place. Before I explain you what is SPF record, you need to understand email spoofing. Email spoofing is a technique in which the sender of the email changes the “From:” header in the email to some random email address than the original email address. Only spammers use the spoofing technique to send SPAM emails.

What's the Disadvantage of Spoofing?

The main disadvantage of spoofing technique is that spammers can steal your identity. They actually pretend to be you in the email. So people think that the email has come from you but in reality only the “From:” address has been tempered. Spammer can take advantage of your name by sending SPAM emails.

Another disadvantage is that if the email is returned for any reason then the non-delivery message will come to your inbox because your email address is used in “From:” address. That will occupy unnecessary space in your mail box.

Solution to Spoofing – SPF Record

You can handle spoofing problem in two ways. One way is to create a default email address and set catchall to :fail: no such address here. Now all the rejected email will be redirected to the default address. Setting default address solves the problem of getting bounce back emails but the main problem still persists and it's a identity stealing.

To stop your identity from being stolen, you need to create SPF records.

What is SPF Record?

SPF record is one type of DNS entry which says that you have only authorized the given email servers to send the emails for your domain's email address. So whenever someone receives an email with your email address in the “From:” field, the receiver email server checks the SPF record for your domain name. If the email is not sent from your allowed mail servers then email is discarded.

A SPF record for my domain looks like the following.

v=spf1 +a +mx +ip4: ?all

Change SPF Record in HostGator

If you want to create or edit the SPF records for your domain hosted at HostGator then use the following steps.

1) Login to HostGator cPanel using username and password.

2) Go to Mail section. Click on Email Authentication button.

HostGator Email Auth

3) On this page, you can add allowed mail servers entries in different format. You have an option to add the entries in A, MX & IP4 blocks. Add all the allowed mail servers entry here. Make sure that you have included all allowed email servers otherwise your real emails will also be discarded. Then click on Update button.

HostGator SPF Record

That's it. You have now successfully updated the SPF record in HostGator.

Back to Hostgator Tutorials

Go to Home