Skip to main content
Back to challenges

OSINT · Programming

DNS Reconnaissance

Beginner · 2/5
FreeApprentice rank required35 points on first solo solve

Challenge brief

Parse the DNS records to extract all subdomains for target.com.

DNS Records

target.com.              A     192.168.1.1
www.target.com.          A     192.168.1.2
mail.target.com.         A     192.168.1.3
dev.target.com.          A     192.168.1.4
api.target.com.          A     192.168.1.5
secret.target.com.       A     192.168.1.6

Return sorted list of subdomains (not including root domain).

Output: Print the sorted Python list of subdomain names (e.g., ['api', 'dev', 'mail']).

Solo practice

Sign in to submit an answer and save your progress.

Sign in to practice