Domain administrators can add, delete, and update SPF records to specify which hosts are allowed to send mail for a given domain. For example, your server uses Hostmonster to deliver mail and your marketing department occasionally sends promotional messages with a different sender address. You can add the marketing department's IP address to your SPF record so that its outgoing email is accepted correctly by recipient email servers.
Creating SPF record for Hostmonster
Here are the steps to set up SPF for Hostmonster :
- Login to your DNS management console
- Navigate to Tools & Settings > DNS Template
- You need to edit the DNS TXT record related to SPF
- An SPF TXT record for Hostmonster will have the following syntax:
mydomain.com TXT v=spf1 include:hostmonster.com -all
- Publish this record in your DNS records section for your respective domain.
Note: If you don’t have an SPF record previously for your domain, simply publish the above-mentioned record to enable SPF for outgoing emails using Hostmonster. If you do have an existing SPF record in your DNS, you need to modify it to include Hostmonster, as shown below:
Previous SPF record: v=spf1 mx -all
Modified SPF record: v=spf1 mx include:hostmonster.com -all
- Save changes
- Wait for 72 hours to allow your DNS to process the changes