Open baseline · CC BY 4.0

Email Domain Security Baseline (EDSB) v0.1

Version 0.1, published 24 November 2026. Free to use, copy and check against with any tool, in-house or third party, under the Creative Commons Attribution 4.0 licence (CC BY 4.0). Please credit "FaultyPacket Email Domain Security Baseline v0.1".

What this is

A short list of pass or fail checks on the public DNS of a domain that sends or receives email. Every check can be done by anyone with dig (or any DNS lookup tool) and a web browser. Each criterion cites the public standard or guidance it comes from.

It does not prove a domain is secure. It describes what is published in public DNS at the moment of checking. Meeting it is not a certification, and it is not endorsed by any standards body.

Scope. Apply it to every registered domain an organisation owns, including domains that never send mail (parked domains).

Result levels. PASS, FAIL, NOT CHECKED (the lookup could not complete: never counted as a fail), N/A (does not apply, for example MTA-STS on a domain with no MX).

A. Domains that send email

SPF (sender policy)

IDCriterionPass whenSources
SPF-1One SPF recordExactly one TXT record at the domain starting v=spf1. Two or more is a permanent error.RFC 7208 §3.2, §4.5
SPF-2Valid syntaxEvery mechanism and modifier parses; no unknown mechanisms.RFC 7208 §4.6, §12
SPF-310 DNS lookups or fewerCounting include, a, mx, ptr, exists and redirect across the whole include tree gives 10 or fewer. Void lookups (no answer) are 2 or fewer.RFC 7208 §4.6.4; NCSC "Create and iterate an SPF record"
SPF-4No "anyone may send"The record does not end in +all or a bare all (which means +all), and no include resolves to one.RFC 7208 §5.1, §4.6.2
SPF-5Ends in a fail or softfailThe record ends in -all or ~all. (?all and a missing all fail this check.)GOV.UK "Set up government email services securely" (minimum ~all)
SPF-6No lapsed includesEvery domain named in include:, redirect=, a:, mx: and exists: is still registered. A lapsed domain can be bought by anyone, who can then send mail that passes SPF as you.RFC 7208 §11 (security considerations); FaultyPacket research note
SPF-7Record sizeThe SPF record is 450 bytes or fewer (advisory: WARN, not FAIL).RFC 7208 §3.4

DKIM (signing keys)

IDCriterionPass whenSources
DKIM-1A key is publishedA valid DKIM key record exists at <selector>._domainkey.<domain> for each selector the organisation states it uses. A checker that does not know the selectors can say no more than "not seen at the common names it tried"; that is never a FAIL on its own.RFC 6376 §3.6.2
DKIM-2Key strengthRSA keys are 2048 bits or more, or the key is Ed25519. 1024-bit RSA is a WARN; under 1024 is a FAIL.RFC 8301 §3.2 (signers SHOULD use at least 2048 bits); RFC 8463 (Ed25519); NCSC "Create and manage a DKIM record" (2048-bit recommended)
DKIM-3No test flag in productionThe key record does not carry t=y.RFC 6376 §3.6.1
DKIM-4No revoked keys aloneA stated selector does not publish an empty p= (revoked) with no other valid key.RFC 6376 §3.6.1

DMARC (policy)

IDCriterionPass whenSources
DMARC-1One DMARC recordExactly one TXT record at _dmarc.<domain> starting v=DMARC1.RFC 9989 (which obsoletes RFC 7489)
DMARC-2Enforcing policyp=quarantine or p=reject. p=none is a FAIL for this baseline (it is a monitoring step, not protection).RFC 9989; NCSC "Reject spoof emails"; GOV.UK DMARC guidance
DMARC-3Full enforcementThe policy is not weakened by test mode (t=y under RFC 9989) or by a historic pct value below 100. Under RFC 9989 pct is no longer defined; a record still carrying pct below 100 is treated as not fully enforcing.RFC 9989 (tag changes, appendix C)
DMARC-4Aggregate reportsA rua= tag with at least one valid mailto: address. If the address is at another domain, that domain publishes the external-reporting authorisation record.RFC 9990 (aggregate reporting); NCSC "Implement a DMARC policy of none"
DMARC-5Subdomains coveredsp= (if present) is quarantine or reject. Under RFC 9989, np= (non-existent subdomains), if present, is quarantine or reject.RFC 9989
DMARC-6No lapsed report domainsEvery domain in rua=/ruf= is still registered.FaultyPacket research note

Bulk sender rules (context, not extra checks)

These rules from the big mailbox providers are met by SPF-1 to SPF-4, DKIM-1 and DMARC-1 above (they accept p=none; this baseline asks for more):

B. Domains that receive email (have MX records)

IDCriterionPass whenSources
MTA-1MTA-STS announcedA TXT record at _mta-sts.<domain> starting v=STSv1 with an id=.RFC 8461 §3.1
MTA-2Policy in enforce modemta-sts.<domain>/.well-known/mta-sts.txt loads over HTTPS with a valid certificate, has mode: enforce, lists every MX host, and has max_age of 86400 or more. mode: testing is a WARN (a normal step; NCSC advises at least two weeks of testing with TLS-RPT before enforce).RFC 8461 §3.2; NCSC "Using MTA-STS to protect the privacy of your emails"; GOV.UK MTA-STS guidance
TLSRPT-1TLS reportingA TXT record at _smtp._tls.<domain> starting v=TLSRPTv1 with a valid rua= (mailto: or https:).RFC 8460 §3; GOV.UK TLS-RPT guidance

Note: GOV.UK guidance still suggests sending TLS-RPT reports to the NCSC Mail Check address. The NCSC retired Mail Check on 31 March 2026 (www.ncsc.gov.uk/information/mailcheck), so a rua pointing there should be reviewed.

C. Domains that send no email (parked domains)

IDCriterionPass whenSources
PARK-1Null SPFThe SPF record is exactly v=spf1 -all.RFC 7208; NCSC blog "Protecting parked domains for the UK public sector"
PARK-2DMARC reject_dmarc.<domain> has p=reject (and sp=reject if present).NCSC blog (as above); RFC 9989
PARK-3No mail accepted (advisory)Either no MX, or a null MX (0 .).RFC 7505
PARK-4No signing keys (advisory)A wildcard or empty DKIM key (v=DKIM1; p=) is optional good practice.RFC 6376 §3.6.1

D. Optional (reported, never required for a PASS)

IDCriterionPass whenSources
DNSSEC-1Signed zoneThe resolver returns the AD (authenticated data) flag for the domain's answers.RFC 4033, RFC 4035
DANE-1DANE for mailTLSA records for the MX hosts (needs DNSSEC).RFC 7672
BIMI-1Brand logoA TXT record at default._bimi.<domain> starting v=BIMI1. Useful just with DMARC at quarantine or reject.BIMI Group (bimigroup.org/); IETF draft draft-brand-indicators-for-message-identification

How to check it yourself (no tools beyond dig and curl)

D=example.co.uk
dig +short TXT $D | grep -i 'v=spf1'                       # SPF-1/2/4/5
dig +short TXT _dmarc.$D                                    # DMARC-1..5
dig +short TXT <selector>._domainkey.$D                     # DKIM-1..4 (ask your mail admin for the selector)
dig +short MX $D                                            # decides section B or C
dig +short TXT _mta-sts.$D; curl -s https://mta-sts.$D/.well-known/mta-sts.txt   # MTA-1/2
dig +short TXT _smtp._tls.$D                                # TLSRPT-1
dig +dnssec SOA $D | grep -E '^;; flags:.* ad[ ;]'           # DNSSEC-1: prints the flags line if 'ad' is set (validating resolver)

SPF-3 (lookup count) and SPF-6 / DMARC-6 (lapsed domains) need the include tree walked by hand or by a tool; RFC 7208 §4.6.4 lists exactly which terms count.

Sources (all checked 22 November 2026)

Change log

See how each check maps to ISO/IEC 27001:2022, PCI DSS and NCSC guidance on the audit mapping page.