Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm in the middle of launching a new website for an already-in-use domain. The domain has a complicated email system so we'd like to move that over to the new server a bit later on.

Currently the domain DNS is managed by the current webhost. I plan on moving the DNS management back to Network Solutions, then point the A record to the new website's IP. However, currently the DNS has the MX record the same as the A record.

When NetworkSolutions is managing the DNS, and I point the A record to the new IP, then the MX record can't be the A record..

Right now: A Record mydomain.com points to IP address 198.198.198.198 MX record mydomain.com points to IP address 198.198.198.198

What I want: A Record mydomain.com points to IP address of new server MX record somehow points to current existing mailserver

Does this even make sense?

share|improve this question

2 Answers 2

Can you not do (pseudo)...

example.org.      IN  A  200.200.200.200
mail.example.org. IN  A  198.198.198.198
                  IN  MX mail.example.org.

http://www.zytrax.com/books/dns/ch8/mx.html

share|improve this answer
    
Are you saying that I set up A records for WWW, @ and Mail. Then mail.mydomain.com points to the old IP? Then set up MX record to point to mail.mydomain.com? Will this be enough to not disrupt the existing users and email? –  Preserved Dec 10 '12 at 22:17
    
That's another way of doing it and is totally valid. –  joeqwerty Dec 10 '12 at 22:37
    
@Preserved, there may be a period where cached DNS records prevent you from sending/receiving -- if you want to do it without outage, we're going to need you to clarify your question: who runs the mail server, who runs the web servers, what are their (anonymised) IPs and what DNS records already exist for this? –  jimbobmcgee Dec 11 '12 at 12:26

I always have trouble following what's being asked in these DNS questions, but to cut to the chase: The MX record doesn't have to point to a server in the same domain. It most certainly can point to a server in another domain. In the NetSol DNS control panel go to the "Add/Edit Mail Servers (MX Records)" section and add the FQDN of the current email server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.