Email spoofing is when someone sends a message that appears to come from your domain. It can be used to trick your customers or staff. Three DNS-based standards help protect you.
SPF
Sender Policy Framework lists the servers allowed to send mail for your domain. Receiving servers check the list and treat other senders with suspicion.
DKIM
DomainKeys Identified Mail adds a digital signature to outgoing messages. Receiving servers use a public key in your DNS to check the message was not changed and really came from your domain.
DMARC
DMARC tells receiving servers what to do if SPF or DKIM checks fail, and sends you reports. Start with a monitoring policy, review the reports, then move to stricter policies once you are sure legitimate mail passes.
How to set them up
- List every service that sends email as your domain (mail server, website forms, newsletters).
- Publish one SPF TXT record that includes them.
- Enable DKIM signing and publish the key your mail provider gives you.
- Publish a DMARC TXT record in monitoring mode and read the reports.
- Tighten the policy when you are confident.
See how to update DNS records before you edit.
Other habits
Use multi-factor authentication where available, train staff to spot phishing and keep devices updated.
Frequently asked questions
Will SPF, DKIM and DMARC stop all phishing?
No. They reduce spoofing of your domain, but phishing from other domains still needs staff awareness and good filters.