How do you combine SPF records in Office 365

How do I combine these?  If you could paste the correct information here, that would be appreciated.

Office SPF
J.R. SitmanIT DirectorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vasil Michev (MVP)Commented:
First of all, multiple SPF records for the same domain are not permitted, so you are on the right track by wanting to merge them. Which you can to like this:

v=spf1 ip4: -all

Open in new window

Do note that there is a limit on the DNS resolutions you can have in the record, and the one used by EOP already has 4 lookups, so excessive "include" clauses will invalidate the SPF. So I would advise you to not add all of these unless you are absolutely sure they are necessary, and there is no option to use other workarounds (such as using a separate domain for sending messages via happifox, etc).

You can use this tool to validate the SPF once you've added all the clauses:
Vasil Michev (MVP)Commented:
Oh, and if you are using O365, you dont need the MX clause (which also exhausts the DNS lookups).
J.R. SitmanIT DirectorAuthor Commented:
I need instructions on how to combine them. Then I can test
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

J.R. SitmanIT DirectorAuthor Commented:
Can you send the instructions or do the combine for me please
Saif ShaikhServer engineer Commented:
You need to combine them like so:

v=spf1 ~all(space) -all(space) ~all(space) ~all(space)

There is a space after each line spf record ends. Make sure to provide space where it's mentioned above when creating it in public dns.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
J.R. SitmanIT DirectorAuthor Commented:
Thank you I'll try later this afternoon
Saif ShaikhServer engineer Commented:
Welcome we will await your reply.
J.R. SitmanIT DirectorAuthor Commented:
I do not see a way to edit this from within Office 365.  Should this be done from Network Solutions?
-all or ~all should be only one time at the end of the record. It is a DNS record, so you should put it on your domain DNS server.
Are you sure you need to send mails from all these domains mail servers?
J.R. SitmanIT DirectorAuthor Commented:
Worked.  Thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Office 365

From novice to tech pro — start learning today.