IT Manager candidate based in Riyadh. 12+ years in IT operations and infrastructure.
+966 55 973 2392
https://www.islamfathi.com
Riyadh, Saudi Arabia
Three DNS records decide whether your email is trusted. What each one does, an example of each, and the order to roll them out.
If your company's email lands in spam, or someone sends fake messages in your name, three DNS records are usually involved: SPF, DKIM and DMARC. They are easier than the acronyms suggest.
SPF is a TXT record that lists the servers allowed to send mail for your domain.
example.com. TXT "v=spf1 ip4:203.0.113.10 include:_spf.mailprovider.com -all"
A domain should have exactly one SPF record. SPF also has a limit of 10 DNS lookups, which you reach quickly when you include several providers.
With DKIM, your mail server signs each outgoing message with a private key, and receivers check the signature using a public key published in DNS under a selector name. Your mail provider usually generates the key pair and tells you which TXT or CNAME record to add.
DMARC tells receivers what to do when SPF and DKIM checks do not align with the visible From address, and where to send reports.
_dmarc.example.com. TXT "v=DMARC1; p=none; rua=mailto:[email protected]"
Start with p=none, which only collects reports. Read them for a few weeks, fix any legitimate sender that fails, then move to p=quarantine and finally p=reject.
Forgetting a service that sends mail for you, such as a ticketing tool or a marketing platform, is the usual reason legitimate messages fail. Publishing two SPF records is another. Check every sender before tightening the policy.
Your email address will not be published. Required fields are marked *