change DNS but keep email server

Posted by Oterox on Server Fault See other posts from Server Fault or by Oterox
Published on 2013-06-28T11:25:11Z Indexed on 2013/07/03 5:08 UTC
Read the original article Hit count: 908

Filed under:
|
|

I currently have my client's website hosted in china and the domain is hosted in www.net.cn

I've purchased an inmotionhosting plan and i want to move the website there.

For having the website working i just need to change the DNS nameservers but i want to keep the email in the client's old server, is this possible?

Currently i have this DNS:

MX      mxn.mxhichina.com.  5
MX      mxw.mxhichina.com.  10
CNAME   pop3    pop3.mxhichina.com. --
CNAME   smtp    smtp.mxhichina.com. --
CNAME   mail    mail.mxhichina.com. --
CNAME   m   m.mxhichina.com.    --
TXT     v=spf1 include:spf.m... --
A   @   223.4.215.96    --
A   www 223.4.215.96    --

and in inmotionhosting i have this:

example.com.    14400   IN  A   216.194.168.46
localhost.example.com.  14400   IN  A   127.0.0.1
mail.example.com.   14400   IN  CNAME   example.com
www.example.com.    14400   IN  CNAME   example.com
webmail.example.com.    14400   IN  A   216.194.168.46

What do i have to change to have the website working on the new server but keeping the email server where it is right now?

© Server Fault or respective owner

Related posts about dns

Related posts about emailserver