ddclient
by alekc
Perl-based dynamic DNS client that keeps a DNS record pointed at your current IP, across dozens of providers (Cloudflare, DuckDNS, GoDaddy, Google Domains, and many more).
About this chart
ddclient
Perl-based dynamic DNS client that keeps a DNS record pointed at your current IP, across dozens of providers (Cloudflare, DuckDNS, GoDaddy, Google Domains, and many more).
ddclient watches your current IP and pushes an update
to your DNS provider whenever it changes, so a hostname keeps pointing at a connection with no
static IP. Nothing is updated until config names a real account and DNS provider, see
"Supported services" below and the upstream sample config
for every provider's exact directive shape.
Quick start
From the classic chart repository:
helm repo add alekc https://charts.alekc.dev
helm repo update
helm install my-ddclient alekc/ddclient
Or directly from the OCI registry, no helm repo add needed:
helm install my-ddclient oci://charts.alekc.dev/ddclient --version 1.1.0
Verifying the signature
curl -sO https://charts.alekc.dev/pubring.gpg
helm pull oci://charts.alekc.dev/ddclient --version 1.1.0 --verify --keyring pubring.gpg
Supported services
DynDNS.com - See http://www.dyndns.com for details on obtaining a free account.
Zoneedit - See http://www.zoneedit.com for details.
EasyDNS - See http://www.easydns.com for details.
NameCheap - See http://www.namecheap.com for details
DslReports - See http://www.dslreports.com for details
Sitelutions - See http://www.sitelutions.com for details
Loopia - See http://www.loopia.se for details
Noip - See http://www.noip.com/ for details
Freedns - See http://freedns.afraid.org/ for details
ChangeIP - See http://www.changeip.com/ for details
nsupdate - See nsupdate(1) and ddns-confgen(8) for details
CloudFlare - See https://www.cloudflare.com/ for details
GoDaddy - See https://www.godaddy.com/ for details
Google - See http://www.google.com/domains for details
Duckdns - See https://duckdns.org/ for details
Freemyip - See https://freemyip.com for details
woima.fi - See https://woima.fi/ for details
Yandex - See https://domain.yandex.com/ for details
DNS Made Easy - See https://dnsmadeeasy.com/ for details
DonDominio - See https://www.dondominio.com for details
NearlyFreeSpeech.net - See https://www.nearlyfreespeech.net/services/dns for details
OVH - See https://www.ovh.com for details
ClouDNS - See https://www.cloudns.net
dinahosting - See https://dinahosting.com
Gandi - See https://gandi.net
dnsexit - See https://dnsexit.com/ for details
1984.is - See https://www.1984.is/product/freedns/ for details
Source Code
Gotchas
configholds real credentials in plain text (whatever API token or password your DNS provider needs), rendered into a Secret. Anyone who can read that Secret can update your DNS record. Restrict RBAC access to it the same way you would any other credential-bearing Secret.- Only one replica ever makes sense.
replicaCountisn't schema-capped, but running more than one just means multiple ddclient processes racing to update the same DNS record from identical config, not a resource-sharing conflict, just wasted API calls. networkPolicy.enabledallows broad egress to0.0.0.0/0:443by default. ddclient's IP-check and DNS-provider endpoints vary per deployer (see "Supported services" above), there's no small fixed range to allowlist out of the box. Narrow it withnetworkPolicy.extraEgressif your environment needs a tighter policy.
Upgrade notes
No breaking changes yet. This section will list migration steps for any future release with
a kind: removed or kind: changed entry in artifacthub.io/changes that requires one.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| additionalManifests | object | {} | Additional raw Kubernetes manifests to render alongside the chart's own resources. Supports any valid Kubernetes object; values are templated with tpl, so a manifest can reference .Release.Namespace and friends. |
| affinity | object | {} | Affinity rules for pod scheduling. |
| commonAnnotations | object | {} | Annotations merged onto every resource this chart renders, in addition to each resource's own dedicated annotations field. |
| commonLabels | object | {} | Labels merged onto every resource this chart renders. Never reaches selector/matchLabels, safe to change without forcing a Deployment recreate. |
| config | string | "daemon=60\nuse=web\nweb=https://checkip.amazonaws.com/\nsyslog=yes\n#verbose=yes\n" | config section of ddclient.conf, mounted read-only from a Secret at /defaults. See the README's "Supported services" list for the provider directives this file can contain. |
| deploymentAnnotations | object | {} | Annotations to add to the Deployment, alongside the always-present secret.reloader.stakater.com/reload annotation this chart sets itself. |
| extraContainers | list | [] | Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends. |
| fullnameOverride | string | "" | Overrides the full resource name, instead of the default <release>-<chart> pattern. |
| image.digest | string | "" | If specified (i.e. sha256:b65b67cfd2eb01c27f10ae4a926a9b3cebae88dd99ae0a4d3f0549580693977b) will use this SHA for the image deployment |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy. |
| image.repository | string | "linuxserver/ddclient" | Image repository. |
| image.tag | string | "" | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | Image pull secrets, for a private registry mirror. |
| initContainers | list | [] | Extra init containers appended to the pod spec, templated with tpl. |
| nameOverride | string | "" | Overrides the chart name used to build resource names. |
| networkPolicy.annotations | object | {} | Annotations to add to the NetworkPolicy |
| networkPolicy.enabled | bool | false | Render a NetworkPolicy denying all ingress (nothing serves traffic here, ddclient only makes outbound calls) and restricting egress to DNS plus a broad HTTPS allowance. ddclient's IP-check and DNS-provider endpoints vary per deployer, so egress is broad by default, see Gotchas. |
| networkPolicy.extraEgress | list | [] | Additional raw egress rules, appended as-is under spec.egress. |
| nodeSelector | object | {} | Node selector for pod scheduling. |
| podAnnotations | object | {} | Annotations added to the pod template. |
| podSecurityContext | object | {} | Pod-level securityContext. |
| replicaCount | int | 1 | Pod replica count. Running more than one is pointless, not just wasteful: every replica would race to update the same DNS record from its own config. |
| resources | object | {} | Container resource requests/limits. |
| secretAnnotations | object | {} | Annotations to add to the Secret holding ddclient.conf. |
| securityContext | object | {} | Container-level securityContext. |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | [] | Tolerations for pod scheduling. |
Deploy ddclient with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ddclient 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 chartddclient is pinned at v1.1.0 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