Solved

Moving MX record

Posted on 2007-03-19
5
784 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
thanks
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create an Address List 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 Organization >> Ad…
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…

728 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

12 Experts available now in Live!

Get 1:1 Help Now