Set up SPF Record

This tutorial is only necessary if you are hosting your DNS with an external provider. If your domain is using our nameservers (ns1.nanhosting.com and ns2.nanhosting.com) you don't need to do anything.

 

Setting up an SPF (Sender Policy Framework) record on a domain can help to prevent email spoofing and improve the deliverability of legitimate emails. In this tutorial we will show you how to set up an SPF record for the domain "example.com" using our mail server "proton.myjoyhosting.com":

 

  1. Log in to the control panel for your domain registrar.

  2. Locate the option for managing DNS records for your domain.

  3. Create a new TXT record for your domain.

  4. In the "Name" or "Host" field, enter "@" or "example.com" to indicate that the record is for the root domain.

  5. In the "Value" or "Text" field, enter the SPF record value. The SPF record should look like "v=spf1 mx a include:proton.myjoyhosting.com -all".

  6. The "v=spf1" indicates that this is an SPF record, the "mx" indicates that the mail server is included in the SPF check, the "a" indicates that the A records of the domain are included, the "include:proton.myjoyhosting.com" tells the receiving server to look up the SPF record of proton.myjoyhosting.com and use it as part of the check and the "-all" indicates that all other hosts should mark the mail as failed SPF check.

  7. Save the record and wait for the changes to propagate.

  8. Test the SPF record by sending an email from your server and check the headers of the email for the SPF record. You can use online tools such as Kitterman's SPF checker (https://www.kitterman.com/spf/validate.html) to test your SPF record.

It's important to note that the process of creating an SPF record may vary depending on the domain registrar you use and the specific control panel you are working with. Also, it's important to keep your SPF records updated, in case of any changes to your email infrastructure.

 

DNS changes take 24 - 72 hours to fully propagate.

 


Was this article helpful?

mood_bad Dislike 0
mood Like 1
visibility Views: 297