Documentation Index
Fetch the complete documentation index at: https://docs.lagerdata.com/llms.txt
Use this file to discover all available pages before exploring further.
Features
--ipnow accepts DNS hostnames in addition to IP addresses onlager boxes add,lager boxes edit,lager install, andlager uninstall. Lets a Lager Box sit behind a DNS name (e.g.box.example.com) or a Tailscale MagicDNS short name (e.g.box-1.tailXYZ.ts.net) instead of requiring the operator to look up and pin a numeric address. Validation is purely syntactic — IPv4/IPv6 (incl. Tailscale100.x.x.x) take the existingipaddress.ip_addressfast path; everything else is checked against RFC 1123 hostname rules (1–63 char alphanumeric/hyphen labels, ≤253 chars total, single-label allowed for MagicDNS), with actual resolution deferred to SSH/HTTP. The shared validator lives in the newcli/address_utils.py(covered by 34 unit tests intest/unit/cli/test_address_utils.py); the four call sites all share one error path that prints a “Valid formats:” cheatsheet on failure (install/uninstallpreviously printed only the bare error). Inputs that already carry a scheme, port, or path (e.g.http://...,host:5000,host/api) are rejected with a specific message instead of the previous generic “not a valid IP” — the rest of the CLI composeshttp://{addr}:port/...itself, so an embedded one of those would conflict.

