Deploying kudurru
New to the app? Follow First steps. To assign client addresses, use the DHCP walkthrough.
| Shape | Guide | Assets |
|---|---|---|
| One container (Docker, Podman) | docker.md | deploy/compose/single, deploy/compose/single-edge |
Three hosts with a VIP (dnsdist + keepalived, ha-static) | compose-ha.md | deploy/compose/ha/node-{a,b,c} |
| SQLite nodes that replicate: one primary and its followers | sqlite-cluster.md | none; the commands are on that page |
| Kubernetes with Helm | helm.md | deploy/helm/kudurru, deploy/helm/kudurru-crds |
| Kubernetes with kustomize | kustomize.md | deploy/kustomize/ |
| Linux packages (deb, rpm, apk) with systemd | docker.md#linux-packages-and-systemd | deploy/systemd |
| Monitoring | helm.md#monitoring | deploy/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:
| Task | Page |
|---|---|
| Add a member to an enrolled SQLite cluster, recover a join, take an old primary back, recover from two promotions | sqlite-join.md |
Put local.db or the query log on separate storage | sqlite-storage.md |
Accept RFC 2136 dynamic updates (nsupdate) for a zone | dynamic-updates.md |
| Create, replace and revoke stored TSIG keys | tsig-keys.md |
| Transfer RPZ feeds, supported triggers and actions, check a feed on each node | rpz.md |
| Validate DNSSEC on forwarded answers; trust anchors and exceptions | dnssec-validation.md |
| Update recursive root trust anchors automatically (RFC 5011): enable order, monitoring, behavior | managed-root-anchors.md |
| Rewrite, filter and check forwarded answers (DNS64, rebinding protection) | response-processing.md |
| Limit client networks and refuse query types | dns-controls.md |
| Match clients by MAC address, hostname or client ID | client-identity.md |
| Run Cloudflare, UniFi and webhook integrations on SQLite, and Cloudflare and UniFi on Kubernetes | integrations.md |
| Create, replace and delete role bindings; role bindings on Kubernetes | rolebindings.md |
| Move the identity data of a Kubernetes installation to v0.2 | iam-upgrade.md |
| Provide and rotate the VRRP HMAC key files of the keepalived supervisor | vrrp-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/amd64andlinux/arm64, built by ko, with an SPDX SBOM and a cosign keyless signature;<version>-debugadds busybox (a shell andnslookup); a release also moveslatest(andlatest-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.yamlandinstall.yaml(rendered from the charts and Kustomize tree at the exact release tag, including RC tags), all covered bychecksums.txt, which is cosign-signed, plus GitHub build provenance; - the Helm charts at
oci://ghcr.io/robertherbaugh/charts/kudurruand.../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
| Port | Protocol | Purpose |
|---|---|---|
| 53 | udp, tcp | DNS (5353 PROXYv2-only behind the dnsdist edge) |
| 67 | udp | DHCPv4 (optional, since v0.1.0); replies go to client UDP 68 or the relay's authorized UDP source port |
| 853 | tcp / udp | DNS over TLS / DNS over QUIC |
| 443 | tcp / udp | DNS over HTTPS / HTTP/3 |
| 8080 | tcp | API and UI |
| 8081 | tcp | ops: /healthz/startup, /healthz/ready, /healthz/live (no auth) |
| 8082 | tcp | internal node-to-node listener (always TLS) |
| 8084 | tcp | edge supervisor readiness |
| 80, 443 | tcp | block page (optional, listeners.blockPage; 8090/8493 in the chart and compose containers) |
| 8888 | tcp | external-dns webhook provider (optional) |
| 9153 | tcp | Prometheus /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:
| Variable | Content |
|---|---|
KUDURRU_ENCRYPTION_KEY_FILE | 32 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_FILE | The previous key during a rotation (runbooks.md). |
KUDURRU_ADMIN_PASSWORD_FILE | Password of the first-start admin user; read only while no user exists. |
KUDURRU_BOOTSTRAP_TOKEN_FILE | Optional kdr_<id>_<secret> token created at first start for automation. |
KUDURRU_LICENSE_KEY_FILE | Optional 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.