• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • Last Modified:

MX & A records to enable exchange to recieve mail through 2 wan connections


We're setting up a SBS2003 network using 2 internet connections for redundency
Do we set up reverse DNS on both connections to mail.foo.com and then have both IPs in the main MX record, with the preferred connection getting priority?

I have found these similar links, but they seem to give conflicting answers.


So far I have set up a A record pointing to WAN1 and a corresponding MX record, but any info about adding the 2nd WAN connection to this would be greatly appreciated.


  • 2
1 Solution
ok this is my view on it...

you have WAN1 ip adress
you have WAN2 ip address

your domain is @mydomain.com

you create 2 A records for each wan address

WAN1.mydomain.com =
WAN2.mydomain.com -

you create these MX records

mydomain.com    MX preference = 10, mail exchanger = WAN1.mydomain.com (makes WAN1 IP address the prefered delivery address)

mydomain.com    MX preference = 20, mail exchanger = WAN2.mydomain.com (backup if WAN1 fails)

so now you have 2 MX records and A records that point to each external IP address.

you now need to port forward or NAT both the external ip addresses and to the internal IP address of the exchange server.

Now we need to setup the RDNS for both WAN1.mydomain.com and WAN2.mydomain.com.

create 2 RDNS records in your DNS: - WAN1.mydomain.com - WAN2.mydomain.com

you can now ping -a and ping -a and this will resolve to the correct external DNS A Record.

now mail can will be delivered to WAN1, if WAN1 failes it will then use WAN2 instead. the external IP addresses for both WAN1 and WAN2 can be resolved to the correct DNS name which is in the MX records.

all will work fine and no RDNS issues.

the only quick change you would need to do is in exchange and change the FQDN in the SMTP virtual server to the live external mx record if wan1.mydomain.com failes for e.g. you would have to change it to WAN2.mydomain.com. But in most cases email wont be rejected if this is wrong.

hope this helps
just to add my solution is the same as the one in this post


this is the correct way apart from it seems he missed the other A record when he did his solution.
sp0ttaAuthor Commented:

Thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now