Enumerate DNS Records
Enumerate DNS records for a list of hostnames, IP addresses, or IP ranges
Category
Attack Surface Management
Inputs
hosts
file
requiredList 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
, andPTR
records. - Identifies records with
NOERROR
,REFUSED
, orSERVFAIL
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