mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 04:36:40 +00:00
Four system scripts (wsl2-systemd-enable, wsl-dns-setup, tls-trust
linux/wsl2) sourced scripts/meta/env/{runtime,defaults}.sh — both
collapsed into load.sh by the SPOT refactor (80c396b8). Route them
through load.sh so INFINITO_IS_WSL2/INFINITO_CONTAINER resolve via
the generated .env.
Also rename the CoreDNS template placeholders to the INFINITO_*
namespace: \${IP4}/\${DOMAIN_RE} -> \${INFINITO_IP4}/\${INFINITO_DOMAIN_RE}.
env/ci.env carries the prefixed names since the env-prefix lint
(22cf6f38f), so envsubst was rendering empty answers — NXDOMAIN on
every CoreDNS query, breaking test-dns.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
DNS Helpers
This directory holds DNS helpers used during development and environment preparation. The folder contains the local name-resolution setup and teardown logic used during development and environment preparation. For the canonical Make target index that invokes these helpers, see make.md.
Areas
- setup/ for DNS setup scripts
remove.shfor DNS teardowncommon.shfor shared DNS variables and helper functions
Notes
- Canonical domains and aliases come from
roles/*/meta/server.yml - The CLI entrypoint lives in
cli/meta/domains/__main__.py - The reusable generator logic lives in
utils/domains/list.py DOMAIN_PRIMARYis rendered before the list is emitted- The DNS fallback calls the generator with
--alias --www INFINITO_DNS_HOSTScan still override the generated list explicitly