Solved

Moving MX record

Posted on 2007-03-19
5
787 Views
Last Modified: 2008-02-07
I have an exchange server 2003 that currently shares a public IP with a web server xxx.xxx.xxx.200.  Our firewall uses port forwarding for OWA.  All http and https are forwarded to the web server, and all 8650 is forwarded to our exchange server for OWA.  

What I want to do:  I want to move the exchange server to a different public IP xxx.xxx.xxx.201, without causing any interuption to email delivery (or website).  I was thinking that I would create a second MX record (20) to point to the .201 public address, which would mean I would add an additional NIC on my Exchange and do a 1to1 NAT to the .201 address.  I would wait for a week for the second MX record to replicate on the internet and then delete the first MX record that points to the .200 IP.

Is this the proper way to do this.

thanks
Peter
0
Comment
Question by:ptran2000
  • 2
  • 2
5 Comments
 
LVL 26

Expert Comment

by:jar3817
ID: 18751168
You can do all of that and skip adding the second nic.

If you add a second MX record (with a higher number) you can leave the server on the original IP without losing any mail because all mail servers will try the lower number MX first. Once you've waited long enough for the record to propagate, change the IP of the server .201 and remove the original MX record. Anyone who sends mail to you before the original MX is fully gone will try the original IP, fail (since you changed it) and should then proceed to the new IP. I did this and didn't lose any email.  
0
 
LVL 16

Expert Comment

by:The_Kirschi
ID: 18751430
I agree with jar3817 that you can leave the second nic off. You don't need it. You should set your DNS up with a higher number for the new IP address. Thats also correct.

But...if I understand you correctly you don't have to change the IP address of the Exchange server. You use port forwarding on the firewall so you just have to configure the firewall to use the new external IP. If you have a more sophisticated firewall you can also set up more than one external IP. That means you could configure port forwarding for the new IP on port 25 for mail delivery and ports 80 and 443 for OWA simultaneously with the existing port forwarding. After a while just delete the old DNS record and all should be well.
0
 

Author Comment

by:ptran2000
ID: 18757942
this is what I have right now
--------------------------------
A records
mail.xxx.com    xxx.xxx.xxx.200

MX records
10  mail.xxx.com

if I add another MX record (20)
10  mail.xxx.com
20  mail.xxx.com

or should it be
10  mail.xxx.com
20  mail2.xxx.com  
Would I need to create an A record for mail2.xxx.com also?

thanks


0
 
LVL 26

Accepted Solution

by:
jar3817 earned 250 total points
ID: 18758061
The two MX records need to be different (like mail and mail2.xxx.com.

Yes you need to create an A record for the new MX (mail2) and set it to the new IP the machine is moving to.
0
 

Author Comment

by:ptran2000
ID: 18758619
thanks
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now