# 使用 Homebrew 安装 ctrld

查看 ctrld 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:ctrld
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ctrld
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:ctrld
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ctrld>
- **版本:** 1.5.4
- **来源摘要:** Highly configurable, multi-protocol DNS forwarding proxy
- **主页:** <https://github.com/Control-D-Inc/ctrld>
- **仓库:** <https://github.com/Control-D-Inc/ctrld>
- **许可证:** MIT
- **源码归档:** <https://github.com/Control-D-Inc/ctrld/archive/refs/tags/v1.5.4.tar.gz>
- **最后更新:** 2026-07-27T22:04:06+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ctrld (cli)
- ctrld (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.5.4
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/Control-D-Inc/ctrld
- 检测到的最新版本: v1.5.4 (当前)
## 项目历史与用法

ctrld is Control D's open-source command-line daemon for running a local DNS proxy and forwarding service on routers, servers, and client machines.

### 项目历史

Control D documents ctrld as an open-source daemon developed to make onboarding possible on many device types. The public GitHub repository describes it as a highly configurable, multi-protocol DNS forwarding proxy and was created in late 2022.

### 采用历史

The official documentation frames adoption around network operators, users who need secure DNS on devices without native support, split-horizon DNS deployments, roaming clients, and router-style installations.

### 使用方式

Typical use is to install ctrld as a local service, point a device or LAN at it for DNS, and configure Control D resolver behavior through generated or local TOML configuration.

### 为什么软件包爱好者会关心

For package managers, ctrld is a small but operationally important DNS daemon: it ships a single CLI/service binary, has persistent configuration paths, and bridges a hosted DNS control plane with local Unix-like service management.

### 时间线

- 2022: Public Control-D-Inc/ctrld repository created.
- 2020s: Control D documents ctrld as the command-line daemon for router, LAN, and roaming-client DNS deployments.

### Related projects

- Control D, secure DNS protocols, DNS-over-HTTPS, DNS-over-TLS, local DNS forwarders.

### 来源

- <https://docs.controld.com/docs/ctrld>
- <https://github.com/Control-D-Inc/ctrld>
- <https://api.github.com/repos/Control-D-Inc/ctrld>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/controld/ctrld.toml, ./ctrld.toml, ./config.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ctrld
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [dnscrypt-proxy](https://pkg.so/zh-hans/brew/dnscrypt-proxy/) - Shares pkgdb curated category or tags: cli, dns, networking, proxy.
- [knot](https://pkg.so/zh-hans/brew/knot/) - Shares pkgdb curated category or tags: cli, daemon, dns, networking.
- [knot-resolver](https://pkg.so/zh-hans/brew/knot-resolver/) - Shares pkgdb curated category or tags: cli, daemon, dns, networking.
- [ddclient](https://pkg.so/zh-hans/brew/ddclient/) - Shares pkgdb curated category or tags: cli, daemon, dns, networking.
- [nsd](https://pkg.so/zh-hans/brew/nsd/) - Shares pkgdb curated category or tags: cli, daemon, dns, networking.
- [dnscrypt-wrapper](https://pkg.so/zh-hans/brew/dnscrypt-wrapper/) - Shares pkgdb curated category or tags: cli, dns, networking, proxy.
- [libidn2](https://pkg.so/zh-hans/brew/libidn2/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [libidn](https://pkg.so/zh-hans/brew/libidn/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [chinadns-c](https://pkg.so/zh-hans/brew/chinadns-c/) - Local package facts share a topical domain. Shared terms: cli, dns, forwarder, networking.
- [ocproxy](https://pkg.so/zh-hans/brew/ocproxy/) - Local package facts share a topical domain. Shared terms: cli, forwarding, networking, proxy.
- [octodns](https://pkg.so/zh-hans/brew/octodns/) - Local package facts share a topical domain. Shared terms: cli, dns, multi, networking.

## Combined YAML source

View the package source record on GitHub. [combined/ctrld.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ctrld.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
