Skip to content

mio9/ddnsc

Repository files navigation

DDNSC

The shitty cloudflare ddns client i made for myself to use, painful stuff as a typescript kid 929

(Previously named DDNS-GO)

Commands

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)

Setup

  1. Go create your cloudflare API key
  2. paste that into your config cloudflare api-key
  3. Run a list zones
  4. Run a list record [zoneID] with the zone ID you got
  5. Shove both zone ID and record ID into your your config records
  6. Set correct name for your subdomain / domain name
  7. Done

Extremely tedious to setup right? i know lol but that's the thing of later :)

Contribution

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published