How does MX work in this situation?

Chris chris at nospam.com
Tue Nov 4 22:41:33 UTC 2003


"wruegg" <williamruegg at yahoo.com> wrote in message
news:bnu8b6$2b4h$1 at sf1.isc.org...
> Forgive if this question reflects a profound misunderstanding of the
> subject matter.
>
> Here's the scenario. Inside my firewall, I attempt to pass 2 messages
> via an SMTP client to mail.foo.com on port 25. The client does not
> perform a dns lookup.
>
> "mail.foo.com," however, is actually an alias set up in my DNS MX
> records. e.g.:
> mail.foo.com         MX      10      sendmail1.foo.com
> mail.foo.com         MX      10      sendmail2.foo.com
>
> What will happen to the messages?
>

If mail.foo.com has a valid A record and you are making a direct connection
on port 25 and that host runs a mail server then you will be able to send a
mail to it. If you send a mail to something at mail.foo.com and the mail server
does a DNS lookup it will send the mail to sendmail1.foo.com or
sendmail2.foo.com.

I'm not sure that I understand your question?

Chris.





More information about the bind-users mailing list