2026-04-07 03:00:20 -07:00
2025-05-26 19:33:47 -07:00
2026-04-07 02:41:13 -07:00
2026-04-07 02:41:13 -07:00
2026-04-07 03:00:20 -07:00
2026-04-07 03:00:20 -07:00

Installation

Add the scrip on the server

git clone https://git.coopcloud.tech/RTM/sootie-dynamic-dns.git

Test the script run

cloudflare_api_token=<replace-with-actual-key> python3 main.py

Add the command to a cron job

* * * * * cloudflare_api_token=<replace-with-actual-token> python3 <path-to-project>/main.py >> <path-to-project>/logs.out

Headscale records

python headscale.py > headscale-records.json
git add headscale-records.json
git commit -m "(chore) update dns"
# publish the new records, release
# major would change x.y.z version to x+1.0.0
# minor would change x.y.z version to x.y+1.0
# patch would change x.y.z verion to x.y.z+1
./release.sh [major,minor,patch]
Description
No description provided
Readme 29 KiB
Languages
Python 73%
Shell 19.2%
Nix 7.8%