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: 4 months 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-17T02:12:50.000Z (5 months ago)
- Last Synced: 2025-02-24T21:16:09.357Z (4 months ago)
- Topics: cloudflare, dyndns
- Language: Go
- Homepage: https://rwxd.github.io/cloudflare-dyndns/
- Size: 60.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
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
```