Dynamic DNS client for Digital Ocean What it does Get current public IP address Compares it to subdomain A record If different update a subdomain A record with current IP address Install npm install -g doddns Create a script to launch it: #!/bin/bash export SERVER_NAME=home_server.example.com export DIGITAL_OCEAN_TOKEN=xxxxxxx doddns Throw it in your crontab