I would like to null route email at DNS level for domains that do not accept email.
RFC7505 specifies that adding a "Null MX" record with "with an RDATA section
consisting of preference number 0 and a zero-length label, written in
master files as ".", as the exchange domain, to denote that there
exists no mail exchanger for a domain."
Unfortunately cPanel gives an error "Unable to parse zone: Invalid DNS record: Supplied exchange for MX record is invalid" when trying to add the Null MX record.
CENTOS 6.9, WHM 70.0.34, BIND 9.8.2
I realize that it can be dropped at MTA and/or set to remote.
Has anyone had any luck with setting Null MX records?
RFC7505 specifies that adding a "Null MX" record with "with an RDATA section
consisting of preference number 0 and a zero-length label, written in
master files as ".", as the exchange domain, to denote that there
exists no mail exchanger for a domain."
Unfortunately cPanel gives an error "Unable to parse zone: Invalid DNS record: Supplied exchange for MX record is invalid" when trying to add the Null MX record.
CENTOS 6.9, WHM 70.0.34, BIND 9.8.2
I realize that it can be dropped at MTA and/or set to remote.
Has anyone had any luck with setting Null MX records?