---
description: DNS Enumeration is an important step to cartography the perimeter.
---

# DNS Enumeration

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
```
