Loading
Loading
Retrieves all hostnames associated with specific DNS records (A, AAAA, MX, NS, SOA, SPF, TXT, CNAME). Identify domains hosted on an IP/CIDR, domains using specific name servers, or domains linked to mail providers.
The Reverse DNS Lookup API supports paginated results, exact matching, and wildcard pattern matching across all record types. Ideal for infrastructure discovery, security audits, and domain intelligence gathering.
Pass your API key as the apiKey parameter in every request.
This is version v1.0 of the API.
The following parameters can be used in your API requests. All parameters are passed as query string parameters.
formatoptionalStringdefault: jsonResponse format: 'json' (default) or 'xml'.
valuerequiredStringThe value to query. For A: IPv4 CIDR block. For AAAA: IPv6 CIDR block. For MX: MX record hostname (wildcards allowed). For NS: Name server hostname (wildcards allowed). For SOA: SOA admin host (wildcards allowed). For SPF/TXT: selector/value (wildcards allowed). For CNAME: target hostname (wildcards allowed).
typerequiredStringReverse Lookup type for specific DNS record. Possible values are: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME.
exactoptionalBooleandefault: falsetrue: Return only exact matches (NS, MX, CNAME, SOA, SPF, TXT). false: Return all matching records (default).
pageoptionalIntegerdefault: 1Page number for paginated results.
A successful request returns a 200 OK response with a JSON object containing reverse DNS records and pagination metadata. See the response preview on the right for the full JSON structure.
totalRecordsTotal number of reverse DNS records found.
totalPagesTotal number of pages for paginated results.
currentPageCurrent page number.
queryTime (String), domainName (String), dnsTypes (Object), dnsRecords (Array<Object>)
See the HTTP Status Codes documentation for a complete reference of common API errors and HTTP status codes.
Please provide valid Ipv4 Address or CIDR Notation
Invalid dns Record Type. Kindly use the supported record types.
No Record Found.
Unable to fetch dns records. Please try again [For Technical Support: support@apifreaks.com].