fix(gateway): honor minimal discovery mode for wide-area DNS-SD [AI] … · openclaw/openclaw@da6f32b
pgondhi987
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -520,15 +520,15 @@ openclaw gateway restart
|
520 | 520 | |
521 | 521 | Only gateways with Bonjour discovery enabled (default) advertise the beacon. |
522 | 522 | |
523 | | -Wide-Area discovery records include (TXT): |
| 523 | +Wide-area discovery records can include these TXT hints: |
524 | 524 | |
525 | 525 | - `role` (gateway role hint) |
526 | 526 | - `transport` (transport hint, e.g. `gateway`) |
527 | 527 | - `gatewayPort` (WebSocket port, usually `18789`) |
528 | | -- `sshPort` (optional; clients default SSH targets to `22` when it is absent) |
| 528 | +- `sshPort` (full discovery mode only; clients default SSH targets to `22` when it is absent) |
529 | 529 | - `tailnetDns` (MagicDNS hostname, when available) |
530 | 530 | - `gatewayTls` / `gatewayTlsSha256` (TLS enabled + cert fingerprint) |
531 | | -- `cliPath` (remote-install hint written to the wide-area zone) |
| 531 | +- `cliPath` (full discovery mode only) |
532 | 532 | |
533 | 533 | ### `gateway discover` |
534 | 534 | |
@@ -553,7 +553,7 @@ openclaw gateway discover --json | jq '.beacons[].wsUrl'
|
553 | 553 | <Note> |
554 | 554 | - The CLI scans `local.` plus the configured wide-area domain when one is enabled. |
555 | 555 | - `wsUrl` in JSON output is derived from the resolved service endpoint, not from TXT-only hints such as `lanHost` or `tailnetDns`. |
556 | | -- On `local.` mDNS, `sshPort` and `cliPath` are only broadcast when `discovery.mdns.mode` is `full`. Wide-area DNS-SD still writes `cliPath`; `sshPort` stays optional there too. |
| 556 | +- On `local.` mDNS and wide-area DNS-SD, `sshPort` and `cliPath` are only published when `discovery.mdns.mode` is `full`. |
557 | 557 | |
558 | 558 | </Note> |
559 | 559 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。