nano/etc/resolv.conf# Then add nameserver ex : 10.10.10.29
Subdomain Brute Forcing
for sub in $(cat/usr/share/SecLists/Discovery/DNS/subdomains-top1million-110000.txt);do dig $sub.<DOMAIN> @<IP>|grep-v';\|SOA'|sed-r'/^\s*$/d'|grep $sub |tee-asubdomains.txt;donednsenum--dnsserver<IP>--enum-p0-s0-osubdomains.txt-f/usr/share/SecLists/Discovery/DNS/subdomains-top1million-110000.txt<DOMAIN>