GitHunt
LO

Lorezz/cloudflare-ddns

cloudflare ddns

Wht it does is get your public ip using the free api https://api.ipify.org
then gather all records from a zoneID and updates all with this ip.

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.1.3. Bun is a fast all-in-one JavaScript runtime.

To automate use crontab

crontab -e

and add the following line, changing the timing or the runnner.

0 */1 * * * bun run /home/pi/cloudflare/index.ts >> /home/pi/cloudflare/log.txt

Languages

TypeScript100.0%

Contributors

Created May 4, 2025
Updated May 4, 2025
Lorezz/cloudflare-ddns | GitHunt