Using the -z option covers the process of obtaining sub-domains names while making brute force attacks. gobuster dns -d geeksforgeeks.org -t 100 -w /usr/share/wordlists/dirb/common.txt -z –wildcard