# 使用 Homebrew, dnf, Nix 安装 dnsx

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

## 安装

```sh
sudo av install brew:dnsx
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dnsx
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install dnsx
```

  证据: Fedora Rawhide package metadata: dnsx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dnsx
```

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

## 软件包事实

- **软件包键:** brew:dnsx
- **软件包管理器:** Homebrew
- **版本:** 1.3.0
- **来源摘要:** DNS query and resolution tool
- **主页:** <https://github.com/projectdiscovery/dnsx>
- **仓库:** <https://github.com/projectdiscovery/dnsx>
- **最后更新:** 2026-07-25T14:21:57-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dnsx (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.3.0
## 项目历史与用法

dnsx is ProjectDiscovery's fast DNS query and resolution CLI, built for reconnaissance pipelines and bulk probing rather than interactive DNS administration.

Its history is mainly the history of ProjectDiscovery standardizing bug-bounty and attack-surface tooling around composable Go CLIs that stream data through stdin and stdout.

### 项目历史

The public release line starts with v1.0.0 in November 2020, and subsequent releases kept dnsx in the ProjectDiscovery toolkit alongside tools such as subfinder, httpx, naabu, nuclei, and shuffledns.

The documentation and README frame dnsx as a retryabledns-based toolkit for multiple DNS query types, custom resolvers, brute-force resolution, and wildcard handling.

### 采用历史

dnsx became part of the common ProjectDiscovery reconnaissance workflow: subdomain inputs from one tool can be resolved and filtered through dnsx, then passed onward to HTTP probing or vulnerability scanning tools.

Packaging in Homebrew, Fedora, Nix, and Kali reflects adoption by both developer workstations and security-testing distributions.

### 使用方式

dnsx is commonly used to resolve lists of domains, query specific DNS record types, use custom resolver pools, brute-force names, and remove wildcard DNS noise from large candidate sets.

Its stdin/stdout design makes it useful in shell pipelines and CI-style scanning jobs.

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

dnsx matters less as a novel DNS protocol implementation and more as a modern packaging example: a single static-ish Go CLI designed to be chained with a security-tool ecosystem.

The package shows how DNS utilities have moved from administrator-only troubleshooting toward high-volume reconnaissance and asset inventory workflows.

### 时间线

- 2020: dnsx v1.0.0 was released as a ProjectDiscovery DNS toolkit.
- 2021-2023: v1.0.x and v1.1.x releases broadened the tool while it became a regular component of ProjectDiscovery reconnaissance pipelines.
- 2024: v1.2.0 and later releases continued the Go module and packaging lifecycle.
- 2025: v1.2.3 release activity shows the project still being maintained.

### Related projects

- ProjectDiscovery siblings include subfinder for subdomain discovery, httpx for HTTP probing, naabu for port scanning, nuclei for template-based scanning, and shuffledns for mass DNS resolution with wildcard filtering.
- dnsx is also related to retryabledns, the Go library it uses for resilient DNS probing.

### 来源

- <https://docs.projectdiscovery.io/opensource/dnsx/overview>
- <https://docs.projectdiscovery.io/opensource/dnsx/usage>
- <https://docs.projectdiscovery.io/opensource/dnsx/running>
- <https://github.com/projectdiscovery/dnsx>
- <https://github.com/projectdiscovery/dnsx/releases>
- <https://www.kali.org/tools/dnsx/>
- <https://formulae.brew.sh/formula/dnsx>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - dnsx: normalized package name match | nixpkgs package indexes: pkgs/by-name/dn/dnsx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - dnsx - 1.3.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: dnsx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dnsx is a fast and multi-purpose DNS toolkit | https://github.com/projectdiscovery/dnsx


## Combined YAML source

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


## 来源

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