Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

a systemd timer which keeps a dynamic dns subdomain up to date with the latest IP using nsupdate

Notifications You must be signed in to change notification settings

peachcloud/peach-dyndns-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This repo is no longer active and has been archived. The active repo can be found at https://git.coopcloud.tech/PeachCloud/peach-workspace/src/branch/main/peach-dyndns-updater ⚠️


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

About

a systemd timer which keeps a dynamic dns subdomain up to date with the latest IP using nsupdate

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages