Back to lessonhackingpath / lab
Capture the FlagMedium

Name Resolution Secret

Lab for DNS on Linux, localhost & URL Anatomy

Scenario

Before DNS is queried, Linux checks /etc/hosts. Someone added an internal-only name there that resolves to a private host. Read the mapping, then request the site by name.

Objective

Find the internal hostname mapped locally and browse to it.

lab ~ name resolution secretnothing real runs
booting lab sandbox…

This sandbox is fully emulated in your browser, nothing real runs and nothing leaves your machine. Type help to see the tools available.