Skip to main content
Attack Surface Management
Created bytrickest-mhmdiaa
Last updated7/4/2024

Input Parameters

file
required
List of hostnames/IP addresses/IP ranges

Outputs

dns-recordsresolving-hostnamesip-address-detailsip-addressessubdomainssubdomain-detailspotential-hostnamespotential-hostname-detailssubdomain-wildcardssubdomain-wildcard-detailspotential-hostname-wildcardspotential-hostname-wildcard-details

Enumerate DNS Records

Description

Enumerate DNS records for a list of hostnames, IP addresses, or IP ranges. Then, analyze the results to gather additional relevant data such as resolving hostnames, IP addresses, and associated hostnames.

Features

  • Enumerates A, AAAA, CNAME, MX, NS, TXT, CAA, and PTR records.
  • Identifies records with NOERROR, REFUSED, or SERVFAIL return codes.
  • Capable of processing tens of thousands of hostnames simultaneously.
  • Discovers additional hostnames associated with the target organization.
  • Includes a precompiled list of trusted DNS resolvers.

Inputs

Required

  • hosts: a list of hostnames, IP addresses, or IP ranges

Outputs

  • dns-records: JSONLines DNS records.
  • resolving-hostnames: List of hostnames that have at least one valid DNS record
  • ip-address-details: JSONLines records of IP address discovery details
  • ip-addresses: List of IP addresses
  • subdomains: List of discovered subdomains
  • subdomain-details: JSONLines records of subdomain discovery details.
  • potential-hostnames: List of related hostnames outside the strict scope.
  • potential-hostname-details: JSONLines records of potential hostname discovery details.
  • subdomain-wildcards: List of discovered subdomain wildcards.
  • subdomain-wildcard-details: JSONLines records of subdomain wildcard discovery details.
  • potential-hostname-wildcards: List of related hostnames with wildcards outside the strict scope.
  • potential-hostname-wildcard-details: JSONLines records of potential hostname wildcard discovery details.
Note: The *-details outputs may contain duplicates if a hostname was discovered in multiple records.

Changelog

  • v1.0.0
    • Initial release
  • v1.0.1
    • Remove duplicate DNS records from the output