Module 9 · OSINT and Information Gathering · Lesson 26 of 75

Domain and infrastructure reconnaissance

WHOIS, DNS records, zone transfers, certificate transparency, subdomain discovery and internet-scanner data, practised in a simulated terminal.

In this lesson · about 40 minutes

  • Map a domain's name servers, mail servers and subdomains
  • Explain what a zone transfer leaks and why it should be blocked
  • Use certificate transparency and scanner data to find exposed services

Tools and what they show

  • whois example.com: registrar, creation date, name servers (owner details are usually privacy-protected).
  • dig example.com ANY is often refused now; query types one at a time: A, MX, NS, TXT.
  • TXT records reveal SaaS providers through verification tokens (Google, Microsoft 365, Atlassian) and email policy (SPF, DMARC).
  • Zone transfer (dig axfr @ns1.example.com example.com): a mechanism for copying all records to a secondary DNS server. If a server allows it to anyone, it hands over the entire map. It should be restricted to the secondary servers.
  • Certificate transparency: all public certificates are logged. crt.sh/?q=%25.example.com lists names such as vpn.example.com, jira-test.example.com.
  • Subdomain tools: subfinder and amass combine dozens of passive sources; gobuster or dnsx can brute-force names (active).
  • Shodan / Censys: search by organisation, network range or certificate to see open ports, banners and versions.
  • Reverse lookups: which other domains share an IP; ASN lookups show the company's whole IP ranges.
  • Technology fingerprinting: whatweb or the Wappalyzer extension reveal web servers, frameworks and CMS versions.

Hands-on lab (simulated terminal)

Lab: map acme-lab.test

Authorised OSINT and DNS recon for the fictional company acme-lab.test, whose name servers are in scope. All output is simulated.

Step 1 of 5. Type each command and press Enter. Nothing runs on your computer.

kali@kali: ~

1. Find the domain's name servers (short output).

┌──(kali㉿kali)-[~]
└─$

Check your understanding0 of 3 correct

Question 1

1.Why are certificate transparency logs useful for recon?

Question 2

2.A DMARC record with p=none means...

Question 3

3.How should zone transfers be configured?

Quiz score: 0 of 3

Tip: answer every quiz question correctly first.

Written by Noviq Academy in its own words. All labs are simulations: no real systems are touched, and every name, address, password and hash is made up. The offensive techniques taught here are for defending systems and for authorised testing only; never scan, access or test a system without the owner's written permission. Tool and product names belong to their owners, and command output may differ slightly from yours. Read-aloud uses your device's built-in voices.