fix(bonjour): default mdns host to system hostname

This commit is contained in:
Peter Steinberger
2026-04-27 11:35:11 +01:00
parent 3a73826e28
commit fa468d0c2d
5 changed files with 80 additions and 3 deletions

View File

@@ -649,7 +649,7 @@ Validation and safety notes:
- `minimal` (default): omit `cliPath` + `sshPort` from TXT records.
- `full`: include `cliPath` + `sshPort`.
- Hostname defaults to `openclaw`. Override with `OPENCLAW_MDNS_HOSTNAME`.
- Hostname defaults to the system hostname when it is a valid DNS label, falling back to `openclaw`. Override with `OPENCLAW_MDNS_HOSTNAME`.
### Wide-area (DNS-SD)