Add an SPF record
An SPF (Sender Policy Framework) record is a type of TXT record in your DNS zone file. SPF records help identify which mail servers are permitted to send email on behalf of your domain. Adding an SPF record can help detect and prevent email spoofing.
- Sign in to your GoDaddy Domain Portfolio. (Need help logging in? Find your username or password.)
- Select Domain Edit Options next to your domain and then select Edit DNS. You may need to scroll down to see the Edit DNS option.
- Select Add to add a new record.
- Select TXT from the Type menu options. Remember, SPF records are a type of TXT record.
- Enter the details for your SPF record:
- Name: The host name for the record. Type @ to put the SPF record on your root domain, or enter a prefix such as mail.
- Value: The SPF rule to be applied. For example, enter v=spf1 mx -all to indicate emails are allowed from your mail server and no others. SPF records must have fewer than 512 characters and only UTF-8 characters are supported.
- TTL: How long the server should cache information. The default setting is 1 hour.
- Select Add Record to save your new SPF record.
Most DNS updates take effect within an hour, but could take up to 48 hours to update globally.
- Check out more info about SPF record syntax.
- Edit your TXT records to change the SPF details at any time.
- Use SPF records to prevent spoofing and ensure mail delivery
- Create a template to quickly apply DNS records to your domains.