netlify-ddns is a simple command line tool for creating a DNS record for Netlify's Managed DNS service. It is meant to be run as a cron job and queries third-parties (multiple, in case one is down) for your public IP, then updates or adds a DNS record using the Netlify API.
Install using cargo:
cargo install netlify-ddns
``` netlify-ddns A simple CLI tool for setting Netlify DNS records dynamically.
USAGE:
netlify-ddns [OPTIONS] --domain
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
-d, --domain
You could set a cronjob to update the dev.example.com
hourly with a task like
the following.
0 * * * * netlify-ddns -d example.com -s dev --token=<your token>