<div dir="ltr">If by "alias", you mean a second A record for 84.92.49.234, then the common practice is to use a hostname of mail.domain.tld<div><br></div><div>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 misconfigured.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 19, 2017 at 3:26 PM, Chris Green <span dir="ltr"><<a href="mailto:cl@isbd.net" target="_blank">cl@isbd.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm afraid this is a little off topic for dnsmasq but I don't know<br>
where else I could ask.<br>
<br>
If I have a small server that is both a basic internet host *and* the<br>
mail server for that host how does one set up the MX record in the<br>
zone file?<br>
<br>
I.e. I have a server for the domain <a href="http://zbmc.eu" rel="noreferrer" target="_blank">zbmc.eu</a> and 'host <a href="http://zbmc.eu" rel="noreferrer" target="_blank">zbmc.eu</a>' returns<br>
the following:-<br>
<br>
chris@cheddar$ host <a href="http://zbmc.eu" rel="noreferrer" target="_blank">zbmc.eu</a><br>
<a href="http://zbmc.eu" rel="noreferrer" target="_blank">zbmc.eu</a> has address 84.92.49.234<br>
<a href="http://zbmc.eu" rel="noreferrer" target="_blank">zbmc.eu</a> mail is handled by 10 <a href="http://zbmc.eu" rel="noreferrer" target="_blank">zbmc.eu</a>.<br>
chris@cheddar$<br>
<br>
Is this correct or should there be an alias so the mail server has a<br>
different name?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Chris Green<br>
<br>
______________________________<wbr>_________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.<wbr>thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank">http://lists.thekelleys.org.<wbr>uk/mailman/listinfo/dnsmasq-<wbr>discuss</a><br>
</font></span></blockquote></div><br></div>