Report this

What is the reason for this report?

DNS Batch Update Script

Posted on January 26, 2018

Floating IP’s are really great, but they don’t span to other data centers. If you have quite a few domains managed by DO’s DNS and end up moving your Droplet to another data center or region, updating all your DNS records to match your Droplet’s new IP can be very time consuming. I found an IP update script for domains managed by Cloudflare (https://www.aetherweb.co.uk/batch-editing-cloudflare-dns-ip-with-cloudflare-api-in-php/), but couldn’t find any scripts like this created for DO. Anyone know of something similar that already exists but uses DO’s API? Thanks!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello there,

I believe there is no official tool. but we do recommend this custom script which you can also check in GitHub

https://www.digitalocean.com/community/tools/dynamic-dns-update-script

You’re also free to use any other third-party script that can achieve the same result.

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.