- Go 33.7%
- Python 32.3%
- Nix 26.2%
- CSS 4.2%
- HTML 3%
- Other 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
CI / Formatting, unit tests, and module evaluation (push) Successful in 3m16s
CI / ARM64 DNS packages (push) Successful in 25s
CI / Primary and secondary on separate hosts (push) Successful in 13s
CI / Isolated LAN primary and replicas (push) Successful in 12s
CI / Seven-VM DNS topology and canonical report (push) Successful in 1m3s
|
||
| .forgejo | ||
| .github/workflows | ||
| dns | ||
| docs | ||
| nix/dns | ||
| site | ||
| tests | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| flake.lock | ||
| flake.nix | ||
| go.work | ||
| README.md | ||
Kaiba secure-device dynamic DNS
This repository contains the Kaiba dynamic DNS control-plane pilot. It gives devices stable DNS names without placing registrar credentials or hidden-origin topology on those devices.
Device software authenticates to the controller with mTLS and submits its complete public address set. The controller commits desired state to SQLite. A separate publisher projects that state to a writable hidden primary using RFC 2136 and TSIG, then verifies the result through redundant public authorities.
The opt-in two-host LAN profile places the writable primary on Ace and a read-only secondary on Mako, with a transfer-only runtime credential handoff. It retains the SPIFFE updater/controller authorization path and leaves public delegation and resolver settings unchanged. The earlier same-host qualification profile remains available for its isolated process-level tests.
Repository layout
dns/contains the Go commands and private implementation packages.nix/dns/contains the standalone DNS flake and reusable NixOS modules.tests/integration/defines the seven-VM DNS topology.tests/report/renders and validates the deterministic evidence report.site/contains the static project site published with the latest report.docs/documents the DNS architecture and device-identity boundary.
Development
go test ./dns/...
nix --accept-flake-config fmt -- --ci
nix --accept-flake-config flake check --all-systems --no-build -L
nix flake check ./nix/dns --all-systems --no-build -L
Build the operator-facing DNS commands:
nix build .#kaiba-agent
nix build .#kaiba-controller
nix build .#kaiba-publisher
Run or build the integration topology:
nix run .#dns-test-driver
nix build .#dns-test-report -L
nix build .#dns-test-gate -L
Flake interface
The root flake is a convenience facade over nix/dns. Both expose:
- packages:
kaiba-agent,kaiba-controller, andkaiba-publisher; - NixOS modules for the device agent, update services, hidden primaries, hidden standbys, and public secondaries;
- unit, module-evaluation, schema, security, topology, and report checks; and
- the interactive
dns-test-driverapp on x86_64 Linux.
See the architecture for the control and data paths, and the device identity lifecycle for the platform-neutral credential contract.
Related repository
Secure-device provisioning is maintained independently in PseudoDesign/kaiba-provisioning. This DNS repository does not import, re-export, build, test, or release its tools.