Question

DNS Batch Update Script

Posted January 26, 2018 1.6k views
PHP API DNS

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!

0 answers
Submit an answer

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