multiple MX records on same IP

Mark Damrose mdamrose at elgin.cc.il.us
Mon Apr 8 14:28:34 UTC 2002


"GV" <atomo77 at libero.it> wrote in message news:a8nbqp$fvl at pub3.rc.vix.com...
>
> Barry Margolin <barmar at genuity.net> wrote in message
news:<a8ld48$c3d at pub3.rc.vix.com>...
> ......
>
> > MX records point to hostnames, not addresses.  It should be:
> >
> > foo     A   1.2.3.4
> > foo     MX  10 foo
> >
> > foo2    A   1.2.3.4
> > foo2    MX  10 foo (or foo2, since they're the same)
>
> What's the difference between "foo MX 10 foo" and "foo MX 10 foo2"?
>
> Here is the complete complete problem:
>
> At the moment foo2 is only an alias (CNAME record); as a consequence,
> mail directed to foo2 is changed by some SMTP servers to foo.

The mail servers that change the address are doing it correctly.

>
> If I perform the above mentioned correction in the DNS (2 A and 2 MX
> records), will I solve my problems (Destination address of the mail
> not changed from foo2 to foo)?

It sounds like what you want is:
foo  A 1.2.3.4
foo  MX 10 foo
foo2 MX 10 foo

With an MX record, mail addressed to the name on the left hand side is
delivered to the machine named on the right hand side.  If there are more
than 1 MX record owned by the same name (left hand side) they use the
priority - lowest priority gets tried first.  If more than 1 MX has the same
priority, they are tried at random.

>
> Thanks
>
> GV
>




More information about the bind-users mailing list