openclaw dns
DNS helpers for wide-area discovery (Tailscale + CoreDNS). Currently focused on macOS + Homebrew CoreDNS.
Related:
- Gateway discovery: Discovery
- Wide-area discovery config: Configuration
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 exampleopenclaw.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.jsondiscovery 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
--domainis omitted, OpenClaw usesdiscovery.wideArea.domainfrom config. --applycurrently supports macOS only and expects Homebrew CoreDNS.--applybootstraps the zone file if needed, ensures the CoreDNS import stanza exists, and restarts thecorednsbrew service.