?
Solved

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

Posted on 2008-10-10
3
Medium Priority
?
287 Views
Last Modified: 2012-05-05
Hi

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.

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_23199359.html
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_23199359.html
http://www.experts-exchange.com/Networking/Protocols/DNS/Q_23629296.html
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_23307633.html
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_22028421.html

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.

thanks

Spotta
0
Comment
Question by:sp0tta
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
Bertling earned 2000 total points
ID: 22685971
ok this is my view on it...

you have WAN1 ip adress 195.1.1.1
you have WAN2 ip address 195.2.2.2

your domain is @mydomain.com

you create 2 A records for each wan address

WAN1.mydomain.com = 195.1.1.1
WAN2.mydomain.com - 195.2.2.2

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 195.1.1.1 and 195.2.2.2 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:
195.1.1.1 - WAN1.mydomain.com
195.2.2.2 - WAN2.mydomain.com

you can now ping -a 195.1.1.1 and ping -a 192.2.2.2 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
mike
0
 
LVL 11

Expert Comment

by:Bertling
ID: 22685991
just to add my solution is the same as the one in this post

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_23307633.html

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

Author Closing Comment

by:sp0tta
ID: 31504932
Perfect.

Thank you
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question