ddns-updater
by HelmForge
Dynamic DNS updater supporting 50+ providers with web UI, health checks, and persistent update history
About this chart
DDNS Updater Helm Chart
Deploy ddns-updater on Kubernetes using the official qmcgaw/ddns-updater Docker image. Keep DNS A/AAAA records updated across 50+ providers with a responsive web UI.
This chart currently deploys qmcgaw/ddns-updater:2.10.0.
Features
- 50+ DNS providers — Cloudflare, Route53, DuckDNS, Namecheap, GoDaddy, Hetzner, and more
- Web UI — responsive dashboard for monitoring update status
- Multi-provider — manage records across different providers in a single deployment
- Persistent history — update history stored in a PVC
- Existing secrets — bring your own Secret for credentials
- Ingress support — expose the web UI with TLS
- Restricted runtime — non-root container, read-only root filesystem, dropped capabilities, and ServiceAccount token automount disabled
Architecture
The single-replica Deployment reads config.json from either a chart-managed or
existing Secret, polls public IP sources, and updates the configured provider
APIs. A PVC retains update history when persistence is enabled; otherwise the
history volume is ephemeral. By default, a ClusterIP Service exposes the status
UI; service.type can select NodePort or LoadBalancer instead. The Recreate
strategy prevents two writers from racing during upgrades. See
DESIGN.md for the topology and responsibility boundaries.
Installation
HTTPS repository:
helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install ddns-updater helmforge/ddns-updater -f values.yaml
OCI registry:
helm install ddns-updater oci://ghcr.io/helmforgedev/helm/ddns-updater -f values.yaml
Quick Start
# values.yaml
config:
settings:
- provider: cloudflare
zone_identifier: "your-zone-id"
domain: "example.com"
host: "@"
ttl: 300
token: "your-cloudflare-api-token"
proxied: false
ip_version: "ipv4"
Access the web UI:
kubectl port-forward svc/<release>-ddns-updater 8000:80
# Open http://localhost:8000
Using an Existing Secret
Store your config.json in a Kubernetes Secret:
kubectl create secret generic ddns-config \
--from-file=config.json=./config.json
config:
existingSecret: ddns-config
existingSecretKey: config.json
Multi-Provider Example
config:
settings:
- provider: cloudflare
zone_identifier: "cf-zone-id"
domain: "example.com"
host: "@"
token: "cf-token"
proxied: true
- provider: duckdns
domain: "myhost.duckdns.org"
token: "duck-token"
- provider: namecheap
domain: "example.org"
host: "home"
password: "ddns-password"
Default Values
| Key | Default | Description |
|---|---|---|
image.repository | docker.io/qmcgaw/ddns-updater | ddns-updater container image repository |
image.tag | 2.10.0 | ddns-updater container image tag |
config.settings | [] | DNS records to update (provider-specific) |
config.existingSecret | "" | Existing secret with config.json |
ddns.period | 5m | Check interval |
ddns.httpTimeout | 10s | HTTP timeout |
ddns.publicIpFetchers | all | IP detection method (all, http, dns) |
ddns.updateCooldownPeriod | 5m | Minimum interval between updates for the same record |
ddns.logLevel | info | Log level |
ddns.port | 8000 | Web UI container port |
ddns.rootUrl | / | Web UI root URL path |
persistence.enabled | true | Persist update history |
persistence.size | 256Mi | PVC size |
resources.requests.cpu | 10m | Default CPU request |
resources.requests.memory | 32Mi | Default memory request |
resources.limits.cpu | 100m | Default CPU limit |
resources.limits.memory | 128Mi | Default memory limit |
serviceAccount.automountServiceAccountToken | false | Mount Kubernetes API token into pods |
service.port | 80 | Web UI service port |
ingress.enabled | false | Enable ingress |
podSecurityContext.runAsUser | 1000 | Upstream image user |
securityContext.readOnlyRootFilesystem | true | Keep the container root filesystem read-only |
Operations
Use config.existingSecret for production credentials so DNS provider tokens are not stored in values files.
Before upgrading, confirm the provider-specific configuration format against the upstream documentation and inspect pod logs after rollout:
kubectl logs -l app.kubernetes.io/name=ddns-updater --all-containers --tail=100
Upgrade Safety
Helm upgrades preserve the Deployment, Service, and PVC names. Keep the release
name, nameOverride, fullnameOverride, persistence.existingClaim, and
configuration Secret reference stable. Export the stored overrides, review them
against the new schema, and use a complete values file with the normal Helm
merge:
helm get values ddns-updater --namespace ddns-updater -o yaml > values.yaml
helm upgrade ddns-updater helmforge/ddns-updater \
--namespace ddns-updater --values values.yaml
The file must retain every non-default setting, especially
config.existingSecret or config.settings; omitting both can replace the
active configuration with an empty chart-managed Secret. --reuse-values
preserves stored overrides but also preserves old defaults, so compare the
stored values with the new schema before using it. Back up config.json and the
update-history PVC, then verify both the UI and a provider update after the pod
is Ready.
Troubleshooting
- If the pod cannot start, validate the
config.jsonsyntax and the configuredexistingSecretKey. - If the UI is healthy but records stay stale, inspect the logs for provider errors and verify outbound DNS, public IP checkers, and provider API access.
- If the UI is unavailable behind Ingress, confirm
ddns.rootUrl, the Service port, and the Ingress path agree. - If an upgrade cannot mount history, verify the existing PVC name, access mode, and StorageClass before changing persistence values.
Security Scan
🟢 Security Scan: ddns-updater
| Framework | Score |
|---|---|
| MITRE + NSA + SOC2 | 93.94% |
✅ Security posture acceptable.
Local details:
| Framework | Score |
|---|---|
| MITRE | 100.00% |
| NSA | 95.00% |
| SOC2 | 80.00% |
The remaining local scan findings are expected for raw chart scanning and platform-level controls: NetworkPolicy and egress firewall policy are supplied by the platform layer because DNS provider APIs and public IP detection endpoints vary by deployment.
More Information
- Supported providers
- Upstream documentation
- Source code
Deploy ddns-updater with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ddns-updater on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartddns-updater is pinned at v1.4.14 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply