Email spoofing: stop forged mail from your domain
Want this checked on your own domain, or DMARC reports without giving out your email address or needing a mailbox at your domain?
Join the waitlistUpdated
Message for whoever manages your DNS
Hi, we don’t send any email from domain. Could you add these records, so receiving mail services can tell that mail claiming to come from it is forged?
- TXT record at the root (@): v=spf1 -all
- TXT record at _dmarc: v=DMARC1; p=reject;
- MX record at the root (@), priority 0, pointing to “.” (only if the domain has no other MX records)
If there is already a TXT record starting with “v=spf1” or a record at _dmarc, please replace it rather than adding a second one.
Thank you.
Want this checked on your own domain, or DMARC reports without giving out your email address or needing a mailbox at your domain? Join the waitlist.
Check yours
The full report (join the waitlist for access) checks whether a domain that doesn’t use email is locked down, and how well a domain that does is protected. The DMARC checker shows the policy receivers are asked to apply.
Fix it
First, decide whether the domain sends email
List everything that might send email using this domain:
- a mailbox provider;
- website contact forms;
- store, booking, or billing notifications;
- newsletters;
- a help desk.
Any one of them means the domain sends email. In that case, skip to Domains that send email. The lock-down records below would make that mail fail authentication.
If you aren’t sure, publish a monitoring DMARC record with a report address first, v=DMARC1; p=none; rua=mailto:…. Then read the reports before locking the domain down. They show which servers send mail as the domain (RFC 9989 §5.1.4, §5.1.5).
Anyone can send email pretending to be this domain
What it means: The domain appears not to be used for email: it has no mail servers, and its SPF record, if it has one, authorizes no one. But it doesn’t yet tell receivers to reject mail that claims to come from it. The UK’s National Cyber Security Centre puts it plainly: “Unprotected, non-email sending domains can just as easily be used for email spoofing and phishing.”
Fix: If no one sends email from this domain, publish these records. The report shows only the ones you’re missing.
| Type | Host | Value | What it says |
|---|---|---|---|
| TXT | @ | v=spf1 -all | No server may send mail for this domain (RFC 7208 §10.1.2) |
| TXT | _dmarc | v=DMARC1; p=reject; | Mail with this domain in the From address that fails authentication isn’t valid; reject it (RFC 9989 §4.7) |
| MX | @ | priority 0, target . | This domain accepts no mail: a “null MX” (RFC 7505 §3) |
- Replace, don’t add. If a TXT record starting with
v=spf1already exists, replace it. Two SPF records break SPF (RFC 7208 §3.2). Do the same for any existing record at_dmarc: when there are several, receivers discard them all (RFC 9989 §4.10). - Null MX: add it only if the domain has no other MX records. A null MX must be the domain’s only MX record (RFC 7505 §3). GOV.UK notes that some DNS hosts can’t create one. If yours can’t, skip it: the SPF and DMARC records are what our check requires.
- Reports are optional. Add
rua=mailto:and an address to the DMARC record if you want reports on attempted use of the domain (M3AAWG). The address has to be at a domain that receives mail. DMARC explains report addresses at other domains. - DKIM: nothing to publish. A domain with no DKIM keys can’t produce a valid DKIM signature (RFC 6376 §6.1.2), and M3AAWG and Microsoft both say parked domains should publish none. UK government guidance (NCSC and GOV.UK) adds a record that revokes every key,
*._domainkeywith the valuev=DKIM1; p=. NCSC calls it helpful, though it “isn’t absolutely required”, and our check doesn’t require it.
If you later start sending email from the domain, change these records before the first message goes out; GOV.UK notes they can be altered later. Remove the null MX too: domains used in sender addresses shouldn’t have one (RFC 7505 §4.2). Then set up SPF, DKIM, and DMARC for the new sender.
Confirm: The full report shows “Locked down against email spoofing”.
Locked down against email spoofing
The domain publishes v=spf1 -all and a DMARC policy of reject, so it states that it sends no email. Receivers that apply DMARC treat mail claiming to come from it as failing, and either reject it or keep it out of the inbox. The final decision is always theirs (RFC 9989 §5.4, §7.4).
The DMARC policy also covers every subdomain that has no record of its own, unless the record sets sp= or np= (RFC 9989 §4.7). Nothing more is needed until the domain starts sending email.
Domains that send email
For a domain in use, spoofing protection is DMARC at enforcement. The policy is p=quarantine or p=reject. Mail with your domain in the From address must then pass SPF or DKIM for a matching domain, or it won’t reach the inbox at receivers that honor the policy (RFC 9989 §3.2.9).
The usual path, from RFC 9989 §5.1:
- Make SPF list every service that sends for you.
- Turn on DKIM in each of them.
- Publish DMARC with
p=noneand a report address. - Use the reports to find legitimate mail that fails, and fix it.
- Move to
p=quarantine. - Move to
p=rejectonly if it suits the domain. RFC 9989 §7.4 says domains whose users post to mailing lists should not use reject.
DMARC covers each step.
Bounces for email you didn’t send
Bounce notices for messages you never wrote can be “backscatter”: a mail server that received a forged message sent a non-delivery notice to the sender address the forger used, which was yours (RFC 7208 §2.5).
It doesn’t mean anyone got into your mailbox. The sender address is text the sender writes, and it “has been trivially forged throughout the history of email” (RFC 9989 §4.2). The records on this page are what let receivers recognize that mail as forged. If messages you didn’t write appear in your own Sent folder, that’s a different problem: contact your email provider.
Look-alike domains and display names
DMARC protects your exact domain. RFC 9989 §2.2 says it doesn’t address “visually similar domain names” or a fake display name (the name shown next to the address). For example, it can’t stop a domain one character off from yours, or “Example Support” shown above someone else’s address.
Some organizations also register domains they don’t plan to use, so no one else can; NCSC and M3AAWG call this defensive registration. A registered variant that sends no email needs the three records above too. NCSC notes that registering a domain “doesn’t mean it’s protected”.
Technical reference
What each record does for a domain that sends no mail
- SPF
v=spf1 -all: every server gets an SPF fail for the domain as MAIL FROM or HELO (RFC 7208 §2.1, §10.1.2). - No DKIM keys: a signature claiming the domain can’t verify, because the key record doesn’t exist (RFC 6376 §6.1.2).
- DMARC
p=reject: neither SPF nor DKIM can pass for the domain, so every message with it in the From address fails DMARC, and the policy asks receivers to reject it (RFC 9989 §4.7). Receivers may still accept failing mail (§5.4). RFC 9989 §7.4 says they must not reject on the basis ofp=rejectalone, and without other evidence must handle the message as if the policy were quarantine. So the realistic result is rejection, or delivery that keeps the message out of the inbox (§3.2.9). - Null MX: a single MX record with preference 0 and an empty target, written
.(RFC 7505 §3).- Mail sent to the domain fails at once instead of being retried for days (§1, §4.1).
- Receivers that check senders can reject mail from it with code 550 5.7.27 (§4.1).
- Domains used in MAIL FROM or From addresses should not publish one (§4.2).
Policy details
- Test mode:
t=yasks receivers to apply one level less than the published policy, sop=reject; t=yacts as quarantine (RFC 9989 §4.7). - Subdomains:
sp=sets the policy for existing subdomains, andnp=for subdomains that don’t exist. Without them,p=applies (§4.7). - Several records: when several DMARC records exist at one name, all are discarded (§4.10).
- SPF and subdomains: SPF has no inheritance. M3AAWG suggests a wildcard
*.example.com TXT "v=spf1 -all"for subdomains. Wildcards don’t apply to names that already have records of their own, and RFC 7208 §3.5 discourages them, so any subdomain that exists needs its own record.
What the report checks
The spoofing check runs when three lookups succeed: the domain’s MX records, its TXT records, and _dmarc. It also needs the domain to appear unused for email:
- it has no MX records other than a null MX;
- its SPF record, if any, authorizes no sender: it has no
redirect=, and any mechanism other thanallstarts with-; - no DKIM key is published at the selectors we look up (a key means some service signs mail for the domain).
A domain that sends only through a service that signs under a selector we don’t look up, and uses its own bounce address, can still look unused. That’s why the finding says the domain “appears” not to be used for email.
| Finding | When we report it |
|---|---|
| Locked down against email spoofing | Exactly one valid SPF record, ending in -all, and exactly one DMARC record whose effective policy is reject (after t=y) |
| Anyone can send email pretending to be this domain | Either isn’t in place. The suggested changes include a null MX when the domain has no MX records at all |
For domains that send email, the same protection is measured by the SPF, DKIM, and DMARC findings, and summarized under sender requirements. The null MX is covered in more depth in MX records.
Sources
- RFC 9989, Domain-based Message Authentication, Reporting, and Conformance (DMARC)
- RFC 7208, Sender Policy Framework (SPF)
- RFC 7505, A “Null MX” No Service Resource Record for Domains That Accept No Mail
- RFC 6376, DomainKeys Identified Mail (DKIM) Signatures
- UK National Cyber Security Centre, Protecting parked domains (reviewed 2025-03-05)
- GOV.UK, Protect domains that do not send email
- M3AAWG Protecting Parked Domains Best Common Practices (June 2022)
- Microsoft Learn, Set up DKIM to sign mail from your Microsoft 365 domain (parked domains)
Want this checked on your own domain, or DMARC reports without giving out your email address or needing a mailbox at your domain?
Join the waitlist