Skip to content
Back to Blog
SecurityMarch 2, 2026ยท10 min read

Domain Scanner: Understanding Domain Intelligence & Reconnaissance

Learn what information is publicly available about any domain โ€” DNS, WHOIS, subdomains, technologies, and security configuration.

Multiple monitors representing domain reconnaissance

A domain scanner aggregates publicly available intelligence โ€” DNS records, WHOIS data, SSL certificates, HTTP headers, and technology fingerprints โ€” into a comprehensive profile of any domain. Used defensively, it reveals your own attack surface before adversaries find it. This guide covers what domain reconnaissance uncovers, how each technique works, and the ethical framework for responsible scanning.

What Is Domain Reconnaissance?

๐Ÿ“– Definition โ€” Domain reconnaissance (or domain intelligence) is the systematic collection and analysis of publicly available information about a domain to understand its infrastructure, technology stack, and security posture โ€” without sending exploitation payloads or intrusive probes.

This is passive reconnaissance โ€” gathering intelligence that the domain itself makes publicly available through DNS, WHOIS, SSL, HTTP headers, and public databases. It's the first step in any security assessment and a critical practice for defenders who want to understand what adversaries can learn about their organization.

What OSINT Reveals

A comprehensive domain scan aggregates multiple data sources into a unified intelligence profile:

Data SourceWhat It RevealsRisk Level
DNS Records (A, MX, NS, TXT)IP addresses, mail providers, nameservers, SPF/DKIM/DMARC configMedium
WHOISRegistrar, registration dates, registrant info (if not redacted), nameserversLow
SSL/TLS CertificatesCertificate authority, validity period, SANs (alt domains), organization nameMedium
Certificate Transparency LogsAll certificates ever issued for the domain โ€” reveals subdomainsHigh
HTTP HeadersServer software, framework versions, security headers, caching behaviorMedium
Technology FingerprintingCMS, JavaScript frameworks, analytics, CDN, hosting providerMedium
Subdomain EnumerationInternal services, dev/staging environments, forgotten infrastructureHigh

DNS Enumeration

DNS is the foundation of domain intelligence. A complete DNS enumeration queries all relevant record types to map the domain's infrastructure:

# Full DNS enumeration
dig example.com A +short          # Web server IPs
dig example.com AAAA +short       # IPv6 addresses
dig example.com MX +short         # Mail servers
dig example.com NS +short         # Authoritative nameservers
dig example.com TXT +short        # SPF, DKIM selectors, verification records
dig example.com SOA +short        # Zone authority and serial
dig example.com CNAME +short      # Aliases (CDN indicators)
dig _dmarc.example.com TXT +short # DMARC policy

What DNS Records Reveal

  • MX records โ†’ Email provider (Google Workspace, Microsoft 365, Proton Mail, self-hosted)
  • NS records โ†’ DNS hosting (Cloudflare, AWS Route 53, registrar defaults)
  • TXT records โ†’ Third-party service verifications (Google, Facebook, Atlassian), SPF authorized senders
  • CNAME records โ†’ CDN usage, SaaS integrations, subdomain delegation
  • A records โ†’ Hosting provider (via IP-to-ASN mapping), whether behind a CDN/proxy

WHOIS Intelligence

WHOIS provides domain registration metadata. While GDPR WHOIS redaction (post-2018) has reduced the personal information available, significant intelligence remains:

  • Registration and expiration dates โ€” Recently registered domains are suspicious; nearing-expiration domains may be neglected
  • Registrar โ€” Certain registrars are favored by specific threat actor groups
  • Nameserver history โ€” Changes correlate with hosting migrations or domain takeover
  • Registrant organization โ€” When not redacted, reveals the owning entity

โ„น๏ธ Even with GDPR redaction, the registrar's abuse contact remains visible. Historical WHOIS records (via services like DomainTools or SecurityTrails) often contain pre-redaction registrant details.

SSL Certificate Analysis

An SSL/TLS certificate contains rich metadata about a domain's identity and infrastructure:

# Inspect a site's certificate
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -text

# Quick: subject, issuer, dates, SANs
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null |   openssl x509 -noout -subject -issuer -dates -ext subjectAltName

Key Intelligence from Certificates

  • Subject Alternative Names (SANs) โ€” Lists all domains the certificate covers, revealing related domains and subdomains
  • Certificate Authority โ€” Let's Encrypt suggests automated issuance; extended validation (EV) certs reveal the legal entity
  • Validity period โ€” Short-lived certs (90 days) indicate automated renewal; long-lived certs may indicate enterprise infrastructure
  • Key size and algorithm โ€” Weak keys (RSA <2048-bit) or outdated algorithms indicate poor security practices

Certificate Transparency

๐Ÿ“– Definition โ€” Certificate Transparency (CT) is a public logging framework (RFC 6962) that requires Certificate Authorities to log each issued certificate to publicly auditable append-only logs. This creates a searchable record of every certificate issued for any domain.

CT logs are a powerful subdomain enumeration source because they capture certificates for internal and staging subdomains that the organization may not intend to be publicly visible.

# Search CT logs via crt.sh
curl -s "https://crt.sh/?q=%.example.com&output=json" |   jq -r '.[].name_value' | sort -u

โš ๏ธ CT logs are permanent and public. If you issue a certificate for internal-admin.example.com, that hostname is now visible to anyone searching CT logs โ€” even if it's not publicly resolvable.

Technology Detection

Technology fingerprinting identifies the software stack behind a domain by analyzing HTTP headers, HTML content, JavaScript libraries, and other observable signals:

SignalTechnology RevealedExample
Server headerWeb servernginx/1.24.0, Apache/2.4.57
X-Powered-By headerApplication frameworkExpress, PHP/8.2, Next.js
HTML meta tags / generatorsCMSWordPress 6.4, Drupal
JavaScript file pathsFrontend frameworks_next/static, wp-includes
Cookie namesPlatformPHPSESSID, ARRAffinity (Azure)
X-Cache / CF-RayCDNCloudflare, Varnish, Fastly

๐Ÿ’ก Defensive tip: Remove or generalize version-revealing headers in production. In nginx: server_tokens off;. In Express: app.disable('x-powered-by');. Obscurity isn't security, but it eliminates low-hanging enumeration fruit.

Security Posture Assessment

Scanning a domain's security configuration reveals how well it's hardened against common attacks:

HTTP Security Headers

HeaderPurposeMissing = Risk
Strict-Transport-SecurityEnforce HTTPSDowngrade / MITM attacks
Content-Security-PolicyPrevent XSS / injectionCross-site scripting
X-Content-Type-OptionsPrevent MIME sniffingContent type confusion
X-Frame-OptionsPrevent clickjackingUI redress attacks
Permissions-PolicyControl browser featuresCamera/mic/geolocation abuse

Email Security Records

  • SPF โ€” Defines authorized mail senders (TXT record)
  • DKIM โ€” Cryptographic signature on outbound mail
  • DMARC โ€” Policy for SPF/DKIM failures with reporting
  • MTA-STS โ€” Enforces TLS for inbound mail delivery

Subdomain Enumeration

Subdomains often expose forgotten, unpatched, or internal services. Enumeration techniques range from passive to semi-active:

  • Certificate Transparency โ€” Search crt.sh for all issued certificates (passive)
  • DNS zone transfer โ€” Request AXFR from nameservers (usually blocked, but worth testing: dig axfr example.com @ns1.example.com)
  • Search engine dorking โ€” site:example.com -www reveals indexed subdomains
  • Public datasets โ€” SecurityTrails, VirusTotal, Shodan maintain historical subdomain data
  • DNS brute-forcing โ€” Dictionary-based resolution of common subdomain names (active; request permission)

๐Ÿšจ Active subdomain brute-forcing generates thousands of DNS queries and may trigger rate limiting or security alerts. Always obtain written authorization before scanning domains you don't own.

Attack Surface Mapping

Combining all reconnaissance data produces an attack surface map โ€” a comprehensive inventory of an organization's externally visible assets and their security posture:

1. Asset Discovery โ€” Enumerate all domains, subdomains, IPs, and services associated with the organization.

2. Service Identification โ€” Map open ports, running services, and application versions on each asset.

3. Configuration Analysis โ€” Check security headers, TLS configuration, DNS security, and authentication mechanisms.

4. Vulnerability Correlation โ€” Match identified software versions against CVE databases for known vulnerabilities.

5. Risk Prioritization โ€” Rank findings by severity and exploitability. Focus on internet-facing, unpatched, or misconfigured assets first.

Defensive teams should perform this exercise quarterly and after any significant infrastructure change (new services, migrations, acquisitions).

Ethical & Legal Considerations

โš ๏ธ Reconnaissance legality varies by jurisdiction. Passive information gathering (DNS, WHOIS, CT logs) is generally legal. Active scanning (port scanning, brute-forcing) may violate computer fraud laws if performed without authorization.

  • Own assets only โ€” Scan your own domains freely. For third parties, get explicit written permission.
  • Passive first โ€” CT logs, WHOIS, DNS, and HTTP header analysis are non-intrusive and publicly available.
  • Bug bounty scope โ€” If a domain has a bug bounty program, stay within the defined scope and rules of engagement.
  • No exploitation โ€” Reconnaissance is about discovery, not exploitation. Never attempt to access or modify systems you discover.
  • Responsible disclosure โ€” If you find a vulnerability on someone else's domain, report it through their security contact or bug bounty program.

Best Practices

๐Ÿ’ก Run a domain scan against your own organization monthly. Treat it as a self-assessment โ€” if you find something surprising (an unknown subdomain, a missing security header, an exposed staging server), your adversaries have already found it too.

  • Scan your own domains regularly and before launches to catch misconfigurations early
  • Remove or restrict version-revealing headers and unnecessary DNS TXT records
  • Use wildcard certificates or private CAs for internal subdomains to limit CT log exposure
  • Enable WHOIS privacy to reduce personal information leakage
  • Implement all HTTP security headers (HSTS, CSP, X-Content-Type-Options, X-Frame-Options)
  • Configure SPF, DKIM, and DMARC on all domains โ€” including domains that don't send email (use v=spf1 -all)
  • Decommission unused subdomains to prevent subdomain takeover vulnerabilities
  • Monitor Certificate Transparency logs for unauthorized certificate issuance (services like CertSpotter)

Common Mistakes

MistakeConsequenceFix
Leaving staging/dev subdomains publicly resolvableExposes unprotected servicesUse private DNS or VPN-only access for internal services
Exposing server versions in HTTP headersAttackers target known CVEs for that versionDisable version disclosure in server config
Issuing public certs for internal hostnamesSubdomains visible in CT logs foreverUse private CA or wildcard certs for internal names
No DMARC on parked/non-mail domainsDomain can be spoofed for phishingAdd v=DMARC1; p=reject; and v=spf1 -all
Forgetting to remove DNS records after decommissioningDangling CNAME โ†’ subdomain takeoverAudit DNS records quarterly; remove stale entries
Assuming WHOIS privacy hides everythingHistorical records, NS, and registrar still visibleUnderstand what privacy does and doesn't protect

Tools

๐Ÿ” Domain Scanner โ€” Comprehensive domain intelligence: DNS, WHOIS, SSL, headers, and technology detection in one scan.

๐ŸŒ DNS Lookup โ€” Query all DNS record types from multiple global resolvers.

๐Ÿ”’ SSL Checker โ€” Analyze certificate details, chain validity, expiration, and TLS configuration.

๐Ÿ›ก๏ธ Security Scanner โ€” Audit HTTP security headers and common web security misconfigurations.

๐Ÿ“ Website to IP โ€” Resolve domains to IP addresses with geolocation and hosting provider details.

References

๐Ÿš€ Free ToolZilla tools used in this article

All client-side, no signup, no upload โ€” open them in a new tab while you read:


๐ŸŽฏ Key Takeaway โ€” Domain scanning reveals everything an organization makes publicly visible: infrastructure, technology, security configuration, and forgotten assets. Run it against your own domains to discover your attack surface before adversaries do. Pair regular self-assessment with proactive hardening โ€” remove version headers, decommission stale subdomains, enforce security headers, and monitor CT logs for unauthorized certificate issuance.

Continue Reading

Related Articles

Free & Private

Explore Our Free Tools

40+ browser-based utilities โ€” fast, private, and always free. No sign-up required.

Browse All Tools