# 使用 Homebrew, apk, pacman 安装 dnscrypt-wrapper

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

## 安装

```sh
sudo av install brew:dnscrypt-wrapper
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dnscrypt-wrapper
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add dnscrypt-wrapper
```

  证据: Alpine Linux edge package indexes: dnscrypt-wrapper from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- pacman (92%):

```sh
sudo pacman -S dnscrypt-wrapper
```

  证据: Arch Linux sync databases: dnscrypt-wrapper from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:dnscrypt-wrapper
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dnscrypt-wrapper>
- **版本:** 0.4.2
- **来源摘要:** Server-side proxy that adds dnscrypt support to name resolvers
- **主页:** <https://cofyc.github.io/dnscrypt-wrapper/>
- **仓库:** <https://github.com/cofyc/dnscrypt-wrapper>
- **上游文档:** <https://cofyc.github.io/dnscrypt-wrapper/>
- **许可证:** ISC
- **源码归档:** <https://github.com/cofyc/dnscrypt-wrapper/archive/refs/tags/v0.4.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dnscrypt-wrapper (cli)
- dnscrypt-wrapper (别名)

## 依赖

- libevent
- libsodium

## 构建依赖

- autoconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.4.2
- 本地数据: OK
- 上游仓库: https://github.com/cofyc/dnscrypt-wrapper
- 检测到的最新版本: v0.4.2 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

dnscrypt-wrapper is the server-side companion to DNSCrypt client tools: it wraps an existing recursive or authoritative DNS service so that clients can speak DNSCrypt to it.

### 项目历史

The project describes itself as a server-side proxy that adds DNSCrypt support to name resolvers. Instead of replacing resolvers such as Unbound, BIND, or PowerDNS Recursor, it was designed to sit in front of them and handle the DNSCrypt layer.

Its documentation and repository identify it with the earlier DNSCrypt server ecosystem, including key generation, provider names, and a wrapper process around a conventional DNS backend. That makes it a smaller, more specialized counterpart to dnscrypt-proxy.

### 采用历史

dnscrypt-wrapper reached package-manager visibility in Homebrew, Alpine, and Arch-style packaging, but it never had the broad desktop/client adoption of dnscrypt-proxy. Its audience is operators who want to publish a DNSCrypt-capable resolver rather than users who only want to consume one.

### 使用方式

Operators use dnscrypt-wrapper when they already run a DNS resolver and want to expose a DNSCrypt endpoint. The package is therefore configured around server keys, certificates, provider names, listen addresses, and forwarding to the local resolver.

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

For package history, dnscrypt-wrapper is interesting because it packages the other side of the DNSCrypt protocol. It shows how early encrypted-DNS tooling needed both client daemons and server wrappers before encrypted transport was folded into larger resolver projects.

### 时间线

- 2012-2015: The public project documentation and copyright range cover the early DNSCrypt server-wrapper era.
- 2010s: The package becomes available through Homebrew and Linux packaging for operators running DNSCrypt-capable resolvers.

### Related projects

- Related projects include dnscrypt-proxy for clients, Unbound, BIND, and PowerDNS Recursor as wrapped DNS backends, and dnsdist for DNS load balancing in front of resolver fleets.

### 来源

- <https://cofyc.github.io/dnscrypt-wrapper>
- <https://github.com/cofyc/dnscrypt-wrapper>
- <https://formulae.brew.sh/formula/dnscrypt-wrapper>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

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

## 其他软件包管理器记录

- apk - dnscrypt-wrapper - 0.4.2-r3: normalized package name match | Alpine Linux edge package indexes: dnscrypt-wrapper from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | dnscrypt wrapper (server-side dnscrypt proxy), which helps to add dnscrypt support to any name resolver | https://github.com/Cofyc/dnscrypt-wrapper
- pacman - dnscrypt-wrapper - 0.4.2-5: normalized package name match | Arch Linux sync databases: dnscrypt-wrapper from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A server-side dnscrypt proxy | https://dnscrypt.org/


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [libevent](https://pkg.so/zh-hans/brew/libevent/) - Runtime dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [dnscrypt-proxy](https://pkg.so/zh-hans/brew/dnscrypt-proxy/) - Shares pkgdb curated category or tags: cli, dns, dnscrypt, networking, privacy.
- [bind](https://pkg.so/zh-hans/brew/bind/) - Shares pkgdb curated category or tags: cli, dns, networking, server.
- [coredns](https://pkg.so/zh-hans/brew/coredns/) - Shares pkgdb curated category or tags: cli, dns, networking, server.
- [ctrld](https://pkg.so/zh-hans/brew/ctrld/) - Shares pkgdb curated category or tags: cli, dns, networking, proxy.
- [sdns](https://pkg.so/zh-hans/brew/sdns/) - Shares pkgdb curated category or tags: cli, dns, networking, privacy, server.
- [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.
- [dnsmasq](https://pkg.so/zh-hans/brew/dnsmasq/) - Shares pkgdb curated category or tags: cli, dns, networking, server.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
