Subdomain enumeration - inlanefreight.com

Hello everyone, so I am doing the subdomain bruteforcing enumeration. Where I have to do the following exercise:

“Using the known subdomains for inlanefreight.com (www, ns1, ns2, ns3, blog, support, customer), find any missing subdomains by brute-forcing possible domain names. Provide your answer with the complete subdomain, e.g., www.inlanefreight.com.”

The only one I can find that is not on the list is my.inlanefreight.com but that is not the one they are looking for.

I will list several thing I have tried.

dnsenum --enum inlanefreight.com -f  /usr/share/seclists/Discovery/DNS/subdomains-top1million-20000.txt -r

gobuster dns -d inlanefreight.com -w /usr/share/wordlists/seclists/Discovery/DNS/subdomains-top1million-20000.txt

amass enum -d inlanefreight.com -active -passive

I tried more things, but this should give you an idea. I also tried changing the name server in resolv.conf to 1.1.1.1 cause a different forum post, about this. Where someone mentioned you should change nameserver to 1.1.1.1 and then run dnsenum again. That also didn’t work.

I hope someone can help me.

Thank you in advance.

As it goes with gobuster, using dns will not be useful since the machine is not registered by any DNS server, it is only virtual.
Use gobuster vhost to enumerate subdomains in virtual machines, CTF, or any scenario that a specific domain is not globally registered.

Hey there, thanks for the response. But inlanefreight.com is actually registered by htb on the world wide web, You can go and visit it. I can find other subdomains by using gobuster with dns.

Its not part of a virtual machine.

gobuster dns -d inlanefreight.com -w /usr/share/wordlists/seclists/Discovery/DNS/subdomains-top1million-20000.txt

I will find:

www.inlanefreight.com
ns1.inlanefreight.com
ns2.inlanefreight.com
ns3.inlanefreight.com
blog.inlanefreight.com
support.inlanefreight.com
customer.inlanefreight.com
my.inlanefreight.com

None of these are correct for the answer for the exercise.

Oke so I just solved this myself, I want everyone thats reading in the future to notice that the answer is right in front of you. But just give up the right format as an answer. And don’t give up a fully qualified domain name… I wasted a few hours on this while that was totally unecessary.

1 Like

Sometimes? A trailing blank space can cause a bad day.

which is the format of the answer?

hi there , im having the same issue , did you find the correct format ?

No, but if someone solves it please explain how

I finally have the solution, remove the “.” at the end of the answer and there you have it.