docs/cli/dns.md
openclaw dnsDNS helpers for wide-area discovery (Tailscale + CoreDNS). Currently focused on macOS + Homebrew CoreDNS.
Related:
openclaw dns setup
openclaw dns setup --domain openclaw.internal
openclaw dns setup --apply
dns setupPlan 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:
openclaw.json discovery configNotes:
--apply, the command is a planning helper only and prints the recommended setup.--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.