> ## Documentation Index
> Fetch the complete documentation index at: https://claw-tw.jackle.pro/llms.txt
> Use this file to discover all available pages before exploring further.

# dns（DNS 配置）

# `openclaw dns`

用於廣域發現 (Wide-area discovery) 的 DNS 協助工具（基於 Tailscale 與 CoreDNS）。目前主要優化於 macOS 環境搭配 Homebrew 管理的 CoreDNS。

相關資訊：

* Gateway 發現機制：[發現機制 (Discovery)](/zh-Hant/gateway/discovery)
* 廣域發現配置：[配置導覽 (Configuration)](/zh-Hant/gateway/configuration)

## 設定指令

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
# 查看目前的 DNS 設定建議
openclaw dns setup

# 執行並套用 DNS 配置
openclaw dns setup --apply
```
