peach-workspace/peach-dyndns-updater
notplants 171d051710 Fix clippy warmings 2022-01-11 18:06:51 -05:00
..
debian First workspace commit 2021-08-06 13:58:40 -04:00
src Fix clippy warmings 2022-01-11 18:06:51 -05:00
.gitignore First workspace commit 2021-08-06 13:58:40 -04:00
Cargo.toml Fix regression of peach-dyndns-updater 2022-01-11 18:03:07 -05:00
README.md First workspace commit 2021-08-06 13:58:40 -04:00
bindeploy.sh Change imports and add permissions for peach-web dir 2021-12-22 10:04:15 -05:00

README.md

peach-dyndns-updater

This is a debian service which uses a systemd timer and nsudpate to keep the IP address of a dynamic dns record up to date.

It is a simple wrapper for the function peach_lib::dyndns_client::dyndns_update_ip(), which reads the PeachCloud configurations from disc, and then if it finds that dyndns is enabled, it uses nsupdate to update the IP address of the configured domain records.

The nsupdate requests use the subdomain, dyndns_server_address and a path to a TSIG key (for authentication), as provided by the PeachCloud configurations.

setup

peach-dyndns-udpater is packaged as a debian service, so it can be installed and automatically enabled via:

apt-get install peach-dyndns-updater

After being installed, it uses a system timer to run the script every five minutes.

You can see that it is running properly by running:

journalctl -u peach-dyndns-udpater