HackBlue

Labs / DNS investigation

A subdomain pointing at nothing

One shop.example subdomain still has a CNAME to a cloud app that was deleted. Find it before someone else registers the name and serves content under your domain.

  • Terminal mission
  • Beginner
  • 3 objectives
  • 0 of 3 solved

What you’re looking at

One shop.example subdomain still has a CNAME to a cloud app that was deleted. Find it before someone else registers the name and serves content under your domain.

Your goal: Find the subdomain whose alias points at a deleted cloud app, before someone else claims the name.

Briefing
the story: what happened and what evidence you were handed.
Terminal
the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
Walkthrough
the numbered path. Each step says what to type and what you should see. Hints open one at a time.
Answer boxes
under each question step. Type what you found and press Check.

Words you will meet

CNAME
canonical name, a DNS alias that points one name at another
DNS
Domain Name System, which turns names into addresses

Start with step 1 in the walkthrough. Every step says what to do and what you should see. The whole thing takes about 2 min to talk through.

Briefing

Marketing ran a spring promotion on a hosted web app and then deleted the app. Nobody removed the DNS record.

A CNAME that points at a name which no longer exists is called dangling. If the cloud provider lets anyone claim that app name, they can serve pages on your subdomain. Check every name in the inventory with dig.

analyst@dns-audit

dns-audit · DNS investigation

Type help for the command list and objectives for your tasks. Everything runs in this browser.

Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.

The whole walkthrough

Every step in order, written to be read aloud: 288 words, about 2 min. It gives away every answer, so try the steps first.