A "Null MX" No Service Resource Record for Domains That Accept No Mail
Extracted elements (13)
Null MX enables SMTP servers receiving mail with a null-MX sender domain to be more confident that DSNs for other messages will reach a recipient SMTP server, improving the reliability of bounce handling.
Null MX is not a replacement for the null reverse-path (RFC 5321 Section 4.5.5) and does not change the meaning or use of a null reverse-path; the two mechanisms serve different purposes.
The use of "." as a pseudo-hostname meaning "no service available" is modeled on the SRV RR (RFC 2782), where it carries the same meaning, providing consistency across DNS service discovery mechanisms.
Without null MX, if a domain has no MX records, senders fall back to A/AAAA records and repeatedly attempt delivery for typically a week before giving up. Null MX causes all delivery attempts to fail immediately, saving sender resources and providing faster failure notification.
Operators of domains that do not send mail may also publish SPF "-all" policies (RFC 7208) as an explicit declaration that the domain sends no mail, complementing null MX publication.
A domain that advertises a null MX MUST NOT advertise any other MX RR.
Mail systems SHOULD NOT publish a null MX record for domains they use in RFC5321.MailFrom or RFC5322.From addresses, as doing so risks having outbound mail rejected by receiving systems.
SMTP servers that reject mail because a RFC5321.MailFrom or RFC5322.From domain has a null MX record SHOULD use a 550 reply code and a 5.7.27 enhanced status code (Sender address has null MX).
When a submission or SMTP relay server rejects an envelope recipient due to a domain's null MX record, it SHOULD use a 556 reply code and a 5.1.10 enhanced status code (Recipient address has null MX).
A null MX record is a single MX RR with preference number 0 and a zero-length label written as ".", indicating a domain accepts no mail. Because "." is not a valid hostname, it cannot be confused with an ordinary MX record.
IANA added enhanced status code X.1.10 ("Recipient address has null MX", associated basic status code 556) to the SMTP Enhanced Status Codes Registry.
IANA added enhanced status code X.7.27 ("Sender address has null MX", associated basic status code 550) to the SMTP Enhanced Status Codes Registry, for use when a receiver rejects mail because the sender address has a null MX.
Within the DNS, a null MX RR is an ordinary MX record and presents no new security issues. It can be secured using DNSSEC in the same manner as any other DNS record.