DNS and subdomains · 08 FAQ

DNS and subdomains: frequently asked questions

Short answers to the most common questions about DNS, records and subdomains in open-source investigations.

What is a subdomain?

A name under the main domain, such as shop.example.com, which can point to a different server or service.

How do you find a site’s subdomains?

Mainly with public certificate logs and passive DNS archives, without interacting with the site.

What does a TXT record reveal?

Often which services the domain uses: mail, analytics tools, work platforms, ownership verifications.

Can you find the real address of a site behind Cloudflare?

Sometimes, with historical DNS or unprotected subdomains; often not.

Is looking for subdomains legal?

Consulting public sources is; trying to get into the systems found is not.

Why is the SPF record useful in an investigation?

Because it lists the servers authorised to send mail for the domain, revealing providers and sometimes links with other domains.

The pages of this topic

Back to the overview
01 How it works

DNS 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.

02 Technique

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.

03 Sources

DNS and subdomains: sources

The sources for DNS research: authoritative servers, Certificate Transparency logs, passive DNS, search engines, web archives, SPF and DMARC records.

04 Tools

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.

05 Worked example

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.

06 Legal and ethical limits

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.

07 How to document

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.

↑