oclaw/openclaw/docs/cli/dns.md
oliver dbbe3add6a 重构主控编排与运行时预热链路,统一工作区提示词/专家调度协议并补齐 wiki 记忆注入与写回闭环。
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。

Made-with: Cursor
2026-04-26 08:34:33 +08:00

1.4 KiB
Raw Blame History

summary read_when title
CLI reference for `openclaw dns` (wide-area discovery helpers)
You want wide-area discovery (DNS-SD) via Tailscale + CoreDNS
You’re setting up split DNS for a custom discovery domain (example
openclaw.internal)
dns

openclaw dns

DNS helpers for wide-area discovery (Tailscale + CoreDNS). Currently focused on macOS + Homebrew CoreDNS.

Related:

Setup

openclaw dns setup
openclaw dns setup --domain openclaw.internal
openclaw dns setup --apply

dns setup

Plan or apply CoreDNS setup for unicast DNS-SD discovery.

Options:

  • --domain <domain>: wide-area discovery domain (for example openclaw.internal)
  • --apply: install or update CoreDNS config and restart the service (requires sudo; macOS only)

What it shows:

  • resolved discovery domain
  • zone file path
  • current tailnet IPs
  • recommended openclaw.json discovery config
  • the Tailscale Split DNS nameserver/domain values to set

Notes:

  • Without --apply, the command is a planning helper only and prints the recommended setup.
  • If --domain is omitted, OpenClaw uses discovery.wideArea.domain from config.
  • --apply currently supports macOS only and expects Homebrew CoreDNS.
  • --apply bootstraps the zone file if needed, ensures the CoreDNS import stanza exists, and restarts the coredns brew service.