Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I try using spf record to reduce email spoofing , that cause my domain blocked by others . I have 3 mail server : We can sent & receipt email to others or betwen them. I use these spf command :

    v=spf1 a mx -all 

I am not sure , is that correct or not . When I tried to test these spf using spf checking tools , here is the result :

evaluating v=spf1 a mx -all ... Results - record processed without error.

The result of the test (this should be the default result of your record) was, ambiguous . The explanation returned was, SPF Ambiguity Warning: No A records found for:,id

What should i do to fix these error ?

Thank you very much for any suggestion & help .

share|improve this question
That error message has a comma where there should be a period. Is that a typo in the question or in the original error message? – Ladadadada Jun 25 '12 at 8:10
up vote 3 down vote accepted

There are a couple of things here. First, the error means that you have a specified in the SPF record, but there is no A record in your DNS entries, so either create an address record for the base domain or remove a from the SPF record.

Second, you mention that you have multiple servers that send, but mx is the only other entry in the SPF record as an authorized sender. This means that all of those servers that can send mail should be listed within your domain's MX records. If they are not part of the domain's MX records, you will need to list their individual IP addresses as part of the SPF entry to let others know they are authorized (v=spf1 mx ip4: -all if, for example, the IP address for were

share|improve this answer
thankyou Mr scott , your answer given me a picture of these problem – fike Jun 25 '12 at 10:08
Mr Scott , as your suggestion, I create spf like these : v=spf1 mx ip4: ip4: ip4: -all and when I test the SPF record , the result is : record passed validation test with pySPF (Python SPF library)! – fike Jun 25 '12 at 10:47
Mr Scott, sorry if bother , after adding these spf into DNS record , and then I try to check using mxtoolbox , for mx and ip4 have passed the test , but there are fail in : -all . Is there something missing ? – fike Jun 26 '12 at 5:15
-all is part of the SPF standard, so there should not be an error there unless there is a typo or something in the SPF entry. If the error persists I would contact mxtoolbox and inquire as to what specifically is throwing off their testing utility. – Justin Scott Jun 26 '12 at 15:34
ok ,thank you Mr scott – fike Jun 27 '12 at 9:28

You should create an A record for in DNS

share|improve this answer
thank you MichelZ – fike Jun 25 '12 at 10:08

FYI - When you've completed your DNS record entries, you can send a test email to to verify proper setup. HTH!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.