On Tue, Mar 11, 2025 at 11:15:13AM +0100, John Doe via Postfix-users wrote:
> Let's say I have relayhost with FQDN: srv2378948273.mydomain.com
>
> I'd like to create a DNS Alias record or A record to use more friendly
> name:
>
> relayhost1.mydomain.com
A CNAME is fine, example:
relayhost1.mydomain.example. IN CNAME srv2378948273.mydomain.example.
srv2378948273.mydomain.example. IN A 192.0.2.1
however, while that's quite reasonable for a relayhost, it is
technically incorrect for an MX host. In:
mydomain.example. IN MX 0 mx1.mydomain.example.
the name mx1.mydomain.example is supposed by RFC 5321to not be CNAME.
Violations of this constraintt are widely tolerated, including by
Postfix, but it is best to not tempt fate.
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]