> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/zh/hacking-tools/enumeration/dns-enumeration.md).

# DNS 枚举

DNS 枚举工具笔记，涵盖被动 DNS 发现、子域名枚举、DNS 记录、区域传送检查、dnsrecon、dnsenum、DNSDumpster、暴力破解、主机发现和侦察工作

DNS 枚举可在深入扫描之前识别域名、子域名、记录、名称服务器、暴露的区域以及基础设施线索。先使用被动来源，然后在测试范围允许时，通过主动 DNS 查询和受控的暴力破解来验证发现。

## DNS 枚举工作流

1. 从公共来源和证书透明度数据集中收集被动 DNS 数据。
2. 查询常见记录，如 A、AAAA、CNAME、MX、TXT、NS、SOA 和 SRV。
3. 使用已授权的名称服务器检查是否存在区域传送暴露。
4. 仅当交战规则允许主动发现时，才对子域名进行暴力破解。
5. 解析已发现的主机，并将确认的目标输入到端口扫描和 Web 指纹分析中。

## DNS 工具

<table data-card-size="large" data-column-title-hidden data-view="cards" data-full-width="false" data-search="false"><thead><tr><th>名称</th><th>描述</th><th>官方链接</th><th data-hidden data-card-cover data-type="image">封面图片</th></tr></thead><tbody><tr><td><strong>DNSDumpster</strong></td><td>被动 DNS 记录和子域名发现。</td><td><a href="https://dnsdumpster.com/">https://dnsdumpster.com/</a></td><td><a href="https://1574813340-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-075a81b392cd7f201128689be1c5e50c045253ed%2Fimage.png?alt=media">image.png</a></td></tr><tr><td><strong>dnsrecon</strong></td><td>DNS 枚举、区域传送和子域名暴力破解。</td><td><a href="https://github.com/darkoperator/dnsrecon">https://github.com/darkoperator/dnsrecon</a></td><td><a href="https://1574813340-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-18b7d6e02adf179685d2cf2621e75ebbb098ca40%2Fimage.png?alt=media">image.png</a></td></tr><tr><td><strong>dnsenum</strong></td><td>DNS 暴力破解和域信息收集。</td><td><a href="https://github.com/fwaeytens/dnsenum">https://github.com/fwaeytens/dnsenum</a></td><td><a href="https://1574813340-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-6253d171f4c3d5591956eea6b99351a2ea5635a1%2Fimage.png?alt=media">image.png</a></td></tr></tbody></table>

## 被动来源

| 资源                                                    | 描述                           |
| ----------------------------------------------------- | ---------------------------- |
| [VirusTotal](https://www.virustotal.com/)             | URL、域名、被动 DNS 和基础设施关系分析。     |
| [Censys](https://search.censys.io/)                   | 面向互联网连接主机、证书和暴露服务的搜索引擎。      |
| [crt.sh](https://crt.sh/)                             | 通过证书透明度搜索，发现公共 TLS 证书中出现的名称。 |
| [Project Sonar](https://sonar.omnisint.io/)           | 公共子域名、TLD 和反向 DNS 查询端点。      |
| [Netcraft SearchDNS](https://searchdns.netcraft.com/) | 公共主机名和 DNS 情报搜索。             |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/zh/hacking-tools/enumeration/dns-enumeration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
