DNS Batch Update Script

January 26, 2018 500 views
DNS API PHP

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!

Be the first one to answer this question.