# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper, pacman 安装 pdnsrec

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

## 安装

```sh
sudo av install brew:pdnsrec
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pdnsrec
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pdns-recursor
```

  证据: MacPorts ports tree: net/pdns-recursor/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add pdns-recursor
```

  证据: Alpine Linux edge package indexes: pdns-recursor from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install pdns-recursor
```

  证据: Debian stable package indexes: pdns-recursor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install pdns-recursor
```

  证据: Fedora Rawhide package metadata: pdns-recursor from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#pdns-recursor
```

  证据: nixpkgs package indexes: pkgs/by-name/pd/pdns-recursor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install pdns-recursor
```

  证据: openSUSE Tumbleweed package metadata: pdns-recursor from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S powerdns-recursor
```

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

## 软件包事实

- **软件包键:** brew:pdnsrec
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/pdnsrec>
- **版本:** 5.4.4
- **来源摘要:** Non-authoritative/recursing DNS server
- **主页:** <https://www.powerdns.com/powerdns-recursor>
- **上游文档:** <https://www.powerdns.com/powerdns-recursor>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://downloads.powerdns.com/releases/pdns-recursor-5.4.4.tar.xz>
- **最后更新:** 2026-07-22T09:51:07Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- pdns_recursor (cli)
- rec_control (cli)
- pdns_recursor (别名)
- rec_control (别名)

## 依赖

- boost
- lua
- openssl@3

## 构建依赖

- pkgconf
- rust

## macOS 提供的库

- curl

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 5.4.4
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://www.powerdns.com/powerdns-recursor
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

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

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


## 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: recursor.yml, recursor.conf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** pdnsrec
- **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

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

- MacPorts - pdns-recursor: installed executable or alias match | MacPorts ports tree: net/pdns-recursor/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - pdns-recursor - 5.2.11-0+deb13u1: installed executable or alias match | Debian stable package indexes: pdns-recursor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PowerDNS Recursor | https://www.powerdns.com/
- Nix - pdns-recursor: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/pd/pdns-recursor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - pdns-recursor - 4.9.3-1build3: installed executable or alias match | Ubuntu 24.04 LTS package indexes: pdns-recursor from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | PowerDNS Recursor | https://www.powerdns.com/
- apk - pdns-recursor - 5.4.4-r0: installed executable or alias match | Alpine Linux edge package indexes: pdns-recursor from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | PowerDNS Recursive Server | https://www.powerdns.com/
- apk - pdns-recursor-common - 5.4.4-r0: installed executable or alias match | Alpine Linux edge package indexes: pdns-recursor-common from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | pdns-recursor common files | https://www.powerdns.com/
- apk - pdns-recursor-doc - 5.4.4-r0: installed executable or alias match | Alpine Linux edge package indexes: pdns-recursor-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | PowerDNS Recursive Server (documentation) | https://www.powerdns.com/
- apk - pdns-recursor-luajit - 5.4.4-r0: installed executable or alias match | Alpine Linux edge package indexes: pdns-recursor-luajit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | pdns-recursor with luajit bindings | https://www.powerdns.com/
- apk - pdns-recursor-openrc - 5.4.4-r0: installed executable or alias match | Alpine Linux edge package indexes: pdns-recursor-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | PowerDNS Recursive Server (OpenRC init scripts) | https://www.powerdns.com/
- dnf - pdns-recursor - 5.4.4-2.fc45: installed executable or alias match | Fedora Rawhide package metadata: pdns-recursor from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Modern, advanced and high performance recursing/non authoritative name server | https://powerdns.com
- pacman - powerdns-recursor - 5.4.4-1: installed executable or alias match | Arch Linux sync databases: powerdns-recursor from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Resolving DNS server | https://www.powerdns.com/
- zypper - pdns-recursor - 5.2.5-2.9: installed executable or alias match | openSUSE Tumbleweed package metadata: pdns-recursor from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Modern, advanced and high performance recursing/non authoritative nameserver | https://www.powerdns.com/


## 相关链接

- [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.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [lua](https://pkg.so/zh-hans/brew/lua/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [ldns](https://pkg.so/zh-hans/brew/ldns/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [bind](https://pkg.so/zh-hans/brew/bind/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [knot](https://pkg.so/zh-hans/brew/knot/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [nextdns](https://pkg.so/zh-hans/brew/nextdns/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [q](https://pkg.so/zh-hans/brew/q/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [pdns](https://pkg.so/zh-hans/brew/pdns/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [knot-resolver](https://pkg.so/zh-hans/brew/knot-resolver/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [ddclient](https://pkg.so/zh-hans/brew/ddclient/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [nsd](https://pkg.so/zh-hans/brew/nsd/) - Local metadata places this package in an adjacent workflow. Shared terms: authoritative, cli, control, dns, networking.

## Combined YAML source

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


## 来源

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