This script allows you to dynamically update a DO domain name 'A' record, a'la mini dynamic-dns.
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:
home.joebloggs.com
I’d create an ‘A’ record in DO with the hostname ‘home’, under the domain ‘joebloggs.co.uk’ 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 SquireSeptember 23, 2014Visit site
Have you created an Integration, API Wrapper, Service, or other Tool that helps developers build on DigitalOcean? Help users find it by listing it in Community Tools.