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?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I create my own solution: https://github.com/grayfolk/digitalocean-api-shell Please, backup zones first!
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.
Hello, @mike426137
A similar question was previously asked in our community which you can check here: https://www.digitalocean.com/community/questions/how-do-i-move-a-domain-from-one-account-to-another
Hope that this helps! Regards, Alex
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.
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.
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…