docs/cli/dns.md
openclaw dnsDNS helpers for wide-area discovery (Tailscale + CoreDNS). Currently macOS + Homebrew CoreDNS only.
Related:
dns setupPlan or apply CoreDNS setup for unicast DNS-SD discovery.
openclaw dns setup
openclaw dns setup --domain openclaw.internal
openclaw dns setup --apply
| Option | Effect |
|---|---|
--domain <domain> | Wide-area discovery domain (for example openclaw.internal). |
--apply | Install/update CoreDNS config and (re)start the service. Requires sudo, macOS only. |
Without --domain, OpenClaw uses discovery.wideArea.domain from config.
Without --apply, the command only prints:
openclaw.json discovery configWith --apply (macOS only, requires Homebrew CoreDNS):
coredns brew service