Email Security · Jason Osborne

Protect a Domain That Never Sends Email

Protect a Domain That Never Sends Email

A domain you never send from should say so in DNS: SPF that allows nobody, DMARC set to reject, and a null MX if it receives nothing either.

The records

SPF, a TXT record on the domain itself (edit the existing one if there is one; never add a second):

v=spf1 -all

DMARC, a TXT record at _dmarc (if one exists, edit it to p=reject and keep its report address):

v=DMARC1; p=reject

Null MX, only if the domain should receive no email: an MX record with priority 0 and the server . (a single dot). Remove every other MX record. Some DNS hosts don’t accept a null MX; if yours doesn’t, skip it.

Old DKIM keys: find each record under _domainkey that you no longer use and delete it, including old CNAME records that point to a former provider.

Before you publish

Be sure nothing uses the domain: old mailboxes, website forms, a forgotten invoicing tool. These records are meant to get its mail refused.

Check it

Run the DMARC checker on the domain.