Good to know
What is SPF?
A TXT record starting v=spf1 that lists the servers allowed to send email for the domain. A receiving server checks the sender against it. It ends with what to do about everyone else: -all refuse, ~all mark as suspicious.
What is DMARC?
A TXT record at _dmarc. the domain that tells receivers what to do with mail failing both SPF and DKIM: deliver it anyway (p=none), treat it as spam (quarantine) or refuse it (reject). It also says where to send daily reports (rua).
What about DKIM?
DKIM signs each message with a key published in DNS under a name the sender picks (a "selector"), so it can't be checked without knowing that name. Your email provider's setup page gives the record to add.
How do I fix "too many DNS lookups"?
Every include, a, mx, ptr, exists and redirect costs a lookup, and so do the ones inside each include. Remove services you no longer use, and replace a and mx with the ip4 addresses they stand for.