Skip to main content
Keep Your Business Open During COVID-19Learn More
Call us
Phone numbers and hours
Request a Call

Avoid the wait. Make a request and we will call you back

Request a Call
Help Center

Explore our online help resources

BlogHelp

Domains Help

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.

  1. Sign in to your GoDaddy Domain Portfolio. (Need help logging in? Find your username or password.)
  2. Select Screenshot showing the three-dot icon to select domain edit options Domain Edit Options next to your domain and then select Edit DNS. You may need to scroll down to see Edit DNS.
    screenshot showing the option for edit dns
  3. Select Add New Record.
    Screenshot showing the Add New Record button highlighted with a red rectangle
  4. Select TXT from the Type menu.
  5. Enter the details for your new SPF record:
    • Name: The hostname or prefix of the record, without the domain name. Enter @ to put the record on your root domain, or enter a prefix, such as mail.
    • Value: The SPF rule to be applied, such as v=spf1 mx -all to indicate emails are only allowed from your mail server. The Value must follow these guidelines:
      • Maximum 512 characters are allowed
      • Only ASCII characters are allowed
      • Note: SPF records can be formatted in many ways, and we're unable to provide specific guidance on what to enter for the Value. Take a look at our guide to SPF records for GoDaddy email servics and some more info about SPF record syntax.
    • TTL (Time to Live): The amount of time the server should cache information before refreshing. The default setting is 1 hour.
  6. (Optional) Select Add More Records to add multiple DNS records at the same time. If you change your mind, select screenshot of the icon for deleting a dns record Delete to remove any records that haven't been saved yet.
  7. Select Save to add your new record. If you added multiple records at the same time, select Save All Records.

Most DNS updates take effect within an hour but could take up to 48 hours to update globally.

Related steps

More info