Purpose
Retrieve historical DNS records for the engagement domain to find IP addresses that once pointed to the target but are no longer in the current scan. Old IPs may host staging environments or bypass CDN/WAF layers.
Output
recon/dns-history-<domain>.json— historical A/CNAME records per subdomain, timestamps where available, and a list of IPs that appear in history but not inrecon/summary.json.
CLI
mg-dns-history acme-bounty
mg-dns-history acme-bounty --api-key $KEY
Notes
- SecurityTrails is the primary source when
--api-keyor$MG_SECURITYTRAILS_KEYis set. - Without a key, the tool falls back to HackerTarget’s free tier, which has lower rate limits and less history depth.
- Cross-referencing against
recon/summary.jsonis automatic; the diff is listed understale_ipsin the output. - Stale IPs are not automatically added to scope; review them manually before scanning.