https://github.com/zaptross/cfddns
A simple Cloudflare Dynamic DNS script for use as a Cron in Kubernetes.
https://github.com/zaptross/cfddns
cloudflare ddns docker go
Last synced: about 2 months ago
JSON representation
A simple Cloudflare Dynamic DNS script for use as a Cron in Kubernetes.
- Host: GitHub
- URL: https://github.com/zaptross/cfddns
- Owner: Zaptross
- Created: 2023-11-07T12:57:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-09T03:32:42.000Z (about 1 year ago)
- Last Synced: 2025-06-09T04:31:38.966Z (about 1 year ago)
- Topics: cloudflare, ddns, docker, go
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cfddns
A simple cloudflare ddns script written in Go, for use as a cron job in Kubernetes.
## Setup
1. Clone the repository
Create your cloudflare API token from the [API Tokens](https://dash.cloudflare.com/profile/api-tokens) page.
2. Ensure the token has the following permissions:
- Zone - Zone Settings - Read
- Zone - Zone - Read
- Zone - DNS - Edit
3. Edit the `values.yaml` file and add your token, domain, subdomain and whether you want to use the proxied option.
- `token`: Your cloudflare API token
- `zoneID`: Your Cloudflare Zone ID
- `domain`: Your domain name
- `subdomain`: Your subdomain name
- `proxied`: Whether you want to use the proxied option
- `comment`: Whether to add a comment to the DNS record indicating it was updated by this script (default: true)
## Usage
To install the application using Helm, follow these steps:
```bash
helm install -f values.yaml cfddns ./helm
```