跳轉到主要內容

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

規劃或套用 CoreDNS 設定,以進行單播 DNS-SD 探索。 選項:
  • --domain <domain>:廣域探索網域(例如 openclaw.internal
  • --apply:安裝或更新 CoreDNS 設定並重新啟動服務(需要 sudo;僅限 macOS)
顯示內容:
  • 已解析的探索網域
  • 區域檔案路徑
  • 目前的 tailnet IP
  • 建議的 openclaw.json 探索設定
  • 要設定的 Tailscale 分割 DNS 名稱伺服器/網域值
注意事項:
  • 若不使用 --apply,此命令只作為規劃輔助工具,並會列印建議設定。
  • 如果省略 --domain,OpenClaw 會使用設定中的 discovery.wideArea.domain
  • --apply 目前僅支援 macOS,並且需要 Homebrew CoreDNS。
  • --apply 會在需要時啟動區域檔案,確保 CoreDNS 匯入段落存在,並重新啟動 coredns brew 服務。

相關