Getting started - Web enumeration - DNS Subdomain Enumeration

I was trying to use the DNS mode in gobuster for Web enumeration and I am getting this error-

What am I doing wrong here?

It looks like you are having a DNS issue. gobuster tries to resolve the IP address and cannot. Do they recommend using a domain name in the exercise? If so I would add it to the /etc/hosts file then sub that out in the gobuster command.

I have never tried subdomain enumeration with gobuster so I can’t make any recommendations there. I have only ever used FFuF for it.

Got this answer through the htb dicord -

dns option in gobuster is for domain not ip

Stupid question, my bad :man_facepalming:

No worries dude! You are probably not the first to ask it!

1 Like