Guides
Lock down domains that send no email
21 November 2026
A domain that never sends email still needs two records, because anyone can put it in a From address. Publish v=spf1 -all as a TXT record on the domain, and v=DMARC1; p=reject; as a TXT record at _dmarc. Together they tell receivers no mail should ever come from it, and ask them to refuse anything that claims to. Microsoft gives exactly these two records for parked domains.
Old brand names, typo domains you bought defensively, a domain from a product you shut down: they all count. A $129 Snapshot checks one sending domain in depth. For parked domains, the two records below are usually all you need.
Why it matters
A parked domain with no SPF and no DMARC gives receivers nothing to check. Mail from it is not authenticated, but nothing tells the receiver it should be refused either. Your customers may recognize the old brand name in a phishing email. Locking the domain down closes that gap for very little effort.
The SPF record
Microsoft’s SPF setup page covers this as the parked domain scenario. For domains you own but do not use for email, it gives:
v=spf1 -all
That is a record with no allowed senders and a hard fail. Every server fails SPF for this domain. Publish it as a TXT record on the domain itself, which at most hosts means @ in the Name field.
-all is the right ending here. For a domain that sends mail, the choice between ~all and -all needs some thought, which our guide to softfail vs hardfail covers. For a domain that sends nothing, there is no legitimate mail to lose.
The DMARC record
Microsoft’s DMARC setup page says that for registered domains nobody should expect mail from, you should create this record:
Hostname: _dmarc
TXT value: v=DMARC1; p=reject;
Microsoft notes that report addresses are arguably not needed here, because no valid mail should ever come from the domain. That is a fair choice. Adding an rua address does let you see whether anyone is trying to spoof the domain. If you send it to a mailbox on another domain, that domain must authorize it. See where DMARC reports go.
The DMARC record also covers subdomains. Microsoft’s page says a domain’s DMARC record automatically covers all subdomains, including non-existent ones, that do not have their own record. p=reject on the parent means p=reject for every subdomain too, unless you set sp or np differently. See DMARC for subdomains.
Subdomains and SPF
SPF does not inherit. Microsoft’s SPF page says each subdomain needs its own SPF record, and that for a parked domain it is almost impossible to guess which subdomains an attacker might use. If your DNS host supports wildcard records, Microsoft suggests a wildcard TXT record with v=spf1 -all to cover subdomains.
Be careful with wildcards on a domain that has any other records. A wildcard TXT record answers for every name that does not have its own TXT record, which can be surprising. On a truly parked domain with nothing else in it, it is simple.
For undefined subdomains, Microsoft notes that DMARC is the better protection, since they inherit the parent’s DMARC policy. With p=reject on the parent, the wildcard SPF record is a belt-and-braces extra.
DKIM and MX
- DKIM: nothing to publish. Microsoft’s DMARC page says DKIM CNAME records are not recommended for parked domains. If old DKIM keys from a previous provider are still in DNS, remove them.
- MX: a parked domain that should not receive mail does not need MX records either. If it still has MX records pointing at an old provider, remove them, so the domain is not accepting mail somewhere you have forgotten. If you want to say explicitly that the domain accepts no mail, RFC 7505 defines a "null MX" record,
0 ., for that purpose.
The onmicrosoft.com domain
If you use Microsoft 365, your tenant also has a yourcompany.onmicrosoft.com domain. Microsoft’s DMARC page says the parked domain advice includes that domain if you do not use it for email, and that you add its DMARC record in the Microsoft 365 admin center rather than at a registrar:
- Go to Show all, Settings, Domains.
- Select the
onmicrosoft.comdomain, then the DNS records tab. - Add a record: type TXT, name
_dmarc, valuev=DMARC1; p=reject, TTL one hour. - Save.
Microsoft says SPF and DKIM are already set up for that domain. Our Microsoft 365 guide covers the custom domain side.
Typo and lookalike domains
If you registered misspellings of your brand to keep them out of other hands, lock those down the same way. A typo domain with no SPF or DMARC is an easy tool for a phishing email that looks like yours. The two records cost nothing and take a minute each. Put them on every domain in your registrar account that does not send mail, and add them to new domains as part of registering them, so none slip through.
Before you lock it down
Make sure the domain really sends nothing. Check for:
- A website contact form that sends notifications "from" the domain.
- An old newsletter or store account still set to that domain.
- Staff with mailboxes or aliases still using it.
- A redirect service that sends mail as it.
If you are not sure, publish v=DMARC1; p=none; rua=mailto:... first and read a couple of weeks of reports. If nothing legitimate shows up, switch to p=reject and add the SPF record.
Checking it
dig TXT parked-example.com +short
dig TXT _dmarc.parked-example.com +short
dig MX parked-example.com +short
You want one SPF line, v=spf1 -all, one DMARC line starting v=DMARC1; p=reject, and either no MX or a null MX.
A short checklist per domain
v=spf1 -allon the domain.v=DMARC1; p=reject;at_dmarc.- Wildcard
v=spf1 -allfor subdomains, if your host supports it and the domain has no other records. - Old DKIM records removed.
- Old MX records removed, or a null MX.
- Renewal on auto-pay, so the domain does not lapse and get registered by someone else.
Sources
- Microsoft Learn: Set up SPF (parked domains, wildcard, one record per subdomain)
- Microsoft Learn: Set up DMARC (parked domains, subdomain inheritance, onmicrosoft.com, DKIM not recommended)
- RFC 7505: A "Null MX" No Service Resource Record
- RFC 7208: SPF and RFC 9989: DMARC