> For the complete documentation index, see [llms.txt](https://davidtancredi.gitbook.io/pentesting-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://davidtancredi.gitbook.io/pentesting-notes/r3dcl1ff/webapp-pentest/attack-surface-recon/dns-permutations/puredns.md).

# PureDNS

Puredns is a fast domain resolver and subdomain bruteforcing tool that can accurately filter out wildcard subdomains and DNS poisoned entries. Alternative to ShuffleDNS from Project Discovery

```
#install (requires massdns if not on Kali)

go install github.com/d3mondev/puredns/v2@latest

Grab resolvers list and save in /root/.config

cd /root/.config/
mkdir puredns
wget https://public-dns.info/nameservers.txt -o resolvers.txt

#Usage
puredns bruteforce all.txt nasa.gov (using all.txt from Jhaddix)
```
