About this interactive
Email was built with no way to check who sent a message, so three checks were added on top of it, each published by the sending domain in its own DNS.
SPF lists the servers allowed to send mail for the domain: IPv4 and IPv6 addresses, and include for a partner's servers. A message from a listed server passes. One from anywhere else meets the `all` at the end: ~all is a soft fail (let it in, but treat it as likely spam) and -all a hard fail (do not accept it).
DKIM signs each message. The sending server hashes it and signs the hash with the domain's private key; the receiver fetches the public key from DNS and checks the signature. A match means the message came from that domain and was not changed on the way. A changed message, a forged signature or a missing key does not pass, and a signature hides nothing: anyone can still read the message.
DMARC says what to do with mail that fails. Its policy is none (no special treatment), quarantine (treat it as suspicious) or reject, pct sets how much of the failing mail the policy covers, and rua says where to send aggregate reports.
Every one of these is a request. The receiving server makes the final call.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →