> 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/shuffledns.md).

# shuffleDNS

Project Discovery Wrapper on MassDNS

```
#setup
go install -v github.com/projectdiscovery/shuffledns/cmd/shuffledns@latest

#Requires massDNS to run

apt install massdns

#usage

1)Grab resolvers @ 

2)Run AltDNS first to get the altdns.txt file --> EG: altdns -i targets.txt -w perm.txt -o altdns.txt

3)shuffledns -l altdns.txt -r resolvers-community.txt -o final.txt

---Better option

#Using Wordlists and resolvers (see node below)

shuffledns -d target.com -w best-dns-wordlist.txt -r resolvers.txt

```
