ddclient

by alekc

Helm chartv1.1.0App 4.0.0GPL-2.0Verified publisher

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

  • config holds 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. replicaCount isn'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.enabled allows broad egress to 0.0.0.0/0:443 by 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 with networkPolicy.extraEgress if 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

KeyTypeDefaultDescription
additionalManifestsobject{}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.
affinityobject{}Affinity rules for pod scheduling.
commonAnnotationsobject{}Annotations merged onto every resource this chart renders, in addition to each resource's own dedicated annotations field.
commonLabelsobject{}Labels merged onto every resource this chart renders. Never reaches selector/matchLabels, safe to change without forcing a Deployment recreate.
configstring"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.
deploymentAnnotationsobject{}Annotations to add to the Deployment, alongside the always-present secret.reloader.stakater.com/reload annotation this chart sets itself.
extraContainerslist[]Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends.
fullnameOverridestring""Overrides the full resource name, instead of the default <release>-<chart> pattern.
image.digeststring""If specified (i.e. sha256:b65b67cfd2eb01c27f10ae4a926a9b3cebae88dd99ae0a4d3f0549580693977b) will use this SHA for the image deployment
image.pullPolicystring"IfNotPresent"Image pull policy.
image.repositorystring"linuxserver/ddclient"Image repository.
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]Image pull secrets, for a private registry mirror.
initContainerslist[]Extra init containers appended to the pod spec, templated with tpl.
nameOverridestring""Overrides the chart name used to build resource names.
networkPolicy.annotationsobject{}Annotations to add to the NetworkPolicy
networkPolicy.enabledboolfalseRender 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.extraEgresslist[]Additional raw egress rules, appended as-is under spec.egress.
nodeSelectorobject{}Node selector for pod scheduling.
podAnnotationsobject{}Annotations added to the pod template.
podSecurityContextobject{}Pod-level securityContext.
replicaCountint1Pod 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.
resourcesobject{}Container resource requests/limits.
secretAnnotationsobject{}Annotations to add to the Secret holding ddclient.conf.
securityContextobject{}Container-level securityContext.
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
tolerationslist[]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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartddclient is pinned at v1.1.0 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