I have a few domains on my account that I wish to move to another account. I am not talking about moving from one project to another (which seems easy enough), but rather completely letting go of a domain (dns) and move all the records to a new account.
I guess I could simply delete the domain on the old account, and then create it on the new. But since I can’t prepare the records on the new account, as it’s not possible to create the same domain on two accounts, there’s going to be some downtime?
Also for domains with lots of records, it’s going to be a hassle to create them by hand on the new account. I do see an option to download a zone, but not to import a zone. So what’s the point?
I am hoping for a solution.
Thank you :)
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
I create my own solution: https://github.com/grayfolk/digitalocean-api-shell Please, backup zones first!
I see this thread is 2 years old, but I want to do the same: move my domain from one account to another with the least possible down time. This is delicate since this domain has emails attached to it, including the one I use to log into Digital Ocean. I’m afraid to fail 2FA on a step here or there and then lock myself out of my own domain and emails.
Hey @MikkelHansen
We had the same issue when we moved to a Hatch Account,
We found no way to import a zone file so knocked together a script using the API https://developers.digitalocean.com/documentation/v2/#create-a-new-domain-record
To import the zone file one line at a time in order of importance. So a very unperfect solution but meant there was no human error and we had very minimal downtime.
Simon SnapShooter.io - Better DigitalOcean Backups