- Get current public IP address
- Compares it to subdomain A record
- If different update a subdomain A record with current IP address
npm install -g doddns
#!/bin/bash
export SERVER_NAME=home_server.example.com
export DIGITAL_OCEAN_TOKEN=xxxxxxx
doddns
npm install -g doddns
#!/bin/bash
export SERVER_NAME=home_server.example.com
export DIGITAL_OCEAN_TOKEN=xxxxxxx
doddns