How to transfer a domains DNS record to a different DO account

April 8, 2015 3.2k views
DNS

I transferred a snapshot from account A to account B and created a droplet from it in account B. That droplet is now hosting a domain in B which was previously hosted in A.
But all of the domain's DNS records are still accessed from A even though A is no longer hosting that domain.
How can I transfer the domain's DNS records from A to B?

4 Answers

I dont think you can do that..

DNS record needs to be manually updated at your domain's end and in DO panel as well since, as far as I know, when you transfer a snapshot, it only carries data but leaves out the IP address.

So you need to redirect those settings and update the DNS records as per the new IP address..

That's not what I meant.
I have manually updated all of the records as needed - but I had to do it from the account (account A) which no longer has any droplets hosting the domain.
In the future, when DNS updates are needed for the domain, I want to be able to make those changes from account B - which now has a droplet hosting the domain.

Answering my own question...
I temporarily moved the domain's name servers to Dreamhost (which happens to be the domain's registrar). Then I deleted the domain from DO account A, which enabled me to create the domain under DO account B and add the relevant records.
Then I swung the domain's name servers back to DO.

  • I need to do the same thing! Did you have to wait some time to let DNS servers time out for things to realize the domain name was free to move, or could you do this all in one fowl swoop?

I did wait a few hours for the world to discover that the NS had changed from DO to Dreamhost.
But then, I deleted the domain from DO account A, and I was immediately able to create it on account B.
So I think the transition was transparent to the end users.

Have another answer? Share your knowledge.