Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rwxd/cloudflare-dyndns
Cloudflare DynDNS Tool to update DNS entries with new public IPs.
https://github.com/rwxd/cloudflare-dyndns
cloudflare dyndns
Last synced: about 1 month ago
JSON representation
Cloudflare DynDNS Tool to update DNS entries with new public IPs.
- Host: GitHub
- URL: https://github.com/rwxd/cloudflare-dyndns
- Owner: rwxd
- License: mit
- Created: 2022-03-11T19:46:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T09:53:56.000Z (2 months ago)
- Last Synced: 2025-01-02T15:16:12.231Z (about 1 month ago)
- Topics: cloudflare, dyndns
- Language: Go
- Homepage: https://rwxd.github.io/cloudflare-dyndns/
- Size: 56.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloudflare-DynDNS
## Description
cloudflare-dyndns is a CLI application written in Go and delivered as a single executable that lets you run your own dynamic DNS service with Cloudflare.
An api token is needed to run the tool -> [how to create a cloudflare api token](https://developers.cloudflare.com/api/tokens/create/)
## Todos
- Docker Image
## Usage
### Creates DNS Records
```bash
❯ cloudflare-dyndns update --record "dyn-dns-test" --zone "test.com" --api-token "mytoken"
Creating A Record with content "1.1.1.1" & ttl 1
Creating AAAA Record with content "2a02::123" & ttl 1
```### Updates DNS Records
```bash
❯ cloudflare-dyndns update --record "dyn-dns-test" --zone "test.com" --api-token "mytoken"
Updating A Record with content "1.1.1.2" & ttl 1
No update needed for AAAA Record
```### Help
```
❯ cloudflare-dyndns update --help
Update DynDNS EntryUsage:
cloudflare-dyndns update [flags]Flags:
-t, --api-token string cloudflare api token
-h, --help help for update
--log-level string log level (default "warning")
-r, --record string dns record to change
--ttl int ttl for record (default 1)
-z, --zone string zone name
```