There's really not much to it.
You'll need an AWS Route53 hosted zone and a suitable AWS user. Install and configure AWS CLI. Update ddns-sync.sh
variables (DNS_NAME
and HOSTED_ZONE_ID
) appropriately. Then,
$ cp ddns-sync.sh ${HOME}
$ cp ddns-sync.service ${HOME}/.config/systemd/user/
$ cp ddns-sync.timer ${HOME}/.config/systemd/user/
$ systemctl --user enable ddns-sync.service
$ systemctl --user enable ddns-sync.timer
$ systemctl --user start ddns-sync.timer
If your host's public IP changes, the script will update the DNS route.
Enjoy 😊