The shitty cloudflare ddns client i made for myself to use, painful stuff as a typescript kid
(Previously named DDNS-GO)
Usage:
ddns [options] [command]
Commands:
help - Get this help text
ip - Get your current external IP address
list zones - List cloudflare zones
list records [zoneID] - List cloudflare records
list jobs - List your scheduled jobs in config
start - Start the cron job
hammer - Force update your jobs with current IP, use with a hammer
Options:
-f [path] - Provide config file path (default config.yaml)
- Go create your cloudflare API key
- paste that into your config cloudflare api-key
- Run a
list zones
- Run a
list record [zoneID]
with the zone ID you got - Shove both zone ID and record ID into your your config
records
- Set correct name for your subdomain / domain name
- Done
Extremely tedious to setup right? i know lol but that's the thing of later :)
This project features extremely shitty go code. Pls feel free to fork this out and make some PR, my brain is too shitty to write some good go code as a 9-years JS kid