Scan a domain, using a brute-force attack and a dictionary of subdomains and hostnames

dnsrecon

dnsrecon --domain {{example.com}} --dictionary {{path/to/dictionary.txt}} --type brt

click the source code to copy install dnsrecon on any operating system with command-not-found.com