VI

ViewDNS

global API

ViewDNS

Type: domain
Module: ViewDns

Capabilities

Reverse IP Lookup DNS Record Lookup IP History Reverse Whois Port Scanner DNS Propagation Check Abuse Contact Lookup MAC Address Lookup

Try ViewDNS

API Endpoint

Results

Overview

ViewDNS provides a comprehensive suite of DNS and IP intelligence tools widely used for domain research, infrastructure mapping, and digital forensics. The platform aggregates over 20 individual tools into a single API, making it a versatile resource for OSINT investigations that require DNS-level intelligence.

The reverse IP lookup capability is particularly valuable -- it reveals all domains hosted on a single IP address, which is essential for identifying shared hosting relationships, mapping threat actor infrastructure, and discovering related domains. The IP history feature tracks how a domain's hosting has changed over time, creating a timeline of infrastructure moves that can reveal organizational changes, migrations, or efforts to evade detection.

ViewDNS also maintains historical Whois data, enabling investigators to track domain ownership changes and identify patterns across multiple domains registered by the same entity. This makes it a key tool in the intelligence chain between DNS-level discovery and deeper entity investigation.

Data Coverage

Data TypeDescription
Reverse IPAll domains hosted on a given IP address
DNS RecordsA, AAAA, MX, NS, TXT, SOA, CNAME records
IP HistoryHistorical IP addresses for a domain
Reverse WhoisDomains registered by the same entity
Port ScanOpen port detection for a target IP
DNS PropagationGlobal DNS resolution from multiple locations
Abuse ContactISP abuse contact for IP addresses
DNSBL CheckDNS-based blocklist status for an IP

Intelligence Chain

Domain input
    |
    v
DNS Record Lookup --> Resolve to IP(s)
    |
    v
Reverse IP --> Find co-hosted domains
    |
    v
IP History --> Track infrastructure changes
    |
    v
Reverse Whois --> Identify registrant's other domains
    |
    v
Cross-reference with Shodan, Censys, crt.sh

Integration with Prismatic

ViewDNS provides critical DNS-layer intelligence for the Prismatic Perimeter attack surface discovery and feeds into the OSINT Core multi-source enrichment pipeline.

# Reverse IP lookup - find all domains on an IP
{:ok, domains} = ViewDns.reverse_ip("93.184.216.34")
# => %{
#   ip: "93.184.216.34",
#   domain_count: 47,
#   domains: ["example.com", "example.net", "example.org", ...]
# }

# Get DNS records
{:ok, records} = ViewDns.dns_record("example.com", type: :all)
# => %{
#   a: ["93.184.216.34"],
#   aaaa: ["2606:2800:220:1:248:1893:25c8:1946"],
#   mx: [%{priority: 10, host: "mail.example.com"}],
#   ns: ["ns1.example.com", "ns2.example.com"],
#   txt: ["v=spf1 include:_spf.google.com ~all"]
# }

# IP address history for a domain
{:ok, history} = ViewDns.ip_history("example.com")
# => [
#   %{ip: "93.184.216.34", location: "US", owner: "Edgecast", last_seen: "2025-12-01"},
#   %{ip: "72.21.91.8", location: "US", owner: "Amazon", last_seen: "2023-06-15"}
# ]

# Reverse Whois - find domains by registrant
{:ok, related} = ViewDns.reverse_whois("John Doe")

# Check DNS propagation globally
{:ok, propagation} = ViewDns.dns_propagation("example.com")

# Get abuse contact for an IP
{:ok, abuse} = ViewDns.abuse_contact("1.2.3.4")

# DNSBL blocklist check
{:ok, blocklist} = ViewDns.dnsbl_check("1.2.3.4")

Infrastructure Mapping Pipeline

defmodule PrismaticPerimeter.Discovery.InfrastructureMapper do
  @moduledoc """
  Maps domain infrastructure using DNS intelligence from ViewDNS.
  Discovers co-hosted domains and tracks infrastructure changes.
  """

  def map_infrastructure(domain) do
    with {:ok, dns} <- ViewDns.dns_record(domain, type: :all),
         {:ok, reverse} <- ViewDns.reverse_ip(hd(dns.a)),
         {:ok, history} <- ViewDns.ip_history(domain),
         {:ok, subdomains} <- Crtsh.enumerate_subdomains(domain) do
      {:ok, %{
        domain: domain,
        current_ip: hd(dns.a),
        co_hosted_domains: reverse.domain_count,
        shared_hosting: reverse.domain_count > 10,
        ip_changes: length(history),
        infrastructure_timeline: history,
        subdomains: subdomains,
        dns_records: dns,
        risk_indicators: assess_dns_risk(dns, reverse, history)
      }}
    end
  end

  defp assess_dns_risk(dns, reverse, history) do
    risks = []
    risks = if reverse.domain_count > 100, do: [:high_density_hosting | risks], else: risks
    risks = if length(history) > 5, do: [:frequent_ip_changes | risks], else: risks
    risks = if missing_spf?(dns), do: [:no_spf_record | risks], else: risks
    risks
  end
end

Rate Limits and Access

TierQueries/DayFeatures
Free250Web interface only, limited tools
API Basic1,000API access, all tools
API Pro10,000Priority processing, bulk queries
EnterpriseUnlimitedDedicated support, custom integration

Authentication

API key required for all programmatic access. Free web interface available without registration.

Use Cases

Attack Surface Discovery

  • Map all domains hosted on the same infrastructure as a target
  • Discover shadow IT through reverse IP and reverse Whois lookups
  • Track infrastructure migrations and hosting changes over time

Threat Actor Infrastructure Analysis

  • Identify co-hosted malicious domains on the same IP
  • Track domain-to-IP changes to follow threat actor infrastructure pivots
  • Cross-reference with Shodan port data for full infrastructure profiles

Digital Forensics

  • Build historical timelines of domain infrastructure changes
  • Identify registrant patterns across multiple domains
  • Verify domain ownership claims against Whois records
  • Censys - Internet-wide scanning with certificate and host data
  • Shodan - Port scanning and service banner analysis
  • crt.sh - Certificate Transparency for subdomain discovery
  • Spyse - DNS, certificate, and domain intelligence
  • URLScan - URL-level analysis for discovered domains

Tool Inventory

ViewDNS aggregates over 20 individual DNS and IP tools into a single interface and API:

ToolDescriptionPrimary Use Case
Reverse IPFind all domains on an IPCo-hosted domain discovery
IP HistoryTrack IP address changes over timeInfrastructure timeline
DNS LookupQuery all DNS record typesStandard DNS reconnaissance
Reverse WhoisFind domains by registrantEntity mapping
Port ScannerCheck open ports on an IPService enumeration
DNS PropagationCheck DNS from global locationsMigration verification
DNSBL CheckBlocklist status for an IPReputation assessment
Abuse ContactISP abuse reporting contactIncident response
Whois LookupStandard WHOIS queryDomain registration data
TracerouteNetwork path analysisRoute investigation
PingHost availability checkBasic reachability test
MAC LookupMAC address vendor identificationDevice manufacturer lookup
HTTP HeadersRemote HTTP header inspectionServer configuration analysis
DNS ReportComprehensive DNS health checkDNS configuration audit
Reverse NSFind domains using specific nameserversHosting provider mapping
Reverse MXFind domains using specific mail serversEmail infrastructure mapping

DNS Risk Indicators

ViewDNS data enables identification of several DNS-level risk factors:

Risk IndicatorDetection MethodSignificance
High-density hostingReverse IP shows 100+ domainsShared hosting, attribution difficulty
Frequent IP changesIP history shows 5+ changes/yearPossible evasion or instability
Missing SPFDNS lookup shows no SPF TXT recordEmail spoofing vulnerability
Blacklisted IPDNSBL check returns positiveActive abuse from IP
Dangling DNSDNS points to non-existent IPPotential subdomain takeover
Same registrantReverse Whois links multiple domainsHidden organizational connections

Connect & Contribute

Created by Tomáš Korcak (korczis) | Open Source under GHL