Tutorial — DNS and WHOIS basics
Last updated: October 21, 2026
Skill: domain-infrastructure-investigator
Time: ~20 minutes
Goal
See where a domain points and who registered it — using lawful queries only.
Steps
- Run
dig +short AandMXfor the domain (or use a reputable web DNS tool). - Check TLS certificate transparency logs for subdomains (crt.sh).
- Query WHOIS via RDAP where available; note registrar and dates.
- Respect GDPR redaction — absence of fields is normal.
- Log timestamp of query; WHOIS data changes.
- Do not run aggressive scanning without authorization.
Why RDAP, and what certificate logs add
ICANN, which oversees the domain name system, describes the Registration Data Access Protocol (RDAP) as a protocol that delivers WHOIS-like registration data in standardized query and response formats, with support for internationalized data, secure access and a way to find the authoritative server for a domain. As of 28 January 2025, registries and registrars for generic top-level domains (gTLDs) must provide RDAP and are no longer required to run WHOIS. A WHOIS lookup that returns nothing for a gTLD domain may only mean that the old service has been switched off. Repeat the query through RDAP before you record a gap, and note which protocol answered.
Certificate Transparency (CT) logs, used in step 2, are the second public record. TLS certificates are recorded in logs that are built on Merkle trees and are publicly verifiable, append-only and tamper-proof; the CT project reports more than 2.5 billion certificates logged since 2013, and independent organizations run the logs and the monitors that watch them. Because a certificate names the hostnames it covers, a CT search such as crt.sh surfaces subdomains — staging sites, mail hosts, an old campaign microsite — that a DNS query will not list. Read the result narrowly: a certificate shows that someone controlled a name when the certificate was issued. It does not show who, and it does not show that the host is still running.
Pitfalls
- Privacy proxy is not proof of wrongdoing.
- Shared hosting IP ≠ co-ownership.
Next steps
- Tutorial — SpiderFoot recon overview for orchestrated OSINT (policy permitting)
Sources
- ICANN, Registration Data Access Protocol (RDAP) — the 28 January 2025 WHOIS sunset for gTLDs.
- Certificate Transparency project, certificate.transparency.dev — how logs and monitors work.
Expanded with AI research and drafting assistance from the primary sources cited; editorial review pending.
