Whenever I attempt any machines on HTB, I use the provided VPN. I am able to reach the machine and run a succesful and accurate port scan on the system. I can make a connection to the machines’ HTTP-related ports. The web server running on the machine usually replies with a 301 redirect to whatever *.htb domain the machine was given. When my VM attempts to make the request to that domain, I am returned with my router’s web portal, and the router is my VM’s DNS server. Correct me if I am wrong, but this indicates a failure to properly resolve the *.htb domain. So my questions are:
- Is there a specific HTB name server I am supposed to be using during the labs?
- Has anyone else experienced this and do you have a solution to the problem?