Linux VPS
A DNS cutover plan for moving your server
Plan TTL changes, IPv4 and IPv6 records, the final save transfer and a rollback window before moving a server hostname.

Changing a DNS record takes seconds. Moving the application behind it needs more planning. Some clients will still reach the old address while others reach the new one, and two writable copies of the same world or database can diverge during that overlap.
Prepare the new service before touching public records. Check its files, ports, certificates and application configuration through a test hostname or another controlled method. Keep a record of the existing DNS values so you can restore them without guessing.
Inventory the records clients use
List the public hostname, A records, AAAA records and any service-discovery records such as SRV. Check aliases too. A hostname can point through a CNAME to another name whose address record you must update. Read your provider's record-type reference before changing a record you do not recognise.
An old AAAA record can leave IPv6-capable clients reaching the previous host after you update IPv4. Confirm that the destination supports the advertised address family. If you need to remove an unsupported address, plan that change with the same care as an address replacement.
Record whether your DNS provider proxies a record. A web proxy is not automatically suitable for a game's protocol or port. Keep the proxy decision separate from the DNS address change, and check provider support before combining them.
Lower the TTL ahead of the move
The TTL tells a caching resolver how long it may retain an answer. Lowering it immediately before changing an address does not erase answers that a resolver already cached under the old TTL. The Cloudflare TTL reference explains that longer TTLs can delay the effect of record changes.
If the existing TTL is one day, lower it at least that far ahead of your planned cutover and allow operational margin. Use a value your DNS provider supports. Keep the earlier TTL and the time you changed it in your migration notes; those details help explain mixed answers later.
A new hostname has a separate trap. A resolver that recently received a negative answer may cache that failure. Provider troubleshooting guidance covers negative caching, which does not follow the new record's TTL. Create and verify the test hostname before relying on it during maintenance.
Choose one writable copy
For a stateful game or database, announce a maintenance window, stop writes on the old service and perform the final transfer. Confirm the destination has the final save before accepting players there. DNS alone cannot keep two independent copies in sync.
Keep the old machine available for rollback but prevent accidental starts of its outdated application. If you use a temporary forwarding arrangement, test it for the application's transport and client-address requirements. Do not assume an HTTP reverse proxy will forward UDP game traffic.
Schedule the move away from another risky change. A software update, database upgrade and hostname cutover in the same window make failures harder to trace. Our Linux maintenance guide explains how to keep a change small enough to reverse.
Check authoritative and recursive answers
dig example.com NS
dig @AUTHORITATIVE_NAMESERVER play.example.com A
dig @AUTHORITATIVE_NAMESERVER play.example.com AAAA
dig @1.1.1.1 play.example.com A
dig @8.8.8.8 play.example.com AReplace the example names with your own records. The authoritative query checks the published zone; recursive queries show what those resolvers currently return. Use +noall +answer when you want a shorter answer section. The BIND dig manual documents these query controls.
Record answers and TTLs, then test the real client connection. A correct DNS answer does not prove that the new firewall, application listener or certificate works. Ask a tester on a different network to connect as well.
Close the overlap with evidence
Watch connection attempts at the old host and application health at the new one. Decide in advance how long you will retain the old copy, taking the previous TTL and your rollback window into account. Do not delete it just because one resolver returns the new address.
If you roll back after accepting writes on the new service, reconcile those writes first. Restoring only the DNS address may send players to older progress. Keep the final checks and retention plan beside your server backup plan, then restore a normal TTL once the move has settled.


