ddns-updater

by HelmForge

Helm chartv1.4.14App 2.10.0Apache-2.0Verified publisher

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

KeyDefaultDescription
image.repositorydocker.io/qmcgaw/ddns-updaterddns-updater container image repository
image.tag2.10.0ddns-updater container image tag
config.settings[]DNS records to update (provider-specific)
config.existingSecret""Existing secret with config.json
ddns.period5mCheck interval
ddns.httpTimeout10sHTTP timeout
ddns.publicIpFetchersallIP detection method (all, http, dns)
ddns.updateCooldownPeriod5mMinimum interval between updates for the same record
ddns.logLevelinfoLog level
ddns.port8000Web UI container port
ddns.rootUrl/Web UI root URL path
persistence.enabledtruePersist update history
persistence.size256MiPVC size
resources.requests.cpu10mDefault CPU request
resources.requests.memory32MiDefault memory request
resources.limits.cpu100mDefault CPU limit
resources.limits.memory128MiDefault memory limit
serviceAccount.automountServiceAccountTokenfalseMount Kubernetes API token into pods
service.port80Web UI service port
ingress.enabledfalseEnable ingress
podSecurityContext.runAsUser1000Upstream image user
securityContext.readOnlyRootFilesystemtrueKeep 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.json syntax and the configured existingSecretKey.
  • 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

FrameworkScore
MITRE + NSA + SOC293.94%

✅ Security posture acceptable.

Local details:

FrameworkScore
MITRE100.00%
NSA95.00%
SOC280.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

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartddns-updater is pinned at v1.4.14 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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