Where do I setup my SPF record?

  • Posted April 2, 2015
  • Email

I have a VPS where some of my hosted clients will get email going into spam more often than not.

Here are the results of a test I did on (my host name and IP changed below just for privacy reasons).

[SPF] does not allow your server XXX.XXX.XX.XX to use
Sender Policy Framework (SPF) is an email validation system designed to prevent email spam by detecting email spoofing, a common vulnerability, by verifying sender IP addresses.

What we retained as your current SPF record is:

v=spf1 -all
It should be changed to:

v=spf1 ip4:XXX.XXX.XX.XX ~all

My question is, do I change the SPF record at the registrar where my VPS domain name is registered?

Also, do I have to do this for all my clients domains that I host on that VPS?

Thanks in advance!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


If Server1 sends mail using the following domain names; , etc. You have to put the SPF records into the dns records of the domain names. Not the server1 one.

Because, SPF does the following: A retreiving mailserver will check the domain name for SPF records, in other words: which mail servers, in this case Server1, may e-mail as the domain name.


You change the SPF in the domain host records.