Solved

Moving MX record

Posted on 2007-03-19
5
792 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
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…

809 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