Null MX for parked domains

A domain you own but do not use for mail is still a domain attackers can put in a From line. Four records tell every receiver that no mail comes from it and none should go to it.

The records

Parked domain lockdown
parked.example. MX 0 .
parked.example. TXT "v=spf1 -all"
_dmarc.parked.example. TXT "v=DMARC1; p=reject; sp=reject; np=reject; rua=mailto:dmarc@example.com"
*._domainkey.parked.example. TXT "v=DKIM1; p="
  • MX 0 . is the null MX from RFC 7505: the domain accepts no mail, so senders fail at once instead of retrying for days.
  • v=spf1 -all says no server may send as the domain.
  • DMARC at reject turns both into a refusal, and the rua address shows you who tries.
  • The wildcard DKIM record with an empty key marks any signature for the domain as revoked.

Before you publish

Make sure the domain really sends and receives nothing. A domain that forwards to your main mailbox is not parked. Check the DMARC reports of the main domain for traffic using the parked one, and look at the MX records it has today.