Quantcast
Channel: Ubuntu Forums - Networking & Wireless
Viewing all articles
Browse latest Browse all 23300

Best approach to DNS changes for (staged) move to a new server

$
0
0
I'm currently running a mail server and a number of web instances on a single server.
I need to move all services to a new server and would appreciate your advice on the best approach to manage this move.

Let's call the domain mydomain.com
Let's call the old server old.mydomain.com with an ip addr of 1.x.x.x
Lets' call the new server new.mydomain.com with an ip addr of 2.x.x.x

The current DNS config is along the following lines
Code:

; A Record
@        600        IN        A        1.x.x.x
old        3600        IN        A        1.x.x.x


; CNAME Record
service1        3600        IN        CNAME        @
service2        3600        IN        CNAME        @
service3        3600        IN        CNAME        @
imap                3600        IN        CNAME        @
smtp                3600        IN        CNAME        @

I guess the first step is to ad an A record for the new server
Code:

; A Record
new        3600        IN        A        2.x.x.x

My question is to the best way to define the new CNAME records once I've moved the web instance given that mydomain.com still points to 1.x.x.x until everything has been moved and @ can point to 2.x.x.x?

Thanks

Viewing all articles
Browse latest Browse all 23300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>