Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm very new to all things DNS, yet I am trying to set up some SPF records. So far the SPF Setup Wizard has been immensely helpful, and I think I have things pretty much set; however I'd really like to know what the difference between mx:domain.com and include:domain.com is. Is it somewhat redundant to have both? Or do they both do mutually exclusive things? Thanks in advance.

share|improve this question
add comment

2 Answers 2

up vote 6 down vote accepted
  • "include:" includes the settings from another SPF-record (must point to a different name) - it does not actually specify any hosts ifself.

  • "mx:" includes the hosts designated by MX-records for a domain name (same a using "a:" for each of the host names pointed to by the MX-records).

share|improve this answer
add comment

The 'include' directive allows you to import SPF settings from another zone. Imagine if you are a company that has 5-7 zone. Rather than writing the SPF records each time, you can just write them on one and import to the others.

Hope that helps!

share|improve this answer
add comment

Your Answer

 
discard

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.