# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.1.0
- **来源摘要:** High-performance DNS stub resolver
- **主页:** <https://github.com/blechschmidt/massdns>
- **仓库:** <https://github.com/blechschmidt/massdns>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- massdns (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | High-performance DNS stub resolver for bulk lookups and reconnaissance | https://github.com/blechschmidt/massdns


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
