DNS records added via the DNS Manager section of the Control Panel take effect only when the domain name uses the DNS service of your hosting account.
General info
Sender Policy Framework (SPF) is a DNS-based system that allows domain administrators to list the servers that are allowed to send email for their domain. The main purpose of this system is to fight email forgeries on the Internet. A flaw in the SMTP protocol allows anyone on the Internet to use any email address/domain as a sender of the messages they send. This is very often exploited by spammers and virus-spreading botnets - they use real domains as senders to give credibility to their messages. If you add an SPF record for your domain, then all mail servers on the Internet that use SPF checks will know which mail server your messages should come from, and will block as spam messages that use your domain as a forged sender. Note that adding an SPF record in the DNS server for your domain is not generally meant to fight spam sent TO your domain - it is meant to instruct recipient mail servers which is the real sending server for your domain.
A commonly used SPF record is:v=spf1 a mx ~all"v=" defines the version of SPF used. The "a" and "mx" strings specify the systems that are permitted to send messages for the domain. In this case, these would be the A and MX records of the domain - the servers that host the web and email services for the domain. The "~all" string at the end specifies that the mechanisms listed are all that should be used for matching. It also defines a SOFTFAIL policy.
Detailed information about SPF (Sender Policy Framework) is available at http://www.open-spf.org/.
Adding an SPF record through the SPF Protection tool
Here is how you can control the SPF protection:
Go to the DNS Manager section.
Click on DNS Settings.
Choose the domain or domain names using Apply for selected domains.
Click on the Enable button next to SPF Protection.
Note: You can also use the SPF Protection toggles next to each domain name in the list below.
This will automatically add the following SPF TXT record in the DNS records section:v=spf1 a mx include:SERVERNAME.smtp-spf.sureserver.com ~allReplace SERVERNAME with the specific server name/number associated with your hosting account.
This is the first part of your server's full name. For example, if your server's full name is s433.sureserver.com, use s433. If it is server299.com, use server299.
The SPF record above lists the following servers as allowed senders for your domain:
the server on which your hosting account is on,
the current web server of your domain, in case your domain is not pointed to our web hosting service,
the current email server of your domain, in case your email service is not pointed to our email server.
Removing the SPF protection by clicking the button Disable next to it would remove all existing SPF records for your domain.
IMPORTANT: When using the SPF protection tool, you should make sure that you are sending messages only through our server, and not through the SMTP server of your ISP or any other server that is not listed in the SPF record. Otherwise, your messages might be marked as spam. If you are sending messages through other mail servers as well, make sure these servers are added to the SPF record (see below for manually adding/editing an SPF record).
Adding an SPF record in the DNS Manager manually
The hosting Control Panel's DNS Manager section allows you to add an SPF record manually. To add an SPF record, you need to:
Go to the DNS Manager section.
Click on the Create button to the right of the interface.
Fill in the following fields:Subdomain: leave this emptyDomain: You can choose to apply the changes to one or more domain names through the Domain selector.Text: v=spf1 a mx include:SERVERNAME.smtp-spf.sureserver.com ~allTTL: Leave the default value: 14440.Note: Don't forget to replace SERVERNAME with the the server name/number associated with your hosting account. This refers to the first part of the server's full name. For example, if the full name is "s433.sureserver.com", use s433, so the SPF string would be "include:s433.smtp-spf.sureserver.com". If the full name is "server299.com", use server299, so the string would be "include:server299.smtp-spf.sureserver.com". The "include" mechanism in the SPF record will ensure that after any server IP changes, the SPF record will provide correct information about the servers allowed sending email for the particular domain.
Combining SPF records
You shouldn't create multiple DNS SPF records. Instead, you can list multiple mail servers as allowed senders for your domain. For example, if you use the email service of an account on server s433, but your website also sends messages via Google, you will need to have the SPF records for both servers configured for your domain - the SPF record for server s433:
v=spf1 a mx include:s433.smtp-spf.sureserver.com ~all
and the SPF record for Google (as per their documentation):
v=spf1 include:_spf.google.com ~all
Since having two separate SPF records is considered a bad practice, you should combine the values of the two SPF records into a single SPF record. To do this, you need to combine the systems that are permitted to send messages for your domain (between the "v=spf1" and the "~all" parts of the SPF record value), so the combined SPF record would look like this:
v=spf1 a mx include:s433.smtp-spf.sureserver.com include:_spf.google.com ~all
which is essentially the following from the first SPF record:
a mx include:s433.smtp-spf.sureserver.com and the following from the second SPF record:
include:_spf.google.com