# Install dnsx with Homebrew, dnf, Nix

DNS query and resolution tool. Version 1.2.3 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dnsx
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install dnsx
```

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

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:dnsx
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dnsx>
- **Version:** 1.2.3
- **Source summary:** DNS query and resolution tool
- **Homepage:** <https://github.com/projectdiscovery/dnsx>
- **Repository:** <https://github.com/projectdiscovery/dnsx>
- **Upstream docs:** <https://docs.projectdiscovery.io/opensource/dnsx/overview>
- **License:** MIT
- **Source archive:** <https://github.com/projectdiscovery/dnsx/archive/refs/tags/v1.2.3.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dnsx (cli)
- dnsx (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.2.3
- Local data: ok
- Upstream repository: https://github.com/projectdiscovery/dnsx
- Upstream latest detected: v1.2.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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.2.2-6.fc44: normalized package name match | Fedora Rawhide package metadata: dnsx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Dnsx is a fast and multi-purpose DNS toolkit | https://github.com/projectdiscovery/dnsx


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [zns](https://www.automicvault.com/pkg/brew/zns/) - Shares av.db curated category or tags: cli, dns, networking.
- [massdns](https://www.automicvault.com/pkg/brew/massdns/) - Shares av.db curated category or tags: cli, dns, networking, reconnaissance.
- [adns](https://www.automicvault.com/pkg/brew/adns/) - Shares av.db curated category or tags: cli, dns, networking.
- [aliddns](https://www.automicvault.com/pkg/brew/aliddns/) - Shares av.db curated category or tags: cli, dns, networking.
- [bind](https://www.automicvault.com/pkg/brew/bind/) - Shares av.db curated category or tags: cli, dns, networking.
- [c-ares](https://www.automicvault.com/pkg/brew/c-ares/) - Shares av.db curated category or tags: cli, dns, networking.
- [cdncheck](https://www.automicvault.com/pkg/brew/cdncheck/) - Shares av.db curated category or tags: cli, dns, networking.
- [checkdmarc](https://www.automicvault.com/pkg/brew/checkdmarc/) - Shares av.db curated category or tags: cli, dns, networking.

## Combined YAML source

View the package source record on GitHub. [combined/dnsx.yml](https://github.com/automic-vault/db/blob/main/combined/dnsx.yml)


## Sources

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