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.
typerequiredStringReverse Lookup type for specific DNS record. Possible values are: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME.
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).
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.
reverseDnsRecordsArray of reverse DNS record entries. Each entry represents a domain-to-DNS-records mapping.
Each reverse DNS entry object contains the following fields:
queryTimeDate when the DNS snapshot was taken. (Format: YYYY-MM-DD)
domainNameQueried domain name with trailing dot.
dnsTypesDNS record types included in this entry.
dnsRecordsDNS records associated with this domain.
Each A or AAAA record object within an entry contains:
nameName of the queried domain.
typeDNS type code (e.g., 1 for A, 28 for AAAA).
dnsTypeDNS type as a string (e.g., "A", "AAAA").
ttlTime to live in seconds.
rawTextRaw (un-parsed) DNS record text.
rRsetTypeIndicates the resource record set type.
addressIPv4 or IPv6 address for A or AAAA records respectively.
Each CNAME record object within an entry contains:
nameName of the queried domain.
typeDNS type code (e.g., 1 for A, 28 for AAAA).
dnsTypeDNS type as a string (e.g., "A", "AAAA").
ttlTime to live in seconds.
rawTextRaw (un-parsed) DNS record text.
rRsetTypeIndicates the resource record set type.
targetHost to which this domain points.
Each MX record object within an entry contains:
nameName of the queried domain.
typeDNS type code (e.g., 1 for A, 28 for AAAA).
dnsTypeDNS type as a string (e.g., "A", "AAAA").
ttlTime to live in seconds.
rawTextRaw (un-parsed) DNS record text.
rRsetTypeIndicates the resource record set type.
targetTargeted mail service provider.
priorityPriority level associated with the mail server.
Each NS record object within an entry contains:
nameName of the queried domain.
typeDNS type code (e.g., 1 for A, 28 for AAAA).
dnsTypeDNS type as a string (e.g., "A", "AAAA").
ttlTime to live in seconds.
rawTextRaw (un-parsed) DNS record text.
rRsetTypeIndicates the resource record set type.
singleNameName server for that particular domain.
Each SOA record object within an entry contains:
nameName of the queried domain.
typeDNS type code (e.g., 1 for A, 28 for AAAA).
dnsTypeDNS type as a string (e.g., "A", "AAAA").
ttlTime to live in seconds.
rawTextRaw (un-parsed) DNS record text.
rRsetTypeIndicates the resource record set type.
adminAdministrative contact email for SOA records.
hostPrimary name server for SOA records.
expireExpiry time for SOA records.
minimumThe minimum TTL for SOA records.
refreshIndicates the refresh interval for SOA records.
retryThe retry interval for SOA records.
serialThe serial number for SOA records.
Each SPF or TXT record object within an entry contains:
nameName of the queried domain.
typeDNS type code (e.g., 1 for A, 28 for AAAA).
dnsTypeDNS type as a string (e.g., "A", "AAAA").
ttlTime to live in seconds.
rawTextRaw (un-parsed) DNS record text.
rRsetTypeIndicates the resource record set type.
stringsList containing the verification strings.
The API uses standard HTTP status codes to indicate the success or failure of requests. For common status codes like 429 (Too Many Requests), refer to the general API documentation.
Invalid dns Record Type. Kindly use the supported record types.
Please provide valid Ipv4 Address or CIDR Notation
No Record Found.
Unable to fetch dns records. Please try after some time.
Service is unavailable.
Request is timed-out.