Digital Ocean Dynamic DNS

This script allows you to dynamically update a DO domain name 'A' record, a'la mini dynamic-dns.

Usage Example

Simply enter your D.O. client credentials at the top of the script. Set the domain you want to update and the 'Record' for that domain and schedule the script to run however often you want (using for example the Windows Scheduler or a cron job).

My home server has a sticky IP, I want to be able to connect to it remotely using:

I'd create an 'A' record in DO with the hostname 'home', under the domain '' and while I was there retrieve my API credentials.

If you're using the python or updater.php script you'll need a (client ID & key, v1 of the API). If however your using the v2 of the API (updater-v2.php and recommended) then you'll need to generate a 'Personal Access Token'.

by: Ben Squire September 23, 2014