[Dnsmasq-discuss] [OT] A question about MX records

richardvoigt at gmail.com richardvoigt at gmail.com
Mon Feb 20 03:25:01 GMT 2017

If by "alias", you mean a second A record for, then the common
practice is to use a hostname of mail.domain.tld

If by "alias", you mean a CNAME, you should know that listing a CNAME in an
MX record violates the RFC.  It often works, but some servers check for
this and reject all mail originating from a domain whose MX is

On Sun, Feb 19, 2017 at 3:26 PM, Chris Green <cl at isbd.net> wrote:

> I'm afraid this is a little off topic for dnsmasq but I don't know
> where else I could ask.
> If I have a small server that is both a basic internet host *and* the
> mail server for that host how does one set up the MX record in the
> zone file?
> I.e. I have a server for the domain zbmc.eu and 'host zbmc.eu' returns
> the following:-
>     chris at cheddar$ host zbmc.eu
>     zbmc.eu has address
>     zbmc.eu mail is handled by 10 zbmc.eu.
>     chris at cheddar$
> Is this correct or should there be an alias so the mail server has a
> different name?
> --
> Chris Green
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20170219/bcb5e1a2/attachment.html>

More information about the Dnsmasq-discuss mailing list