ztcf stands for ZeroTier Cloudflare. It's a simple script that lists all members from a Zerotier network and creates entries in a Cloudflare zone.
To configure, create an .env
file with the following variables:
ZT_NETWORK_ID= # Zerotier network id
ZT_API_TOKEN= # Zerotier API token
CF_TOKEN= # Cloudflare token
CF_ZONE_ID= # Cloudflare zone id
Then run with:
cargo run
- It currently only creates A records, nothing more, nothing less. With time it'll be able to replace, update and delete entries from Cloudflare.
- Output is non-existing
Check LICENSE file
- ztdns: Similar software for Route53, written in JS