← 返回命令列表

Linux command

dnsenum 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Enumerate DNS information

dnsenum [domain.com]

Use specific DNS

dnsenum --dnsserver [8.8.8.8] [domain.com]

Enumerate with brute

dnsenum --enum -f [wordlist.txt] [domain.com]

Save output to file

dnsenum -o [output.xml] [domain.com]

Specify threads

dnsenum --threads [10] [domain.com]

Perform zone transfer

dnsenum --noreverse [domain.com]

说明

dnsenum is a DNS enumeration tool that gathers information about a domain's DNS infrastructure. It performs multiple queries to discover hosts, name servers, mail servers, and potential subdomains. The tool attempts zone transfers, performs reverse lookups, and can brute force subdomains using wordlists. It also scrapes search engines for additional subdomain information and integrates results from multiple sources. dnsenum is commonly used in penetration testing and security assessments to map an organization's DNS footprint and identify potential attack vectors.

参数

--dnsserver _SERVER_
DNS server to query.
--enum
Shorthand for DNS enumeration.
-f _FILE_
Wordlist for brute force.
--threads _N_
Number of threads.
-o _FILE_
Output file (XML format).
--noreverse
Skip reverse lookups.
--private
Include private IPs.
--help
Display help information.

FAQ

What is the dnsenum command used for?

dnsenum is a DNS enumeration tool that gathers information about a domain's DNS infrastructure. It performs multiple queries to discover hosts, name servers, mail servers, and potential subdomains. The tool attempts zone transfers, performs reverse lookups, and can brute force subdomains using wordlists. It also scrapes search engines for additional subdomain information and integrates results from multiple sources. dnsenum is commonly used in penetration testing and security assessments to map an organization's DNS footprint and identify potential attack vectors.

How do I run a basic dnsenum example?

Run `dnsenum [domain.com]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --dnsserver _SERVER_ do in dnsenum?

DNS server to query.