Deploying kudurru

New to the app? Follow First steps. To assign client addresses, use the DHCP walkthrough.

ShapeGuideAssets
One container (Docker, Podman)docker.mddeploy/compose/single, deploy/compose/single-edge
Three hosts with a VIP (dnsdist + keepalived, ha-static)compose-ha.mddeploy/compose/ha/node-{a,b,c}
SQLite nodes that replicate: one primary and its followerssqlite-cluster.mdnone; the commands are on that page
Kubernetes with Helmhelm.mddeploy/helm/kudurru, deploy/helm/kudurru-crds
Kubernetes with kustomizekustomize.mddeploy/kustomize/
Linux packages (deb, rpm, apk) with systemddocker.md#linux-packages-and-systemddeploy/systemd
Monitoringhelm.md#monitoringdeploy/grafana/kudurru-overview.json, deploy/prometheus/rules.yaml

Runbooks: cold start without the apiserver, key rotation, upgrades. Upgrading from 0.1.x: the ordered upgrade notes. External filtering data: require HTTPS for list and catalog downloads. For scripts and CLI clients: apply results, settings and live-event contracts. What works on which deployment shape, and what each refusal key means: capabilities.md. The optional central database for the audit log, query log and statistics of every node: postgres.md. Sending the query log to ClickHouse, Grafana Loki or log lines next to the local database: query-log-sinks.md. OpenTelemetry traces of DNS queries, with dnsdist TRACEPARENT: tracing.md. Blocked services and safe search, and the runtime catalogue URL: blocked-services.md. Allowlist, Denylist and switching single entries of any list off: allowlist.md. The block page (blocked names open a page explaining the block, with a Request access form administrators answer on the Requests page): blocking-page.md. The optional DHCPv4 server, included since v0.1.0: dhcp.md.

More pages, by task:

TaskPage
Add a member to an enrolled SQLite cluster, recover a join, take an old primary back, recover from two promotionssqlite-join.md
Put local.db or the query log on separate storagesqlite-storage.md
Accept RFC 2136 dynamic updates (nsupdate) for a zonedynamic-updates.md
Create, replace and revoke stored TSIG keystsig-keys.md
Transfer RPZ feeds, supported triggers and actions, check a feed on each noderpz.md
Validate DNSSEC on forwarded answers; trust anchors and exceptionsdnssec-validation.md
Update recursive root trust anchors automatically (RFC 5011): enable order, monitoring, behaviormanaged-root-anchors.md
Rewrite, filter and check forwarded answers (DNS64, rebinding protection)response-processing.md
Limit client networks and refuse query typesdns-controls.md
Match clients by MAC address, hostname or client IDclient-identity.md
Run Cloudflare, UniFi and webhook integrations on SQLite, and Cloudflare and UniFi on Kubernetesintegrations.md
Create, replace and delete role bindings; role bindings on Kubernetesrolebindings.md
Move the identity data of a Kubernetes installation to v0.2iam-upgrade.md
Provide and rotate the VRRP HMAC key files of the keepalived supervisorvrrp-keys.md
Show your organization's name, logos and accent color (Enterprise)custom-branding.md

Built-in DHCPv4 is disabled by default and runs on Linux with either store: SQLite standalone or three-node quorum failover, or the Kubernetes store with DHCPScope/DHCPLease objects and one elected replica behind a relay (Kubernetes DHCP). It has complete dashboard setup, persistent leases/reservations, multiple subnets, trusted relays, conflict checks, network/boot options, import/export and local DNS ownership. DHCPv6 is excluded. Keep IPv6 router and DNS advertisements on your router.

Release artifacts

v0.1.0 ("stone"), dated 18 October 2026, is the first release. Its release page has binaries, packages and deployment assets, and each later release has a page of the same kind under its own tag. These pages describe v0.2.0 ("clay copies"). Installation examples in this checkout follow VERSION; use the tagged checkout for a published release.

Releases are cut by merging main into release-candidate (a v<version>-rc.<N> pre-release) and release-candidate into release (the v<version> release, which also moves latest); the version comes from the VERSION file (release-checklist.md). Both run .github/workflows/publish.yml, which runs goreleaser (.goreleaser.yaml) and publishes:

  • ghcr.io/robertherbaugh/kudurru:<version>: distroless static, nonroot (uid 65532), linux/amd64 and linux/arm64, built by ko, with an SPDX SBOM and a cosign keyless signature; <version>-debug adds busybox (a shell and nslookup); a release also moves latest (and latest-debug), a release candidate does not;
  • binaries for linux and darwin on amd64 and arm64, deb/rpm/apk packages with a hardened systemd unit, a compose bundle, crds.yaml and install.yaml (rendered from the charts and Kustomize tree at the exact release tag, including RC tags), all covered by checksums.txt, which is cosign-signed, plus GitHub build provenance;
  • the Helm charts at oci://ghcr.io/robertherbaugh/charts/kudurru and .../kudurru-crds, cosign-signed.

make version-sync keeps checkout deployment references aligned with VERSION; make version-check checks them without writing. Release packaging stages tag-specific manifests and Compose files in bin/release without modifying tracked files (contributor instructions).

Every pull request against main also pushes ghcr.io/robertherbaugh/kudurru:dev-<PR number> (unsigned, for testing the branch; later pushes overwrite it).

Verify an image:

cosign verify ghcr.io/robertherbaugh/kudurru:0.2.0 \
  --certificate-identity-regexp '^https://github\.com/robertherbaugh/kudurru/\.github/workflows/publish\.yml@refs/heads/release(-candidate)?$' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Ports

PortProtocolPurpose
53udp, tcpDNS (5353 PROXYv2-only behind the dnsdist edge)
67udpDHCPv4 (optional, since v0.1.0); replies go to client UDP 68 or the relay's authorized UDP source port
853tcp / udpDNS over TLS / DNS over QUIC
443tcp / udpDNS over HTTPS / HTTP/3
8080tcpAPI and UI
8081tcpops: /healthz/startup, /healthz/ready, /healthz/live (no auth)
8082tcpinternal node-to-node listener (always TLS)
8084tcpedge supervisor readiness
80, 443tcpblock page (optional, listeners.blockPage; 8090/8493 in the chart and compose containers)
8888tcpexternal-dns webhook provider (optional)
9153tcpPrometheus /metrics

Outbound, a forwarding upstream group needs only its configured servers (and the bootstrap resolvers for server host names). A recursive group (mode: recursive) asks the root and each zone's name servers itself, so it needs UDP and TCP port 53 to any address, over IPv6 too when the host has a route; a firewall, NetworkPolicy or ISP that blocks or intercepts port 53 breaks it (upstreams and the cache).

Secrets

The binary reads secrets from files named by environment variables, never from the config file:

VariableContent
KUDURRU_ENCRYPTION_KEY_FILE32 random bytes, base64 or 64 hex digits (openssl rand -base64 32). Seals sessions and stored secrets and derives the internal listener's token and CA (D47, D92). Required in Kubernetes; every node of a cluster shares it.
KUDURRU_ENCRYPTION_KEY_PREVIOUS_FILEThe previous key during a rotation (runbooks.md).
KUDURRU_ADMIN_PASSWORD_FILEPassword of the first-start admin user; read only while no user exists.
KUDURRU_BOOTSTRAP_TOKEN_FILEOptional kdr_<id>_<secret> token created at first start for automation.
KUDURRU_LICENSE_KEY_FILEOptional file with the license key (KUDURRU_LICENSE_KEY holds the key itself). Without a key kudurru runs one node and no ee/ features; DNS is never affected. LICENSING.md, how it works. Helm: license.existingSecret or license.key.

Every settings key can also be set as KUDURRU_<SECTION>__<KEY> (for example KUDURRU_LOG__LEVEL=debug) or KUDURRU_<SECTION>__<KEY>_FILE; list and map keys (listeners, upstream groups) only from the file. An environment variable that names no key stops the server at start, so typos do not go unnoticed. kudurru config schema lists every key.

Kubernetes API clients

Jobs and controllers using ServiceAccount credentials must project an audience kudurru token with a ten-minute lifetime. See ServiceAccount authentication for the exact projection, rotation requirements, bounded deletion revocation and API-outage behavior. Legacy and ordinary one-hour incoming tokens are rejected.

Source: docs/deploy/README.md