CLI reference
Every kudurru command, its arguments and its flags.
One binary is the server, the supervisors and the client. The client verbs
default to the REST API chosen by --server or a context saved by kudurru login.
Explicit --transport kubernetes sends generic get/apply/delete/describe CRD verbs
to the selected kubeconfig --context; it never falls back to an API context.
kudurru admin talks to the local admin socket instead. The
same text is available offline as kudurru <command> --help.
Global flags
Every command accepts these flags.
--ca-file string PEM bundle to trust for the API server
--cli-config string CLI contexts file (default $KUDURRU_CLI_CONFIG
or ~/.config/kudurru/config.yaml)
--config string path to the server's kudurru.yaml (default
"/etc/kudurru/kudurru.yaml")
--context string context to use: stored API context, or
kubeconfig context with --transport kubernetes
(env KUDURRU_CONTEXT)
--insecure-skip-tls-verify[=true|false] do not verify the server's TLS certificate
(lab use only)
--kubeconfig string kubeconfig file for explicit Kubernetes
transport (otherwise KUBECONFIG/default)
-n, --namespace string namespace for namespaced kinds (default: the
context's, else "default")
-o, --output string output format: table, wide, json, yaml or name
--request-timeout duration timeout per API request or complete direct
Kubernetes command (apply and restore: 5m
unless set) (default 30s)
--server string API server URL, e.g. https://dns.example
(overrides the context; env KUDURRU_SERVER)
--token string API token kdr_… (overrides the context; env
KUDURRU_TOKEN)
--transport string object transport: api or kubernetes (direct
CRD verbs only) (default "api")
kudurru admin
Break-glass operations over the server's unix socket (default /run/kudurru/kudurru.sock). They do not use the API or a token: the server admits root, its own user (65532 in the distroless image, which is what docker exec and kubectl exec get), or a configured group.
docker exec kudurru kudurru admin reset-password admin
kubectl exec -n dns deploy/kudurru -- kudurru admin create-token --expires-in 1h
Flags:
--protocol string socket protocol: auto, http or ndjson (default "auto")
--socket string admin socket path (default $KUDURRU_ADMIN_SOCKET or
/run/kudurru/kudurru.sock)
kudurru admin create-token
Mint an API token and print it once on stdout. Without --user the token belongs to the built-in break-glass service account and expires after 24h unless --expires-in says otherwise; with --user it is a personal token of that local user.
kudurru admin create-token [flags]
Flags:
--description string what the token is for
--expires-in string lifetime, e.g. 1h (default 24h for break-glass tokens)
--user string local user owning the token (default: the break-glass service account)
kudurru admin list-users
List local users.
kudurru admin list-users
kudurru admin reset-password
Set a local user's password and require a change at the next login. Without --password the server generates one and prints it once. The username defaults to the built-in admin; --create makes that account when it does not exist.
kudurru admin reset-password [username] [flags]
Flags:
--create[=true|false] create the user (as the built-in admin) when it does not
exist
--password string new password (default: generated by the server)
--password-stdin[=true|false] read the new password from stdin
--revoke-tokens[=true|false] also revoke every API token of the user (a reset alone
revokes sessions, not tokens)
kudurru anchors
Operate directly on an existing current-schema SQLite database using local OS file permissions. Stop kudurru and all other readers/writers first, preserve a backup, and keep managed edges uncached. No API credentials or network discovery are used. This command cannot initialize, migrate or repair a database.
Recovery is available only after canonical loss of every trusted root key. Obtain replacement root DS records through an independent trusted channel. The command authenticates one fresh DNSKEY response, preserves all revoked keys and records explicit recovery history plus an audit event in the same transaction. Do not replay an uncertain result: inspect the retained version first. Before distributing recovered history, check that every member runs kudurru v0.2.0 or later. The only earlier release, v0.1.0, has no cluster replication and cannot be a member.
Flags:
--database string existing state.db path (required)
--offline[=true|false] acknowledge that all database readers and writers are stopped
--timeout duration original operation deadline (positive, at most 30s) (default 30s)
kudurru anchors recover
Accept explicit replacement trust after complete anchor loss.
kudurru anchors recover [flags]
Flags:
--ds stringArray independently verified replacement root DS record; repeat
for each record
--expected-digest string exact accepted-envelope digest from status (required)
--reason string audited recovery reason (required, at most 512 bytes)
--root-server stringArray numeric root DNS IP:port; TCP, at most three selected endpoints
kudurru anchors status
Read the exact retained anchor version.
kudurru anchors status
kudurru api
Send a raw request to the API (path relative to /api/v1).
kudurru api <method> <path> | api <path> [flags]
Examples:
kudurru api /version
kudurru api POST /cache/flush
kudurru api PATCH /settings --data '{"cache":{"maxEntries":200000}}'
kudurru api POST /apply --data @zones.json
Flags:
--content-type string Content-Type of the body (default application/json)
-d, --data string request body: inline text, @file, or @- for stdin
-H, --header stringArray extra header Name: value (repeatable)
kudurru apply
Create or update objects from manifests. Documents may be multi-document YAML, JSON objects, JSON arrays or a List. Every document is a whole object applied with manager "api" (POST /api/v1/apply); objects owned by a file or an integration are refused with "managed_by" and the owner. With --transport kubernetes, public CRDs are applied directly with the selected kubeconfig credentials, manager "api", original version/absence preconditions and Kubernetes admission/RBAC. Force ownership is never implied.
kudurru apply -f file|dir|- [flags]
Examples:
kudurru apply -f zones.yaml
kudurru apply -f objects.d/ -R
cat lists.yaml | kudurru apply -f -
Flags:
-f, --filename stringArray file, directory or - for stdin (repeatable)
-R, --recursive[=true|false] descend into subdirectories of -f directories
kudurru audit
Show the audit log of API writes.
kudurru audit [flags]
Flags:
--actor string principal name
--kind string object kind
--limit int maximum entries (default 100)
--name string object name
--since string RFC 3339 time or a duration back from now (24h)
kudurru audit keys
Manage an operator-protected 0600 ring file. Publish it separately as the ring.json entry of audit.keySecret in the release namespace. These commands never contact a server or print private material. Back up the ring and AuditLog history separately; ordinary configuration backups contain neither.
Before upgrading existing AuditLog storage, explicitly import each retained legacy master-key file and set a past --legacy-before cutoff. Missing old keys cannot be recovered. Rotation preserves public keys; revocation withdraws trust in affected history. Keep the containing directory private and do not remove the persistent .lock file while commands may run.
kudurru audit keys init
Initialize an explicitly cluster-bound ring.
kudurru audit keys init [flags]
Flags:
--cluster-id string Original kube-system namespace UID (required)
--file string Private ring file (required; 0600)
--legacy-before string Past whole-second RFC3339 cutoff; legacy objects must
predate it
--legacy-master-file strings Explicit protected legacy master-key files (maximum 16)
--namespace string AuditLog release namespace (required)
kudurru audit keys revoke
Withdraw trust in a retained signer.
kudurru audit keys revoke [flags]
Flags:
--file string Private ring file (required; 0600)
--key-id string Retained public-key fingerprint to revoke
--legacy[=true|false] Withdraw trust in all imported legacy HMAC keys
kudurru audit keys rotate
Replace the signer and retain old public keys.
kudurru audit keys rotate [flags]
Flags:
--file string Private ring file (required; 0600)
kudurru audit verify
Ask the server to verify the complete retained audit trail and available batch seals. Requires audit.read and an audit license. The server caches verification results for 30 seconds; checkedAt identifies the scan.
Use -o json for a structured result. Exits nonzero for an integrity failure, unavailable verification, or denied access.
kudurru audit verify
kudurru backup
Save every object (zones, record sets, lists, client groups, policies) as a multi-document YAML file. Status and server-set metadata are dropped so the file re-applies cleanly with kudurru restore -f. --safe redacts credentials embedded in URLs (user:password@ and token/key/secret query parameters) so the file can be shared; such a backup needs the secrets filled in before restore.
kudurru backup --out file.yaml [--safe] [flags]
Flags:
--exclude-managed[=true|false] skip objects owned by files or integrations
--out string file to write (- for stdout)
--safe[=true|false] redact credentials embedded in URLs
kudurru blocking
Show or toggle blocking.
kudurru blocking disable
Turn blocking off, indefinitely or for a duration (30s, 5m, 1h).
kudurru blocking disable [duration] [flags]
Flags:
--until string re-enable at this RFC 3339 time
kudurru blocking enable
Turn blocking on.
kudurru blocking enable
kudurru blocking status
Show whether blocking is on.
kudurru blocking status
kudurru cache
Manage the response cache.
kudurru cache flush
Flush the whole cache, or the entries of one name.
kudurru cache flush [name]
kudurru cluster
Inspect cluster membership and store status.
kudurru cluster activate
Activate the first member from an explicitly dormant standalone SQLite owner. First inspect cluster enrollment and separately review its four exact identity fields. Pass those fields with the local member name, internal host:port address, and reason. The command sends one request and never refreshes, redirects or retries it. A confirmed commit requires a process restart to mount the enrolled internal listener. A lost or unknown response does not prove rollback: inspect enrollment before a new decision.
kudurru cluster activate [flags]
Flags:
--address string Reachable internal member host:port
--cluster-id string Exact reviewed clusterID
--member-id string Exact reviewed memberID
--name string Local member name
--owner-digest string Exact reviewed ownerDigest
--reason string Audit reason for activating HA
--source-digest string Exact reviewed sourceDigest
kudurru cluster anchors
Show the node's root trust-anchor state (GET /cluster/anchors): the accepted owner and its RFC 5011 key states, hold-down and schedule, quarantine and recovery records, the keys this member denied locally, the updater or deny-only supervisor, and on a member that pulls whether it refuses the primary's state and why. Read-only; nothing here is a recommendation to act. A fenced or conflicted member's API is closed: read its kudurru_root_anchor_* metrics, or stop it and run kudurru anchors status --offline.
kudurru cluster anchors
kudurru cluster enrollment
Review the local SQLite enrollment source.
kudurru cluster enrollment
kudurru cluster join
Create a new private data directory and enroll it from an independently delivered invitation file. Stop all local kudurru processes first. The data directory MUST NOT already exist: existing standalone or follower data and private identities are never overwritten. Confirm the exact target name/address from the invitation separately. Configure the same KUDURRU_ENCRYPTION_KEY (or _FILE) as the primary before joining; no cluster secret is exported in the invitation or generated by this command.
One original 30-second attempt sends one signed proposal, then fetches and atomically installs one complete image. Start kudurru with this data directory only after success. Failure can leave primary membership accepted while local installation is incomplete. Preserve the directory and identity, inspect primary enrollment, and do not replay or delete/recreate identity to bypass an uncertain result. No daemon starts here.
kudurru cluster join [flags]
Flags:
--confirm-address string Exact reviewed target internal host:port
--confirm-name string Exact reviewed target member name
--data-dir string New data directory; must not already exist
--invitation-file string Private original invitation or join-token JSON receipt file
--offline[=true|false] Acknowledge that all local kudurru processes are stopped
kudurru cluster join-reconcile
Observe an earlier join using its exact original invitation, private identity and durable local intent. Stop all local kudurru processes first. The existing receiver must still be Unenrolled and never installed. This command never sends a proposal, creates an identity, repairs data or discovers a replacement primary.
The original invitation may have expired, but both original member CAs must remain valid. Current member TLS must already admit this receiver and the complete image must retain its exact consumed invitation. A new explicit 30-second attempt fetches and installs one image. A successful observed result is not a new primary commit or serving publication. Missing intent or provenance requires separate investigation.
kudurru cluster join-reconcile [flags]
Flags:
--confirm-address string Exact original target internal host:port
--confirm-name string Exact original target member name
--data-dir string Existing incomplete receiver directory; never created or repaired
--invitation-file string Private exact original invitation or join-token JSON receipt file
--offline[=true|false] Acknowledge that all local kudurru processes are stopped
kudurru cluster join-token
Issue one invitation for a target member from a separately reviewed primary. Supply all four identity fields from cluster enrollment, the target name and internal host:port, an absolute RFC3339 expiry (within ten minutes), and an audit reason. The response contains a bearer secret: transfer it privately to the intended member. Only its hash is retained by the primary. This command never refreshes, redirects or retries; a lost or unknown response does not prove rollback. Do not replay it.
kudurru cluster join-token [flags]
Flags:
--address string Target internal member host:port
--cluster-id string Exact reviewed clusterID
--expires-at string Original absolute invitation expiry (RFC3339, at most ten minutes)
--member-id string Exact reviewed primary memberID
--name string Target member name
--owner-digest string Exact reviewed ownerDigest
--reason string Audit reason for issuing the invitation
--source-digest string Exact reviewed sourceDigest
kudurru cluster promote
Promote one enrolled follower after reviewing cluster promotion -o json. Save that response in a local file and pass --review with the exact local --confirm-node, a unique --request-id and an audit --reason. The server repeats permission, source, serving agreement and continuous primary-loss checks. The command never refreshes, redirects or retries. A lost response does not prove rollback: inspect current state before a new decision. A committed receipt does not claim new-term publication or remote convergence.
kudurru cluster promote [flags]
Flags:
--confirm-node string Exact reviewed local node name
--reason string Audit reason for promoting this follower
--request-id string Unique identifier for this operator decision
--review string Local file containing separately reviewed cluster promotion JSON
kudurru cluster promotion
Review local follower promotion eligibility.
kudurru cluster promotion
kudurru cluster resolution
Read the durable conflict, divergence or fenced state of a stopped enrolled SQLite member. Stop the local kudurru process first; the normal exclusive database lock refuses a running server. Writers on a conflicted member stay refused and its HTTP API is closed while DNS continues from its last valid local data. Save this JSON output and pass it to cluster resolve on the member whose branch should survive. A fenced member that holds no image of its current term reads "reason":"fenced_behind_term"; it can keep its branch only by abandoning that term (cluster resolve --abandon-term). Nothing is modified.
kudurru cluster resolution [flags]
Flags:
--data-dir string Existing stopped member data directory
--offline[=true|false] Acknowledge that all local kudurru processes are stopped
kudurru cluster resolve
Keep this member's branch after a durable equal-epoch promotion conflict or divergence. Run cluster resolution --offline on the member whose data should survive, save its JSON, and pass it with --review, the exact --confirm-node, a unique --request-id and an audit --reason. To keep another member's branch, run this on that member instead. Stop the local kudurru process first.
One 30-second attempt rechecks the exact reviewed term, installed generation and conflict/divergence, allocates a new epoch above every observed term, retains the prior rows as private quarantine and commits a host-attributed audit event in the same transaction. Start the member afterwards: other members adopt the new term only through later scheduled authenticated peer exchanges, quarantine their own branch when they install this one and never replay its writes. Never replay this command after an unknown result; review current state first.
A review with "reason":"fenced_behind_term" is a member fenced by a newer term whose image it never installed. Keeping its branch abandons that term: pass --abandon-term with that term's epoch, and only when its primary and every member that followed it are lost for good. Their writes are not replayed, and a member of that term that returns adopts this branch.
kudurru cluster resolve [flags]
Flags:
--abandon-term uint Epoch of the lost term to abandon (only for a
fenced_behind_term review)
--confirm-node string Exact reviewed local member name
--data-dir string Existing stopped member data directory
--offline[=true|false] Acknowledge that all local kudurru processes are stopped
--reason string Audit reason for keeping this branch
--request-id string Unique identifier for this operator decision
--review string Local file containing the saved cluster resolution JSON
kudurru cluster status
Read the connected node's store driver, replication role, epoch, reported leader, member count and read-only mode. On the SQLite driver ROLE is standalone, primary or follower, and LEADER names the primary. An enrolled follower forwards some commands to its primary and refuses the others with primary_required; -o json lists both sets. Static twins each report their own local leader and store identity. This observation does not establish quorum, peer health or permission to promote a node. Use kudurru nodes for individual node readiness.
kudurru cluster status
Examples:
kudurru cluster status
kudurru cluster status -o wide
kudurru cluster status -o json
kudurru completion
Generate a shell completion script.
bash: source <(kudurru completion bash)
zsh: kudurru completion zsh > "${fpath[1]}/_kudurru"
fish: kudurru completion fish > ~/.config/fish/completions/kudurru.fish
powershell: kudurru completion powershell | Out-String | Invoke-Expression
kudurru completion bash|zsh|fish|powershell
kudurru config
Inspect the server configuration and manage CLI contexts.
kudurru config current-context
Print the current CLI context.
kudurru config current-context
kudurru config delete-context
Delete a CLI context and its stored token.
kudurru config delete-context <name>
kudurru config get-contexts
List the CLI contexts.
kudurru config get-contexts
kudurru config schema
List every settings key with its scope and flags.
kudurru config schema
kudurru config set-context
Create or change a CLI context without logging in.
kudurru config set-context <name> [--server URL] [--default-namespace ns] [flags]
Flags:
--default-namespace string default namespace of the context
kudurru config show
Print the effective configuration.
kudurru config show
kudurru config use-context
Switch the current CLI context.
kudurru config use-context <name>
kudurru delete
Delete objects by name or by manifest.
kudurru delete (<kind> <name...> | -f file|dir|-) [flags]
Examples:
kudurru delete zone lab-example-com
kudurru delete rrset web -n apps
kudurru delete -f zones.yaml
Flags:
-f, --filename stringArray file, directory or - naming the objects to delete
--ignore-not-found[=true|false] treat a missing object as deleted
-R, --recursive[=true|false] descend into subdirectories of -f directories
kudurru describe
Show an object's spec, status conditions and diagnoses.
kudurru describe <kind> <name>
kudurru doctor
Check the local configuration and environment, then the API server:
config the config file parses and validates
dataDir exists, is a directory, is writable, is not world-writable
ports every configured listener address can be bound (or is in use by
a running kudurru)
api the API server answers (the CLI context, --server, or the local
listeners.api.address)
token the CLI token is accepted (GET /auth/me)
anchors with upstreams.recursion.anchorMode managed: the node's root
trust-anchor status (GET /cluster/anchors); fails on lost trust
or terminal local output, warns on each status warning
diagnoses configuration diagnoses reported by the server (GET /info/messages)
database with database.dsn set: the central database answers, runs
PostgreSQL 16 or newer and has a schema this binary can use;
warns about sslmode=disable to another host
notify with --notify: authenticated UDP self-NOTIFY to the DNS health
listener; reports the source address observed by that listener
vrrp warns when `kudurru vip run --legacy` renders keepalived without
auth_hmac (unauthenticated VRRP adverts); silent on nodes
without keepalived
Exits non-zero when a check fails.
kudurru doctor [flags]
Flags:
--keepalived-config kudurru vip run keepalived.conf rendered by kudurru vip run
(default "/etc/keepalived/keepalived.conf")
--notify[=true|false] perform an authenticated self-NOTIFY using local
tsigKeys and notify.source
--notify-key string configured tsigKeys name for self-NOTIFY (defaults
to the first entry; no key fallback)
--notify-target string UDP host:port reachable from this node (defaults
to its first UDP DNS listener)
--skip-api[=true|false] do not contact the API server
--skip-ports[=true|false] do not test whether listener ports can be bound
--vip-run-dir kudurru vip run run directory shared with kudurru vip run
(legacy-mode marker) (default "/run/kudurru")
kudurru edge
dnsdist supervisor: render the configuration or run dnsdist (PID 1 of the kudurru-dnsdist image).
kudurru edge block
Drop a client address or prefix at every dnsdist edge for a while (1m to 7d, default 10m).
kudurru edge block <address|prefix> [duration] [flags]
Examples:
kudurru edge block 192.0.2.7 10m --reason 'query flood'
kudurru edge block 2001:db8:1::/48 --until 2026-11-10T18:00:00Z
Flags:
--reason string note kept in the block list and the audit trail (never sent to edges)
--until string block until this RFC 3339 time instead of for a duration
kudurru edge blocks
List the active operator edge blocks.
kudurru edge blocks
kudurru edge render
Print the dnsdist configuration the supervisor would run (credentials are random per call).
kudurru edge render [flags]
Flags:
--acl strings client prefixes allowed to query (default: private
and loopback ranges)
--api string dnsdist webserver/API address (loopback only)
(default "127.0.0.1:8083")
--api-key-group string group (name or gid) of the --api-key-out file,
e.g. keepalived_script; default unchanged
--api-key-out string write the per-start dnsdist API key here (0640),
e.g. /run/kudurru/dnsdist-api.key
--authoritative-cache[=true|false] cache the authoritative pool briefly and flush it
on zone serial changes
--authoritative-cache-ttl int max TTL (s) of the authoritative cache (default 30)
--authoritative-zones strings zones routed to the authoritative pool, in
addition to those polled from /internal/zones
--backend-port int kudurru DNS port for entries without a port and
EndpointSlices without the named port (default 5353)
--backend-port-name string EndpointSlice port name carrying DNS (default "dns")
--backends string static backends: comma-separated
[name=]host[:port] (port default --backend-port);
EVERY edge lists ALL kudurru nodes
--backends-from string membership source: static (from --backends) or
endpointslice:<namespace>/<service> (default "static")
--cache-size int resolver pool packet cache entries (default 200000)
--client-id-domain string DNS suffix of DoT/DoQ client IDs (phone.<suffix>
selects phone), sent to kudurru in PROXYv2 TLV
0xE1; needs --proxy-protocol-secret-file
--client-ids[=true|false] accept DoH/DoH3 client IDs as one path component
(/dns-query/phone), sent to kudurru in PROXYv2 TLV
0xE1; needs --proxy-protocol-secret-file
--console string dnsdist console address (loopback only) (default
"127.0.0.1:5199")
--dnstap-identity string dnstap identity of the edge's messages; default
the server id. List it in unforwardedIdentities of
the kudurru listener
--dnstap-target string send dnstap of the answers dnsdist gives itself
(packet cache, own rules) to a kudurru
listeners.dnstap entry: tcp:ip:port or unix:/path
--doh string enable the DoH frontend on host:port (the host
must be a --listen address; the chart's form);
with any of --dot/--doh/--doq/--doh3 the frontends
are do53 plus those given
--doh3 string enable the DoH3 frontend on host:port (the host
must be a --listen address; the chart's form);
with any of --dot/--doh/--doq/--doh3 the frontends
are do53 plus those given
--doq string enable the DoQ frontend on host:port (the host
must be a --listen address; the chart's form);
with any of --dot/--doh/--doq/--doh3 the frontends
are do53 plus those given
--dot string enable the DoT frontend on host:port (the host
must be a --listen address; the chart's form);
with any of --dot/--doh/--doq/--doh3 the frontends
are do53 plus those given
--dynblocks[=true|false] enable dnsdist dynamic blocking
--dynblocks-nxdomain-rate int per-client NXDOMAIN rate that triggers a dynamic
block; 0 disables (default 20)
--dynblocks-qps int per-client query rate (qps over 10 s) that
triggers a dynamic block (default 50)
--ebpf[=true|false] push dynamic-block drops into an eBPF socket
filter (needs CAP_SYS_ADMIN)
--internal-port int kudurru internal listener port (zone serial
polling and operator edge blocks); 0 disables
(default 8082)
--listen strings addresses every frontend binds (default [0.0.0.0])
--managed-cache-bypass[=true|false] retain both packet-cache bypasses in config-dir
across restarts; required before managed
root-anchor backends activate
--out string write the rendered files into this directory
instead of stdout
--pool-authoritative string load-balancing policy of the authoritative pool
(default "leastOutstanding")
--pool-resolver string load-balancing policy of the resolver pool
(default "chashed")
--protocols strings frontends (do53,dot,doh,doq,doh3); default do53
plus all TLS ones when --tls-dir is set
--proxy-protocol-secret-file string PROXYv2 TLV 0xE0 shared secret (printable, >= 32
bytes: openssl rand -hex 32); required unless
every backend is loopback
--renderer string configuration format: yaml (dnsdist.yml +
functions-only dnsdist.lua) or lua (dnsdist.conf)
(default "yaml")
--server-id string dnsdist general.server_id; default the host name
--threads int Do53 listener threads (default 2)
--tls-dir string directory with tls.crt+tls.key (or
fullchain.pem+privkey.pem): enables
DoT/DoH/DoQ/DoH3, watched for rotation
--transfer-sources strings addresses/prefixes allowed to send
AXFR/IXFR/NOTIFY/UPDATE through the edge
kudurru edge run
Render, check, exec and supervise dnsdist (dev-docs/design-record.md §3.6).
kudurru edge run [flags]
Flags:
--acl strings client prefixes allowed to query (default:
private and loopback ranges)
--api string dnsdist webserver/API address (loopback only)
(default "127.0.0.1:8083")
--api-key-group string group (name or gid) of the --api-key-out file,
e.g. keepalived_script; default unchanged
--api-key-out string write the per-start dnsdist API key here (0640),
e.g. /run/kudurru/dnsdist-api.key
--authoritative-cache[=true|false] cache the authoritative pool briefly and flush it
on zone serial changes
--authoritative-cache-ttl int max TTL (s) of the authoritative cache (default 30)
--authoritative-zones strings zones routed to the authoritative pool, in
addition to those polled from /internal/zones
--backend-port int kudurru DNS port for entries without a port and
EndpointSlices without the named port (default 5353)
--backend-port-name string EndpointSlice port name carrying DNS (default "dns")
--backends string static backends: comma-separated
[name=]host[:port] (port default --backend-port);
EVERY edge lists ALL kudurru nodes
--backends-from string membership source: static (from --backends) or
endpointslice:<namespace>/<service> (default "static")
--cache-size int resolver pool packet cache entries (default 200000)
--client-id-domain string DNS suffix of DoT/DoQ client IDs (phone.<suffix>
selects phone), sent to kudurru in PROXYv2 TLV
0xE1; needs --proxy-protocol-secret-file
--client-ids[=true|false] accept DoH/DoH3 client IDs as one path component
(/dns-query/phone), sent to kudurru in PROXYv2
TLV 0xE1; needs --proxy-protocol-secret-file
--config-dir string directory for the rendered configuration (default
"/etc/dnsdist")
--console string dnsdist console address (loopback only) (default
"127.0.0.1:5199")
--debounce duration delay before re-rendering after membership or
certificate changes (default 5s)
--dnsdist-bin string dnsdist executable (default "dnsdist")
--dnsdist-user string uid[:gid] dnsdist switches to after binding its
sockets and creating the eBPF maps (dnsdist
--uid/--gid), for a supervisor started as root;
dnsdist keeps only capabilities_to_retain
--dnstap-identity string dnstap identity of the edge's messages; default
the server id. List it in unforwardedIdentities
of the kudurru listener
--dnstap-target string send dnstap of the answers dnsdist gives itself
(packet cache, own rules) to a kudurru
listeners.dnstap entry: tcp:ip:port or unix:/path
--doh string enable the DoH frontend on host:port (the host
must be a --listen address; the chart's form);
with any of --dot/--doh/--doq/--doh3 the
frontends are do53 plus those given
--doh3 string enable the DoH3 frontend on host:port (the host
must be a --listen address; the chart's form);
with any of --dot/--doh/--doq/--doh3 the
frontends are do53 plus those given
--doq string enable the DoQ frontend on host:port (the host
must be a --listen address; the chart's form);
with any of --dot/--doh/--doq/--doh3 the
frontends are do53 plus those given
--dot string enable the DoT frontend on host:port (the host
must be a --listen address; the chart's form);
with any of --dot/--doh/--doq/--doh3 the
frontends are do53 plus those given
--drain duration readiness 503 period before a restart (default 1s)
--dynblocks[=true|false] enable dnsdist dynamic blocking
--dynblocks-nxdomain-rate int per-client NXDOMAIN rate that triggers a dynamic
block; 0 disables (default 20)
--dynblocks-qps int per-client query rate (qps over 10 s) that
triggers a dynamic block (default 50)
--ebpf[=true|false] push dynamic-block drops into an eBPF socket
filter (needs CAP_SYS_ADMIN)
--health-address string supervisor listener: /healthz/ready,
/healthz/live, /status, /metrics (default ":8084")
--internal-ca-file string CA of the kudurru internal listener (default
derived from KUDURRU_ENCRYPTION_KEY)
--internal-port int kudurru internal listener port (zone serial
polling and operator edge blocks); 0 disables
(default 8082)
--internal-server-name string TLS server name of the internal listener (default
internal.kudurru.invalid)
--internal-token-file string bearer token of the kudurru internal listener
(default derived from KUDURRU_ENCRYPTION_KEY)
--listen strings addresses every frontend binds (default [0.0.0.0])
--log-format string json or text (default "json")
--log-level string debug, info, warn or error (default "info")
--managed-cache-bypass[=true|false] retain both packet-cache bypasses in config-dir
across restarts; required before managed
root-anchor backends activate
--managed-observation-address string optional authenticated TLS listener for installed
managed-cache observations (host:port); requires
retained bypass and internal credentials
--poll-zones[=true|false] poll backends' /internal/zones (needs
KUDURRU_ENCRYPTION_KEY[_FILE] or
--internal-token-file) (default true)
--pool-authoritative string load-balancing policy of the authoritative pool
(default "leastOutstanding")
--pool-resolver string load-balancing policy of the resolver pool
(default "chashed")
--protocols strings frontends (do53,dot,doh,doq,doh3); default do53
plus all TLS ones when --tls-dir is set
--proxy-protocol-secret-file string PROXYv2 TLV 0xE0 shared secret (printable, >= 32
bytes: openssl rand -hex 32); required unless
every backend is loopback
--readiness-address string alias of --health-address (the chart's form)
(default ":8084")
--renderer string configuration format: yaml (dnsdist.yml +
functions-only dnsdist.lua) or lua (dnsdist.conf)
(default "yaml")
--server-id string dnsdist general.server_id; default the host name
--stop-timeout duration dnsdist SIGTERM grace period before SIGKILL
(default 10s)
--threads int Do53 listener threads (default 2)
--tls-dir string directory with tls.crt+tls.key (or
fullchain.pem+privkey.pem): enables
DoT/DoH/DoQ/DoH3, watched for rotation
--transfer-sources strings addresses/prefixes allowed to send
AXFR/IXFR/NOTIFY/UPDATE through the edge
--zone-poll duration interval of the /internal/zones serial poll
(default 5s)
kudurru edge unblock
Revoke an operator edge block before it expires.
kudurru edge unblock <id>
kudurru export
Print objects as re-appliable YAML (all kinds by default).
kudurru export [kind...] [flags]
Flags:
--exclude-managed[=true|false] skip objects owned by files or integrations
--safe[=true|false] redact credentials embedded in URLs
kudurru externaldns-webhook
Run beside external-dns and relay its four webhook operations to an existing Kudurru webhook. The upstream server retains licensing, namespace, zone selection, ownership and write admission. Only literal loopback listeners are accepted. Upstream TLS and token files are captured at startup; restart after rotation. No redirect or failed operation is automatically replayed.
kudurru externaldns-webhook [flags]
Flags:
--listen string pod-local literal loopback listener (default "127.0.0.1:8888")
--upstream string fixed existing webhook HTTPS URL, including any
configured prefix
--upstream-ca-file string optional PEM CA bundle for upstream HTTPS, added to
system trust
--upstream-token-file string regular file holding the upstream webhook bearer token
(required for remote servers)
kudurru get
List or show objects. Kinds and their aliases:
dnszones zone, zones, dnszone (cluster-scoped)
dnsrecordsets rrset, rrsets, dnsrecordset
blocklists list, lists, blocklist, bl
clientgroups cg, clientgroup
policies pol, policy
kudurru get <kind> [name...] [flags]
Examples:
kudurru get zones
kudurru get rrset -A -o wide
kudurru get blocklist ads -n default -o yaml
kudurru get pol -l team=platform
Flags:
-A, --all-namespaces[=true|false] list across all namespaces
-l, --selector string label selector, e.g. app=web,tier!=db
kudurru health
Probe a running instance (Docker HEALTHCHECK; --vrrp is the keepalived check).
kudurru health [flags]
Flags:
--dns string VIP address:port to probe over udp and tcp
(loopback is probed while this node does not
hold the VIP)
--dnsdist-api string local dnsdist API; empty skips the backend
check (default "http://127.0.0.1:8083")
--dnsdist-api-key-file kudurru edge run dnsdist API key published by kudurru edge run
(default "/run/kudurru/dnsdist-api.key")
--ops-address string ops listener to probe (default "127.0.0.1:8081")
--qname string name queried for TXT (default
"health.kudurru.internal.")
--ready[=true|false] probe readiness instead of liveness
--require-backends int minimum number of dnsdist backends up (default 1)
--timeout duration request timeout (with --vrrp: the probe
budget, 900ms unless set) (default 3s)
--vrrp[=true|false] run the keepalived VRRP probe (see kudurru vip
probe)
kudurru iam
Manage identity configuration and upgrades.
kudurru iam external-users
Inspect persisted external identities and revoke their Kudurru credentials. Requires the complete SQLite runtime and users.read or users.write permission. Read the exact name, UID and revision before choosing a mutation. A conflict requires a fresh review; commands never refresh or replay a mutation for you. Log out everywhere is local to Kudurru and does not end identity-provider sessions.
kudurru iam external-users disable
Disable an account and revoke its local credentials.
kudurru iam external-users disable NAME [flags]
Flags:
--revision string required: revision from the reviewed account
--uid string required: exact independent account UID
kudurru iam external-users enable
Enable an account without restoring revoked credentials.
kudurru iam external-users enable NAME [flags]
Flags:
--revision string required: revision from the reviewed account
--uid string required: exact independent account UID
kudurru iam external-users get
Read an account and its current UID/revision.
kudurru iam external-users get NAME
kudurru iam external-users list
Read one bounded account page.
kudurru iam external-users list [flags]
Flags:
--continue string exact continuation from the previous page
--limit int maximum accounts on this page (1–100) (default 50)
kudurru iam external-users logout
Revoke all local sessions and personal tokens.
kudurru iam external-users logout NAME [flags]
Flags:
--revision string required: revision from the reviewed account
--uid string required: exact independent account UID
kudurru iam identityproviders
Review and manage IdentityProvider objects through the complete SQLite API. Create requires an absent target whose id the node configuration does not define. Replace and delete require the exact UID and resourceVersion from a separately reviewed get. spec.clientSecretRef names a credential reference (a Secret key, an allowlisted file or environment variable); a secret value is never accepted. Changing or deleting a provider ends every session and token that came from it. On the Kubernetes driver the commands answer 503 iam_management_unavailable: change the objects with kubectl.
Aliases: idp.
kudurru iam identityproviders create
Create one absent IdentityProvider.
kudurru iam identityproviders create [flags]
Flags:
-f, --file string required: one desired IdentityProvider YAML/JSON file or - for stdin
kudurru iam identityproviders delete
Delete one reviewed API-owned IdentityProvider.
kudurru iam identityproviders delete NAME [flags]
Flags:
--resource-version string required: exact reviewed target resourceVersion
--uid string required: exact reviewed target UID
kudurru iam identityproviders get
Read an exact IdentityProvider object for review.
kudurru iam identityproviders get NAME
kudurru iam identityproviders list
List configured providers, including configuration-file entries.
kudurru iam identityproviders list
kudurru iam identityproviders replace
Replace one reviewed API-owned IdentityProvider.
kudurru iam identityproviders replace NAME [flags]
Flags:
-f, --file string required: one desired IdentityProvider YAML/JSON file or -
for stdin
--resource-version string required: exact reviewed target resourceVersion
--uid string required: exact reviewed target UID
kudurru iam migrate
Inspect or perform the offline Kubernetes IAM upgrade. Stop every old and new kudurru process, IAM writer and previous migrator before begin or resume. Install the new CRDs and back up the release namespace first. The commands use Kubernetes credentials directly; they do not connect to the kudurru API.
Original Secrets and private migration archives remain rollback artifacts. Output contains only state, object identifiers and counts, never credentials. An uncertain Create requires explicit operator recovery; resume never adopts a public object merely because its annotations or contents match.
Flags:
--kube-context string Kubernetes context (default current kubeconfig context)
--kubeconfig string Kubernetes client configuration (default standard
kubeconfig or in-cluster identity)
--release-namespace string required: namespace containing the original private IAM Secrets
--timeout duration whole operation deadline (maximum 30m) (default 5m0s)
kudurru iam migrate begin
Capture, archive and migrate while all IAM processes are stopped.
kudurru iam migrate begin [flags]
Flags:
--offline[=true|false] acknowledge that all IAM readers/writers and previous migrators
are stopped
kudurru iam migrate plan
Validate the complete migration without writing.
kudurru iam migrate plan
kudurru iam migrate resume
Resume an interrupted migration at an exact journal version.
kudurru iam migrate resume [flags]
Flags:
--offline[=true|false] acknowledge that all IAM readers/writers and previous
migrators are stopped
--resource-version string exact journal resource version returned by status (never
inferred)
kudurru iam migrate status
Read the admission state and journal resource version.
kudurru iam migrate status
kudurru iam rolebindings
Review and manage public RoleBindings through the complete SQLite API. Create requires an absent target. Replace and delete require the exact UID and resourceVersion from a separately reviewed get. No command refreshes or retries a refused mutation. Config/file-owned bindings cannot be adopted. Desired manifests contain apiVersion, kind, metadata (name, namespace, labels, annotations), and spec; server identity and lifecycle fields are not accepted.
kudurru iam rolebindings create
Create one absent RoleBinding.
kudurru iam rolebindings create [flags]
Flags:
-f, --file string required: one desired RoleBinding YAML/JSON file or - for stdin
kudurru iam rolebindings delete
Delete one explicitly reviewed API-owned RoleBinding.
kudurru iam rolebindings delete NAMESPACE NAME [flags]
Flags:
--resource-version string required: exact reviewed target resourceVersion
--uid string required: exact reviewed target UID
kudurru iam rolebindings get
Read an exact binding for operator review.
kudurru iam rolebindings get NAMESPACE NAME
kudurru iam rolebindings list
List bindings, including config sources.
kudurru iam rolebindings list
kudurru iam rolebindings replace
Replace one explicitly reviewed API-owned RoleBinding.
kudurru iam rolebindings replace NAMESPACE NAME [flags]
Flags:
-f, --file string required: one desired RoleBinding YAML/JSON file or - for stdin
--resource-version string required: exact reviewed target resourceVersion
--uid string required: exact reviewed target UID
kudurru iam serviceaccounts
Review and manage kudurru ServiceAccounts through the complete SQLite API. Create requires an absent target. Replace and delete require the exact UID and resourceVersion from a separately reviewed get. Desired manifests contain apiVersion, kind, metadata (name, namespace, labels, annotations) and spec.description/spec.disabled. Disabling or deleting an account ends its tokens in the same commit. create-token prints the new token once; it cannot be shown again. On the Kubernetes driver the commands answer 503 iam_management_unavailable: change the objects with kubectl.
Aliases: sa.
kudurru iam serviceaccounts create
Create one absent ServiceAccount.
kudurru iam serviceaccounts create [flags]
Flags:
-f, --file string required: one desired ServiceAccount YAML/JSON file or - for stdin
kudurru iam serviceaccounts create-token
Issue an API token for an exact service account and print it once.
kudurru iam serviceaccounts create-token NAMESPACE NAME [flags]
Flags:
--description string free text shown in the token list
--expires-in string Go duration (720h); default auth.tokens.maxLifetime, or never
--scope stringArray narrow the token to a grant (viewer, zone-admin@zone:NAME);
repeat for more
--uid string required: exact UID of the reviewed service account
kudurru iam serviceaccounts delete
Delete one reviewed API-owned ServiceAccount and its tokens.
kudurru iam serviceaccounts delete NAMESPACE NAME [flags]
Flags:
--resource-version string required: exact reviewed target resourceVersion
--uid string required: exact reviewed target UID
kudurru iam serviceaccounts get
Read an exact service account for review.
kudurru iam serviceaccounts get NAMESPACE NAME
kudurru iam serviceaccounts list
List service accounts.
kudurru iam serviceaccounts list
kudurru iam serviceaccounts replace
Replace one reviewed API-owned ServiceAccount.
kudurru iam serviceaccounts replace NAMESPACE NAME [flags]
Flags:
-f, --file string required: one desired ServiceAccount YAML/JSON file or - for
stdin
--resource-version string required: exact reviewed target resourceVersion
--uid string required: exact reviewed target UID
kudurru iam users
Review and manage local accounts through the complete SQLite API. Create makes an ordinary account that must change its password at the first login. Reset, update and delete require the exact UID and resourceVersion from "kudurru iam users list". The built-in administrator and accounts of other managers (configuration, bootstrap) cannot be changed here; use "kudurru admin reset-password" on the node for them. On the Kubernetes driver these commands answer 503 user_management_unavailable.
kudurru iam users create
Create one absent local account.
kudurru iam users create NAME [flags]
Flags:
--display-name string display name of the account
--password-stdin[=true|false] read the initial password from stdin instead of a
terminal prompt
kudurru iam users delete
Delete an exact account and its sessions and tokens.
kudurru iam users delete NAME [flags]
Flags:
--resource-version string required: exact reviewed target resourceVersion
--uid string required: exact reviewed target UID
kudurru iam users list
List local accounts with their UID and resourceVersion.
kudurru iam users list
kudurru iam users reset-password
Reset an exact account's password and end its sessions and tokens.
kudurru iam users reset-password NAME [flags]
Flags:
--password-stdin[=true|false] read the new password from stdin instead of a terminal prompt
--resource-version string required: exact reviewed target resourceVersion
--uid string required: exact reviewed target UID
kudurru iam users update
Change only the fields whose flags are given. --group replaces the complete list of local groups (repeat it, or pass --group= to remove every group). Changing groups or disabling the account ends its sessions and deletes its API tokens in the same commit; enabling it again restores none of them.
kudurru iam users update NAME [flags]
Flags:
--disabled[=true|false] --disabled disables the account, --disabled=false enables it
--display-name string new display name (empty clears it)
--group stringArray a local group; repeat for each group, --group= for none
--resource-version string required: exact reviewed target resourceVersion
--uid string required: exact reviewed target UID
kudurru import
Import data from other DNS servers.
kudurru import adguard
Convert a single YAML file (at most 4 MiB) without reading referenced files or fetching network sources. Use --file - for stdin. The default prints a partial conversion and a bounded loss report without contacting kudurru. Review unsupported semantics before --apply, which starts the existing tracked migration with normal validation, ownership and license checks. --wait requires --apply and returns the final result; without it, success means only that the job was accepted. Select objects and settings explicitly to limit application. Destination-derived targets (--use-vips or --update-nameservers) explicitly opt into destination access. No source credentials or file paths enter the plan or migration journal.
kudurru import adguard --file PATH [flags]
Flags:
--apply[=true|false] start a tracked background migration of the reviewed
conversion
--dry-run[=true|false] preview only (the default)
-f, --file string source YAML file; - reads stdin (maximum 4 MiB)
--local-zone strings explicit local suffixes to make authoritative for
exact IP/CNAME rewrites
--nameserver strings replace imported authority with these DNS names
--nameserver-address strings generate authority from these serving IPs or VIPs
--select-object strings import only these Kind/[namespace/]name objects
(repeatable)
--select-setting strings import only these top-level settings sections
(repeatable)
--skip-settings[=true|false] leave settings unchanged
--update-nameservers[=true|false] derive authority from the destination context
hostname or IP
--use-vips[=true|false] use discovered destination VIPs (explicit
destination API access)
--wait[=true|false] wait for final migration results (requires --apply)
kudurru import bind
Import a BIND zone file into a zone's record sets.
kudurru import bind <zone> -f file.zone [flags]
Flags:
-f, --filename string zone file in BIND presentation format, or - for stdin
--origin string zone apex, to create the DNSZone when it does not exist yet
kudurru import blocky
Convert a single YAML file (at most 4 MiB) without reading referenced files or fetching network sources. Use --file - for stdin. The default prints a partial conversion and a bounded loss report without contacting kudurru. Review unsupported semantics before --apply, which starts the existing tracked migration with normal validation, ownership and license checks. --wait requires --apply and returns the final result; without it, success means only that the job was accepted. Select objects and settings explicitly to limit application. Destination-derived targets (--use-vips or --update-nameservers) explicitly opt into destination access. No source credentials or file paths enter the plan or migration journal.
kudurru import blocky --file PATH [flags]
Flags:
--apply[=true|false] start a tracked background migration of the reviewed
conversion
--dry-run[=true|false] preview only (the default)
-f, --file string source YAML file; - reads stdin (maximum 4 MiB)
--nameserver strings replace imported authority with these DNS names
--nameserver-address strings generate authority from these serving IPs or VIPs
--select-object strings import only these Kind/[namespace/]name objects
(repeatable)
--select-setting strings import only these top-level settings sections
(repeatable)
--skip-settings[=true|false] leave settings unchanged
--update-nameservers[=true|false] derive authority from the destination context
hostname or IP
--use-vips[=true|false] use discovered destination VIPs (explicit
destination API access)
--wait[=true|false] wait for final migration results (requires --apply)
kudurru import coredns
Convert a single Corefile in CoreDNS 1.12 Corefile syntax (at most 4 MiB) without reading referenced files or fetching network sources. Use --file - for stdin. The default prints a partial conversion and a bounded loss report without contacting kudurru. Review unsupported semantics before --apply, which starts the existing tracked migration with normal validation, ownership and license checks. --wait requires --apply and returns the final result; without it, success means only that the job was accepted. Select objects and settings explicitly to limit application. Destination-derived targets (--use-vips or --update-nameservers) explicitly opt into destination access. No source credentials or file paths enter the plan or migration journal. Snippets defined in the Corefile are expanded; imported files, zone files and hosts files are never read.
kudurru import coredns --file PATH [flags]
Flags:
--apply[=true|false] start a tracked background migration of the reviewed
conversion
--dry-run[=true|false] preview only (the default)
-f, --file string source Corefile; - reads stdin (maximum 4 MiB)
--nameserver strings replace imported authority with these DNS names
--nameserver-address strings generate authority from these serving IPs or VIPs
--select-object strings import only these Kind/[namespace/]name objects
(repeatable)
--select-setting strings import only these top-level settings sections
(repeatable)
--skip-settings[=true|false] leave settings unchanged
--update-nameservers[=true|false] derive authority from the destination context
hostname or IP
--use-vips[=true|false] use discovered destination VIPs (explicit
destination API access)
--wait[=true|false] wait for final migration results (requires --apply)
kudurru import decommission
Replace apex NS and SOA primary names in zones tracked by this migration, creating A/AAAA records when serving IPs or VIPs are selected. Preview using the destination hostname or IP by default, explicit --nameserver or --nameserver-address values, or --use-vips. Save the JSON output, then apply that reviewed file with --apply --plan-file. The source server is not shut down; update parent delegations and glue separately.
kudurru import decommission <run-id> [flags]
Flags:
--apply[=true|false] apply a saved and reviewed cutover preview
--nameserver strings kudurru authoritative DNS names (repeatable; first
becomes SOA primary)
--nameserver-address strings kudurru serving IPs or VIPs; generate in-zone NS names
and A/AAAA records (repeatable)
--plan-file string JSON preview to apply (produce with -o json)
--use-vips[=true|false] use discovered kudurru VIPs for nameservers and address
records
kudurru import pihole
Connect to the source API using its v6 application password. By default, print a preview containing converted objects, settings and warnings without changing either server. Add --apply to start a tracked background import on the selected kudurru server using its normal validation, ownership and license checks. Without --wait, exit status 0 means the server accepted the job, not that every item imported successfully. Scripts that need the final success/failure exit status must use --apply --wait. Use import runs RUN_ID to inspect the report later. All items are selected by default; --select-object and --select-setting select only the named items. Inspect every result: writes are not transactional. Source credentials are never stored by kudurru.
kudurru import pihole --source-url URL [flags]
Examples:
kudurru import pihole --source-url http://dns.local --source-key-file ./source-key
kudurru import pihole --source-url http://dns.local --source-key-file ./source-key --apply
Flags:
--apply[=true|false] start a tracked background import of
the converted configuration
--dry-run[=true|false] preview only (the default)
--local-zone strings local DNS suffixes to make
authoritative (default: Pi-hole's local
domain)
--nameserver strings kudurru authoritative DNS names;
replace imported NS and SOA primary
(repeatable; first is primary)
--nameserver-address strings kudurru serving IPs or VIPs; generate
in-zone NS names and A/AAAA records
(repeatable)
--select-object strings import only these Kind/[namespace/]name
objects (repeatable; combine with
--select-setting)
--select-setting strings import only these top-level settings
sections (repeatable; combine with
--select-object)
--skip-settings[=true|false] leave settings unchanged
--source-insecure-skip-tls-verify[=true|false] skip source TLS verification for a lab
with a self-signed certificate
--source-key-file string file containing the source v6
application password (otherwise
$PIHOLE_APP_PASSWORD)
--source-url string source console URL (including any
reverse-proxy prefix)
--update-nameservers[=true|false] use the destination context hostname or
IP for imported authority
--use-vips[=true|false] use discovered kudurru VIPs for
nameservers and address records
--wait[=true|false] wait for the background import and
report its final results (requires --apply)
kudurru import runs
List migration runs or inspect a run and its cutovers.
kudurru import runs [id]
kudurru import technitium
Connect to the source API using its API token. By default, print a preview containing converted objects, settings and warnings without changing either server. Add --apply to start a tracked background import on the selected kudurru server using its normal validation, ownership and license checks. Without --wait, exit status 0 means the server accepted the job, not that every item imported successfully. Scripts that need the final success/failure exit status must use --apply --wait. Use import runs RUN_ID to inspect the report later. All items are selected by default; --select-object and --select-setting select only the named items. Inspect every result: writes are not transactional. Source credentials are never stored by kudurru.
kudurru import technitium --source-url URL [flags]
Examples:
kudurru import technitium --source-url http://dns.local --source-key-file ./source-key
kudurru import technitium --source-url http://dns.local --source-key-file ./source-key --apply
Flags:
--apply[=true|false] start a tracked background import of
the converted configuration
--dry-run[=true|false] preview only (the default)
--nameserver strings kudurru authoritative DNS names;
replace imported NS and SOA primary
(repeatable; first is primary)
--nameserver-address strings kudurru serving IPs or VIPs; generate
in-zone NS names and A/AAAA records
(repeatable)
--select-object strings import only these Kind/[namespace/]name
objects (repeatable; combine with
--select-setting)
--select-setting strings import only these top-level settings
sections (repeatable; combine with
--select-object)
--skip-settings[=true|false] leave settings unchanged
--source-insecure-skip-tls-verify[=true|false] skip source TLS verification for a lab
with a self-signed certificate
--source-key-file string file containing the source API token
(otherwise $TECHNITIUM_API_TOKEN)
--source-url string source console URL (including any
reverse-proxy prefix)
--update-nameservers[=true|false] use the destination context hostname or
IP for imported authority
--use-vips[=true|false] use discovered kudurru VIPs for
nameservers and address records
--wait[=true|false] wait for the background import and
report its final results (requires --apply)
kudurru import track-existing
Review or track previous API imports without reimporting records.
kudurru import track-existing [flags]
Flags:
--apply[=true|false] track the reviewed previous imports
--plan-file string JSON candidate list to track (produce with -o json; remove
unwanted items before applying)
kudurru integrations
Review and run captured integration operations.
kudurru integrations act
Invoke one advertised action without retry.
kudurru integrations act NAME ACTION [flags]
Flags:
--params string Bounded JSON action parameters (default "{}")
--revision string Exact reviewed resource version
--uid string Exact reviewed integration UID
kudurru integrations actions
List actions advertised by the reviewed provider.
kudurru integrations actions NAME [flags]
Flags:
--revision string Exact reviewed resource version
--uid string Exact reviewed integration UID
kudurru integrations check
Check the reviewed provider connection.
kudurru integrations check NAME [flags]
Flags:
--revision string Exact reviewed resource version
--uid string Exact reviewed integration UID
kudurru integrations get
Read integration identity and status for review.
kudurru integrations get NAME
kudurru integrations list
List bounded integration status in one namespace.
kudurru integrations list
kudurru integrations manifests
List provider types and what this node's integration host refuses.
kudurru integrations manifests
kudurru integrations preview
Preview complete changes without applying them.
kudurru integrations preview NAME [flags]
Flags:
--revision string Exact reviewed resource version
--uid string Exact reviewed integration UID
kudurru integrations release
Release a reviewed terminating integration without cleanup.
kudurru integrations release NAME [flags]
Flags:
--revision string Exact reviewed resource version
--uid string Exact reviewed integration UID
kudurru integrations sync
Run one reviewed publication or observation.
kudurru integrations sync NAME [flags]
Flags:
--mode string Explicit observe or publish mode
--preview-digest string Exact aggregate digest from preview
--revision string Exact reviewed resource version
--uid string Exact reviewed integration UID
kudurru integrations webhook
Test an explicit external webhook protocol target.
kudurru integrations webhook conformance
Probe an explicit webhook URL and print a sanitized JSON report. Read probes run by default; untested mutations are reported skipped. Mutating probes require --allow-mutations and explicit input files. Use a disposable target: acknowledged or uncertain effects are never retried or cleaned up automatically. This command does not activate an integration or prove persistence.
kudurru integrations webhook conformance URL [flags]
Flags:
--action string Exact advertised action to invoke once
--allow-mutations[=true|false] Permit only explicitly supplied mutation probes
--bearer-file string Explicit target bearer token file (not the CLI API token)
--ca-file string Explicit PEM trust roots for this target
--changes-file string Exact external-dns Changes JSON to apply once
--client-cert string Explicit PEM client certificate for mTLS
--client-key string Explicit PEM client private key for mTLS
--endpoints-file string Endpoint array for normalization (default empty array)
--event-file string Exact event JSON to deliver once
--expect-endpoints-file string Read-back expectation
{"contain":[endpoints],"absent":[endpoints]} checked
against the record list after any apply
--hmac-file string Raw event HMAC-SHA256 key, 32 to 4096 bytes
--params-file string Exact JSON object of action parameters
--request-timeout duration Per-request deadline within the original run deadline
(default 10s)
--run-timeout duration Whole run deadline, at most 5m (default 1m0s)
kudurru inventory
List the client inventory: devices reported by inventory sources (UniFi, webhook integrations) and the bound DHCP leases of the answering node, whether or not they have sent a DNS query. Each address shows its state: assigned (identifies queries), expired, ambiguous (a colliding claim), superseded (a newer claim, or an inventory MAC that wins over a lease) or withdrawn. Requires inventory.read.
kudurru inventory [flags]
Examples:
kudurru inventory
kudurru inventory --kind dhcp --stale false
kudurru inventory --search 02:00:5e -o json
Flags:
--kind string inventory or dhcp
--limit int stop after this many devices (0: all)
--search string case-insensitive substring of the ID, name, hostname, a MAC or an address
--source string only devices of this exact source (integration-<digest> or dhcp/<scope>)
--stale string true: only stale devices; false: only live ones
kudurru lameduck
Put the local kudurru into lameduck through the ops listener (POST /lameduck, loopback only) and wait for the duration, if one is given, so the edge's health checks (dnsdist must-resolve on health.kudurru.internal., every second) and the Kubernetes endpoints take the node out before it stops. Queries that still arrive are answered. --cancel leaves lameduck.
In Kubernetes use it as the preStop hook: lifecycle: { preStop: { exec: { command: ["kudurru", "lameduck", "5s"] } } }
kudurru lameduck [duration] [flags]
Examples:
kudurru lameduck 5s
kudurru lameduck --cancel
Flags:
--cancel[=true|false] leave lameduck
--ops-address string ops listener of the local node (loopback) (default "127.0.0.1:8081")
--timeout duration request timeout (default 3s)
kudurru license
kudurru is source-available under the Kudurru Community License (LICENSE). Running it for eligible personal or nonprofit use is free; business and government production needs an agreement. Enterprise materials have their own notice; commercial features depend on the Order Form. A key unlocks more than one node, more than one policy and the features under ee/ (OIDC single sign-on, the dnsdist and keepalived edge, the integrations). A free personal key covers 3 nodes. See https://kudurru.io/license.
The key is read from --license-key, KUDURRU_LICENSE_KEY, the file KUDURRU_LICENSE_KEY_FILE names, or <node.dataDir>/license.key, in that order. Licensing never affects DNS answering: without a key the node serves DNS as usual and only the node limit, the policy limit and the licensed features apply.
kudurru license status
Show the license this node would run with.
kudurru license status [flags]
Flags:
--json[=true|false] print as JSON
--license-key string check this key instead of the configured sources
kudurru license verify
Verify a key and print what it grants (- reads the key from stdin).
kudurru license verify KEY|-
kudurru lists
Inspect and refresh block and allow lists.
kudurru lists allow
Add domains to the "ui-allow" list.
kudurru lists allow <domain...> [flags]
Flags:
--list string target list (default ui-allow)
--regex[=true|false] entries are regular expressions
kudurru lists deny
Add domains to the "ui-deny" list.
kudurru lists deny <domain...> [flags]
Flags:
--list string target list (default ui-deny)
--regex[=true|false] entries are regular expressions
kudurru lists list
List block and allow lists with entry counts and fetch state.
kudurru lists list [flags]
Aliases: ls.
Flags:
-A, --all-namespaces[=true|false] list across all namespaces
kudurru lists refresh
Fetch lists now instead of waiting for their refresh interval.
kudurru lists refresh <name...>
kudurru lists rpz
Show the RPZ feeds of the node that answers. Every node transfers its own copy, so run it against each node to compare them. With a name, only that BlockList's feeds.
STATE is pending, serving, expired or unavailable; queries whose policy selects a feed that is not serving answer SERVFAIL. IGNORED counts policy rules the compiler skipped (unsupported or malformed); -o wide lists them per reason.
kudurru lists rpz [name] [flags]
Flags:
-A, --all-namespaces[=true|false] show feeds of lists in every namespace
kudurru lists search
Show which lists contain a domain.
kudurru lists search <domain>
kudurru login
Log in to a kudurru API server and save the endpoint as a named context in ~/.config/kudurru/config.yaml.
Without local or token credentials, login uses the configured public OIDC client, a loopback callback on port 8000 or 18000 and S256 PKCE. The original OP ID token is stored as bearer; no Kudurru token or browser session is created. This mode requires verified HTTPS for the API and OP. Select --provider when necessary; --oidc-ca-file configures OP trust separately from the API --ca-file. Use --device for RFC8628 device login on a headless machine. Approve only a request you initiated, checking the provider, client and displayed user code. Device approval never creates a Kudurru session or replacement token.
With --token the API token is verified (GET /auth/me) and stored. With --username the local password is exchanged for a session (POST /auth/login), which then mints an API token for the CLI (POST /auth/tokens). Tokens go to the OS keyring; when no keyring is available (headless Linux, containers) they are kept in the config file, which is written with mode 0600. Set KUDURRU_KEYRING=file to skip the keyring.
For an enrolled authenticator, add --totp for a hidden terminal prompt, or --password-stdin --totp-stdin to read password and code as two lines. Codes must contain six ASCII digits. Login is attempted once, without redirects or automatic retries.
kudurru login --server https://dns.example [--token kdr_… | --username admin] [flags]
Examples:
kudurru login --server https://dns.example --token kdr_abc123def456_…
kudurru login --server https://dns.example --username admin
kudurru login --server https://dns.example --token-stdin < token.txt
echo "$PW" | kudurru login --server http://127.0.0.1:8080 --username admin --password-stdin --name local
Flags:
--default-namespace string default namespace stored in the context
--device[=true|false] use the public OIDC device authorization flow without a
loopback listener
--name string context name (default: the server host)
--oidc-ca-file string additional PEM roots for the OP, separate from API TLS
-p, --password string password (prefer the prompt or --password-stdin)
--password-stdin[=true|false] read the password from stdin
--provider string configured public OIDC provider (default: the only
eligible provider)
--token-expires-in string lifetime of the minted token, e.g. 720h (default: the
server's)
--token-name string name of the token minted for the CLI (default
kudurru-cli@<hostname>)
--token-stdin[=true|false] read the API token from stdin (keeps it out of the
process list)
--totp[=true|false] prompt for a six-digit authenticator code without echo
--totp-stdin[=true|false] read the authenticator code from stdin (after the
password with --password-stdin)
-u, --username string local account to log in with
kudurru logout
Forget the stored token of a context.
kudurru logout [context] [flags]
Flags:
--remove[=true|false] also delete the context
kudurru logs
Show the query log; --follow streams new queries.
kudurru logs [flags]
Aliases: log, querylog.
Examples:
kudurru logs --client 192.168.1.23 --limit 100
kudurru logs --domain '*.doubleclick.net' --status-class blocked
kudurru logs -f --status blocked_list
Flags:
--client string client IP, CIDR or name (* wildcards)
--domain string domain, exact or with * wildcards
-f, --follow[=true|false] stream new queries (SSE) after the last page
--limit int number of past queries to show (0 with --follow: only new
ones) (default 50)
--list string list name
--no-headers[=true|false] omit the header line
--qtype string query type, e.g. AAAA
--since string start: RFC 3339 or a duration back from now (1h)
--status strings statuses to keep (comma-separated), e.g. blocked_list,cached
--status-class string status class: permitted, blocked, cached, error, ...
--until string end: RFC 3339 or a duration back from now
--upstream string upstream name
--zone string zone name
kudurru nodes
List the cluster's nodes.
kudurru nodes
Aliases: node.
kudurru query
Resolve a name through the server's own pipeline (POST /api/v1/dns/query) and print the answer the way dig does, plus kudurru's verdict: status, upstream, and the list and rule when a query was blocked. --client evaluates the policy of another client address.
kudurru query <name> [type] [flags]
Examples:
kudurru query example.com
kudurru query ads.example.net AAAA --client 192.168.1.23
Flags:
--client string evaluate policy as this client IP
kudurru records
List, add and remove records in a zone.
Aliases: record, rr.
kudurru records add
Create or replace one endpoint (name, type and its targets) in a record set of the zone. The record set defaults to "api-<zone>" and is created on demand. Targets are in presentation format: an address for A/AAAA, a name for CNAME, "10 mail.example.com." for MX, a quoted string for TXT.
--view stores the endpoint in a view (D403): "public" publishes it to integration sinks and never serves it, and the name of a ClientGroup in the record set's namespace serves it only to that group's clients, in place of the default data of the same name and type. A view is part of the endpoint's identity, so adding one never replaces the default data. Without --view the endpoint is the default data every client gets.
kudurru records add <zone> <name> <type> <target...> [flags]
Examples:
kudurru records add home-example-com nas.home.example.com A 192.168.1.10 --ttl 300
kudurru records add home-example-com home.example.com MX "10 mail.home.example.com."
kudurru records add home-example-com nas.home.example.com A 10.9.0.20 --view lan -n kids
Flags:
--comment string comment stored with the record
--record-set string record set to write (default api-<zone>)
--set-identifier string external-dns set identifier
--ttl int record TTL in seconds (default: the zone's defaultTTL)
--view string view of the endpoint: "public" or a ClientGroup of the record
set's namespace (default: the default data)
kudurru records list
List a zone's records across its record sets.
kudurru records list <zone>
Aliases: ls.
kudurru records rm
Remove the endpoints of one name and type from the zone's record sets.
Without --view every view of the name and type goes (the default data, public and each client-group view). --view - removes the default data only, --view public the publish-only endpoint, and --view <group> that client-group view only. A view names a ClientGroup of its record set's namespace: with -n the removal is limited to the record sets of that namespace, so -n kids --view lan leaves default/lan alone.
kudurru records rm <zone> <name> <type> [flags]
Aliases: remove, delete.
Examples:
kudurru records rm home-example-com nas.home.example.com A
kudurru records rm home-example-com nas.home.example.com A --view -
kudurru records rm home-example-com nas.home.example.com A --view lan -n kids
Flags:
--record-set string only this record set (namespace/name or name)
--set-identifier string only the endpoint with this set identifier
--view string only this view: "-" the default data, "public", or a
ClientGroup name (default: every view)
kudurru restore
Re-apply a backup (POST /apply; per-object results).
kudurru restore -f file.yaml [flags]
Flags:
-f, --filename stringArray backup file, or - for stdin
kudurru serve
Run the kudurru node: the store (sqlite or kube), first-boot bootstrap, file-managed objects, zonecache, the query pipeline (ingress, authoritative, cache, upstream) on every configured transport, the Lease-elected controller, the ops and metrics listeners. The API and UI land in milestone M3.
kudurru serve [flags]
Flags:
--license-key string license key (or KUDURRU_LICENSE_KEY, KUDURRU_LICENSE_KEY_FILE,
<node.dataDir>/license.key); without one kudurru runs with the
community license
kudurru settings
Read and change runtime settings (cluster keys and this node's keys).
kudurru settings adopt
adopt upstream settings ownership. Read the revision with kudurru settings ownership. Before release, export with kudurru settings yaml upstreams, commit and apply those Helm values, then read the updated revision. Release refuses a handoff if the file settings differ.
kudurru settings adopt upstreams [flags]
Flags:
--revision string reviewed revision from settings ownership
kudurru settings get
Show settings (redacted) with their scope.
kudurru settings get [key...] [flags]
Flags:
--scope string only cluster or node keys
kudurru settings ownership
Show section ownership and revisions.
kudurru settings ownership
kudurru settings release
release upstream settings ownership. Read the revision with kudurru settings ownership. Before release, export with kudurru settings yaml upstreams, commit and apply those Helm values, then read the updated revision. Release refuses a handoff if the file settings differ.
kudurru settings release upstreams [flags]
Flags:
--revision string reviewed revision from settings ownership
kudurru settings set
Change settings with a JSON merge patch. Cluster-scope keys go to PATCH /api/v1/settings and apply to every node; node-scope keys go to PATCH /api/v1/node/config on the node that serves the request. hostOnly keys (listener addresses, dataDir, ...) can never be set through the API: put them in kudurru.yaml or the KUDURRU_<SECTION>__<KEY> environment variable on the host. "key-" removes the override so the default applies again.
For safe concurrent upstream edits, run kudurru settings ownership to review the revision and pass it with --revision. Omitting --revision preserves legacy behavior: your upstream edit can overwrite values changed since you reviewed them.
kudurru settings set key=value... [key-] [flags]
Examples:
kudurru settings set cache.maxEntries=200000
kudurru settings set blocking.refreshInterval=12h log.level=debug
kudurru settings set upstreams.bootstrap=9.9.9.9,1.1.1.1
kudurru settings set log.level-
Flags:
--revision string reviewed upstreams revision from settings ownership (If-Match)
kudurru settings yaml
Generate Helm values without saving (optionally from a proposed JSON section).
kudurru settings yaml upstreams [flags]
Flags:
--proposed-file string complete proposed upstreams section as JSON
kudurru stats
Query statistics (this node).
kudurru stats summary
Totals, block rate, clients and latency for a window.
kudurru stats summary [flags]
Flags:
--window string window ending now (e.g. 1h, 24h, 168h) (default "24h")
kudurru stats top
Top domains, clients, upstreams, lists or zones.
kudurru stats top [flags]
Examples:
kudurru stats top --dim domains --blocked
kudurru stats top --dim clients --top 20 --window 1h
Flags:
--blocked[=true|false] rank blocked queries only
--dim string dimension: domains, clients, upstreams, lists or zones (default
"domains")
--top int number of rows (at most 100) (default 10)
--window string window ending now (default "24h")
kudurru token
Offline helpers for kudurru API tokens.
kudurru token generate
Prints a new random token in the kdr_<id>_<secret> wire form without contacting a server. Set it as KUDURRU_BOOTSTRAP_TOKEN (or write it to the file KUDURRU_BOOTSTRAP_TOKEN_FILE names): the server then stores its hash as a token of the builtin-admin service account <namespace>/bootstrap. --out writes the token to a new file with mode 0600 instead of printing it.
kudurru token generate [--out file] [flags]
Flags:
--out string write the token to this new file (mode 0600) instead of stdout
kudurru tsigkeys
Review and manage stored TSIG keys on complete SQLite and Kubernetes nodes. Requires tsigkeys.read, tsigkeys.write or tsigkeys.delete (admin by default).
The secret is read from --secret-file (a path, or - for stdin), never from an argument. The file holds the standard base64 secret of at most 512 bytes; whitespace and line breaks are ignored. No command prints a secret: the server never returns one, so keep your own copy for the peers that share the key.
Create requires an absent stored name. Replace, reseal and revoke require the exact UID and resourceVersion from a separately reviewed list. File keys are read-only. Each command is sent once. A refused command, a missing response or an uncertain outcome is never retried or refreshed for you: run list and review the fresh metadata before any further action. Exit status 0 with "published: false" (HTTP 202) means the change committed but the node could not confirm its publication in time; it was not rolled back.
kudurru tsigkeys create
Create one absent stored TSIG key from a secret file.
kudurru tsigkeys create NAME [flags]
Flags:
--algorithm string required: hmac-sha256 or hmac-sha512
--secret-file string required: file holding the base64 secret, or - for stdin
kudurru tsigkeys list
List file and stored TSIG key metadata.
kudurru tsigkeys list
kudurru tsigkeys replace
Replace the secret of one reviewed stored TSIG key.
kudurru tsigkeys replace NAME [flags]
Flags:
--algorithm string new algorithm (default: keep the current one)
--resource-version string required: exact reviewed key resourceVersion
--secret-file string required: file holding the base64 secret, or - for stdin
--uid string required: exact reviewed key UID
kudurru tsigkeys reseal
Re-encrypt one reviewed stored TSIG key under the current encryption key.
kudurru tsigkeys reseal NAME [flags]
Flags:
--resource-version string required: exact reviewed key resourceVersion
--uid string required: exact reviewed key UID
kudurru tsigkeys revoke
Revoke one reviewed stored TSIG key.
kudurru tsigkeys revoke NAME [flags]
Flags:
--resource-version string required: exact reviewed key resourceVersion
--uid string required: exact reviewed key UID
kudurru version
Print build information.
kudurru version [flags]
Flags:
--json[=true|false] print as JSON
kudurru vip
keepalived supervisor and VIP tools (PID 1 of the kudurru-keepalived image).
kudurru vip drain
Move VIPs off this node for maintenance (track file 300); --undo writes 0.
kudurru vip drain <vip>... [flags]
Flags:
--run-dir string shared run directory (default "/run/kudurru")
--undo[=true|false] end the drain (weight 0)
kudurru vip fifo
Consume keepalived's notify FIFO (run by keepalived as vrrp_notify_fifo_script).
kudurru vip fifo [--node name] [--run-dir dir] <fifo> [flags]
Flags:
--node string node name (keepalived router_id)
--run-dir string directory of vip-state.json (default "/run/kudurru")
kudurru vip probe
Queries --qname over udp and tcp on the VIP while this node holds it (loopback otherwise) and requires --require-backends backends up in the local dnsdist. keepalived runs it every second with a 1 s timeout.
kudurru vip probe [flags]
Flags:
--dns string VIP address:port to probe over udp and tcp
(loopback is probed while this node does not
hold the VIP)
--dnsdist-api string local dnsdist API; empty skips the backend
check (default "http://127.0.0.1:8083")
--dnsdist-api-key-file kudurru edge run dnsdist API key published by kudurru edge run
(default "/run/kudurru/dnsdist-api.key")
--qname string name queried for TXT (default
"health.kudurru.internal.")
--require-backends int minimum number of dnsdist backends up (default 1)
--timeout duration overall probe timeout (keepalived's script
timeout is 1 s) (default 900ms)
kudurru vip rebalance
Hand VIPs this node holds but does not prefer back to their preferred node (writes 300, then 0).
kudurru vip rebalance [flags]
Flags:
--run-dir string shared run directory (default "/run/kudurru")
--timeout duration how long to wait for keepalived to leave MASTER (default 30s)
--vip strings move these VIPs (if held) regardless of priority
kudurru vip render
Print the keepalived.conf the supervisor would run.
kudurru vip render [flags]
Flags:
--dnsdist-api-key-file kudurru edge run dnsdist API key file written by kudurru edge
run (default "/run/kudurru/dnsdist-api.key")
--hmac-key-file string auth_hmac key file; {vrid} is replaced by the
VRID (default "/run/secrets/vrrp_hmac_{vrid}")
--kudurru-bin string kudurru path used in rendered scripts
(root-owned for enable_script_security)
(default "/usr/local/bin/kudurru")
--legacy[=true|false] keepalived 2.3.x: render without auth_hmac
(adverts unauthenticated)
--node-count int number of nodes (default: peers + 1)
--node-name string alias of --router-id (the chart passes
spec.nodeName)
--peers strings the other nodes' unicast addresses
--peers-file string file with one peer address per line, watched:
re-render + SIGHUP on change (overrides --peers)
--peers-from string nodes:<label selector>: peers are the selected
Kubernetes Nodes' InternalIPs (this node
excluded), re-listed every 30 s; the priority
index defaults to this node's position by name
(or its kudurru.io/vip-priority-index label)
--preempt-delay stringArray name=seconds: preempt_delay instead of
nopreempt for that VIP
--priority-index int this node's index: priority 200-10*index for
the first VIP
--probe-command string VRRP check command prefix rendered into
vrrp_script (e.g. "/usr/local/bin/kudurru
health --vrrp") (default
"/usr/local/bin/kudurru health --vrrp")
--require-backends int backends that must be up for this node to hold
a VIP (default 1)
--router-id string node name (router_id); default
$KUDURRU_NODE__NAME or the host name
--run-dir string shared run directory: FIFO, track files,
state, dnsdist API key (default "/run/kudurru")
--track-dnsdist-api string dnsdist API the VRRP probe checks (default
"http://127.0.0.1:8083")
--unicast-src string this node's VRRP source address (default: the
first address of --vrrp-interface, or the
first VIP's interface)
--vip stringArray VIP as name=addr/len@iface#vrid (repeatable;
the second VIP gets reversed priorities); the
VRID is host-only and never changes
--vrrp-interface string interface for VRRP advertisements (default:
each VIP's interface); VIP addresses stay on
the interfaces in --vip
kudurru vip run
Render, keepalived -t, exec and supervise keepalived; SIGHUP on re-render.
kudurru vip run [flags]
Flags:
--config-path string rendered configuration (default
"/etc/keepalived/keepalived.conf")
--dnsdist-api-key-file kudurru edge run dnsdist API key file written by kudurru edge
run (default "/run/kudurru/dnsdist-api.key")
--health-address string supervisor listener: /healthz/ready,
/healthz/live, /status, /metrics (default ":8085")
--hmac-key-file string auth_hmac key file; {vrid} is replaced by the
VRID (default "/run/secrets/vrrp_hmac_{vrid}")
--keepalived-bin string keepalived executable (default "keepalived")
--kudurru-bin string kudurru path used in rendered scripts
(root-owned for enable_script_security)
(default "/usr/local/bin/kudurru")
--legacy[=true|false] keepalived 2.3.x: render without auth_hmac
(adverts unauthenticated)
--log-format string json or text (default "json")
--log-level string debug, info, warn or error (default "info")
--node-count int number of nodes (default: peers + 1)
--node-name string alias of --router-id (the chart passes
spec.nodeName)
--peers strings the other nodes' unicast addresses
--peers-file string file with one peer address per line, watched:
re-render + SIGHUP on change (overrides --peers)
--peers-from string nodes:<label selector>: peers are the selected
Kubernetes Nodes' InternalIPs (this node
excluded), re-listed every 30 s; the priority
index defaults to this node's position by name
(or its kudurru.io/vip-priority-index label)
--preempt-delay stringArray name=seconds: preempt_delay instead of
nopreempt for that VIP
--priority-index int this node's index: priority 200-10*index for
the first VIP
--probe-command string VRRP check command prefix rendered into
vrrp_script (e.g. "/usr/local/bin/kudurru
health --vrrp") (default
"/usr/local/bin/kudurru health --vrrp")
--require-backends int backends that must be up for this node to hold
a VIP (default 1)
--router-id string node name (router_id); default
$KUDURRU_NODE__NAME or the host name
--run-dir string shared run directory: FIFO, track files,
state, dnsdist API key (default "/run/kudurru")
--stop-timeout duration keepalived SIGTERM grace period (keep below
the container stop grace period) (default 15s)
--track-dnsdist-api string dnsdist API the VRRP probe checks (default
"http://127.0.0.1:8083")
--unicast-src string this node's VRRP source address (default: the
first address of --vrrp-interface, or the
first VIP's interface)
--vip stringArray VIP as name=addr/len@iface#vrid (repeatable;
the second VIP gets reversed priorities); the
VRID is host-only and never changes
--vrrp-interface string interface for VRRP advertisements (default:
each VIP's interface); VIP addresses stay on
the interfaces in --vip
kudurru zones
List, import, export, notify and delete zones.
Aliases: zone.
kudurru zones delete
Delete a zone and every record set that references it.
kudurru zones delete <zone> [flags]
Aliases: rm.
Flags:
--dry-run[=true|false] only report what would be deleted
kudurru zones export
Print a zone in BIND presentation format.
kudurru zones export <zone> [flags]
Flags:
--out string write to this file instead of stdout
kudurru zones get
Show one zone.
kudurru zones get <zone>
kudurru zones import
Import a BIND zone file into a zone's record sets.
kudurru zones import <zone> -f file.zone [flags]
Flags:
-f, --filename string zone file in BIND presentation format, or - for stdin
--origin string zone apex, to create the DNSZone when it does not exist yet
kudurru zones list
List zones with serial, record count and readiness.
kudurru zones list
Aliases: ls.
kudurru zones notify
Send NOTIFY for a zone to its secondaries.
kudurru zones notify <zone>
kudurru zones options
Review and replace zone options with a resource-version check.
kudurru zones options get
Show the zone specification and its reviewed resource version.
kudurru zones options get <zone>
kudurru zones options set
Replace the complete spec using the resourceVersion emitted by zones options get. Metadata and status are preserved. A concurrent change, missing permission or another manager's ownership is refused; this command never retries the write. Use zones options get -o yaml, edit spec, then pass that document with -f.
kudurru zones options set <zone> -f options.yaml [flags]
Flags:
-f, --file string reviewed YAML/JSON options document, or - for stdin