DNS and subdomains: guided example
A guided example on three fake review sites: identical verification codes, the same email sending service, subdomains with the same naming pattern, a historical address shared with a marketing agency.
Example built for teaching purposes.
A company finds three “independent review” sites attacking it, apparently run by different people. An analyst examines the DNS of the three domains.
| Check | Result | What it means |
|---|---|---|
| TXT records | The same analytics service verification code on the three domains and on a fourth registered to a marketing agency | A strong clue of common management |
| SPF | All four authorise the same small email sending service | A consistent clue |
| MX | Same mail provider, a very common one | Proves nothing on its own |
| Subdomains in certificates | “client-area” and “staging” with the same pattern on all four | A clue to the same developer |
| Historical DNS | Before moving behind a CDN, two of the sites pointed to the agency’s IP address | A strong clue of shared infrastructure |
The report lists the clues distinguishing their strength, with captures of the sources and dates, and is handed to the company’s lawyer. No panel was visited and no system queried beyond public sources.
DNS and subdomains: limits
The limits of DNS research: CDNs and proxies, incomplete passive DNS, wildcard certificates, outdated data, services shared by millions of domains, active techniques that get noticed, legal limits on accessing systems.
The pages of this topic
Back to the overviewDNS and subdomains: how it works
How name resolution works, what a subdomain is, why subdomains are not listed anywhere and which sources reveal them: certificate logs, passive DNS, search engines, domain records.
DNS and subdomains: technique
The technique for analysing a domain’s DNS: basic records, reading SPF, DMARC and verification codes, subdomains from certificates and passive DNS, infrastructure, addresses behind CDNs, elements shared between domains.
DNS and subdomains: sources
The sources for DNS research: authoritative servers, Certificate Transparency logs, passive DNS, search engines, web archives, SPF and DMARC records.
DNS and subdomains: tools
The tools for analysing DNS and subdomains: dig and nslookup, crt.sh, Amass and Subfinder, graphical maps, passive DNS platforms, link analysis tools.
DNS and subdomains: how to document
How to document DNS research: responses saved with date and resolver, exports from certificate logs, passive DNS captures with source and dates, a table of clues and their strength.
DNS and subdomains: frequently asked questions
Short answers to the most common questions about DNS, records and subdomains in open-source investigations.