> For the complete documentation index, see [llms.txt](https://aas-s3curity.gitbook.io/cheatsheet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aas-s3curity.gitbook.io/cheatsheet/internalpentest/active-directory/reconnaissance/dns-enumeration.md).

# DNS Enumeration

DNS Enumeration is an important step to cartography the perimeter.

You can test for several DNS attacks (zone transfer, brute-force, etc) with the following command:

```bash
dnsenum <domain> -f /usr/share/wordlists/SecLists/Discovery/DNS/namelist.txt --dnsserver <dnsServer> > dnsenum.txt
```
