跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

openclaw dns

用于广域发现的 DNS 辅助工具(Tailscale + CoreDNS)。目前主要面向 macOS + Homebrew CoreDNS。 相关内容:

设置

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

dns setup

为单播 DNS-SD 发现规划或应用 CoreDNS 设置。 选项:
  • --domain <domain>:广域发现域名(例如 openclaw.internal
  • --apply:安装或更新 CoreDNS 配置并重启服务(需要 sudo;仅支持 macOS)
显示内容:
  • 已解析的发现域名
  • 区域文件路径
  • 当前 tailnet IP
  • 推荐的 openclaw.json 发现配置
  • 需要设置的 Tailscale Split DNS nameserver/domain 值
说明:
  • 不使用 --apply 时,该命令仅作为规划辅助工具,并打印推荐的设置。
  • 如果省略 --domain,OpenClaw 会使用配置中的 discovery.wideArea.domain
  • --apply 目前仅支持 macOS,并要求使用 Homebrew CoreDNS。
  • --apply 会在需要时引导创建区域文件,确保存在 CoreDNS import 配置段,并重启 coredns brew 服务。

相关内容