# 使用 Homebrew, dnf, Nix 安装 massdns

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

## 安装

```sh
sudo av install brew:massdns
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install massdns
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install massdns
```

  证据: Fedora Rawhide package metadata: massdns 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#massdns
```

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

## 软件包事实

- **软件包键:** brew:massdns
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/massdns>
- **版本:** 1.1.0
- **来源摘要:** High-performance DNS stub resolver
- **主页:** <https://github.com/blechschmidt/massdns>
- **仓库:** <https://github.com/blechschmidt/massdns>
- **许可证:** GPL-3.0-only
- **源码归档:** <https://github.com/blechschmidt/massdns/archive/refs/tags/v1.1.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- massdns (cli)
- massdns (别名)

## 构建依赖

- cmake

## macOS 提供的库

- libpcap

## 安装行为

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

## 版本和新鲜度

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

MassDNS is a high-performance DNS stub resolver for bulk lookups and reconnaissance. It targets use cases where users need to resolve millions or billions of names and tune resolver, output, retry, and concurrency behavior from the command line.

### 项目历史

The MassDNS repository was created in June 2016. Its README identifies Quirin Scheitle and the Technical University of Munich among the contributors and describes the tool as capable of more than 350,000 resolutions per second without special configuration.

Release history is sparse but meaningful. Version 0.3 in 2020 replaced an `ldns` dependency with a custom DNS implementation to reduce memory allocations and added NDJSON output. Version 1.0.0 in 2021 switched the project to semantic versioning, and version 1.1.0 in 2024 added resolver-list tooling, dedicated resolver support, SVCB and HTTPS record support, and several community fixes.

### 采用历史

MassDNS has a visible security and DNS-research audience, with several thousand GitHub stars and hundreds of forks. The supplied package metadata records Homebrew, Fedora, and Nix packages, which makes it accessible from both workstation and Linux server environments.

Its adoption is closely tied to subdomain enumeration and bulk DNS workflows. The README includes scripts for PTR resolution, subdomain brute forcing, certificate-transparency-derived names, and direct authoritative-name-server enumeration.

### 使用方式

Typical usage pipes a domain list into `massdns`, chooses a resolver list with `-r`, selects a record type with `-t`, and writes output with `-w` or stdout redirection. Output modes include simple text, full text, binary, domain-list output, and NDJSON.

The README emphasizes operational caution: public resolvers may be unreliable or generate abuse complaints, and users should adjust concurrency and prefer trusted resolvers when authenticity matters.

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

MassDNS matters to package users because it provides a fast, small DNS reconnaissance primitive that can be installed without dragging in a large framework.

For command-line security and network engineers, it is the DNS-side counterpart to other high-throughput reconnaissance tools: composable, pipe-friendly, and tuned by flags rather than a GUI.

### 时间线

- 2016: GitHub repository created.
- 2020: v0.3 release removes the `ldns` dependency and adds NDJSON output.
- 2021: v1.0.0 switches to semantic versioning.
- 2024: v1.1.0 release adds resolver tooling and SVCB/HTTPS record support.

### Related projects

- MassDNS includes and references subdomain enumeration workflows inspired by or compatible with tools such as subbrute.
- It is commonly used alongside wordlists, certificate transparency sources, and local recursive resolvers such as Unbound.

### 来源

- <https://api.github.com/repos/blechschmidt/massdns>
- <https://github.com/blechschmidt/massdns>
- <https://github.com/blechschmidt/massdns/releases>
- source_facts.package-manager-url


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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

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

- Nix - massdns: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/massdns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - massdns - 0.3-16.fc45: normalized package name match | Fedora Rawhide package metadata: massdns from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | High-performance DNS stub resolver for bulk lookups and reconnaissance | https://github.com/blechschmidt/massdns


## 相关链接

- [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.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [adns](https://pkg.so/zh-hans/brew/adns/) - Shares pkgdb curated category or tags: cli, dns, networking, resolver.
- [knot-resolver](https://pkg.so/zh-hans/brew/knot-resolver/) - Shares pkgdb curated category or tags: cli, dns, networking, resolver.
- [dnsx](https://pkg.so/zh-hans/brew/dnsx/) - Shares pkgdb curated category or tags: cli, dns, networking, reconnaissance.
- [nextdns](https://pkg.so/zh-hans/brew/nextdns/) - Shares pkgdb curated category or tags: cli, dns, networking, resolver.
- [doh](https://pkg.so/zh-hans/brew/doh/) - Shares pkgdb curated category or tags: cli, dns, networking, resolver.
- [djbdns](https://pkg.so/zh-hans/brew/djbdns/) - Shares pkgdb curated category or tags: cli, dns, networking, resolver.
- [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.
- [aliddns](https://pkg.so/zh-hans/brew/aliddns/) - Local package facts share a topical domain. Shared terms: cli, dns, networking.

## Combined YAML source

View the package source record on GitHub. [combined/massdns.yml](https://github.com/mxcl/pkgdb/blob/main/combined/massdns.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
