Loading
Loading
Access historical DNS records (A, AAAA, MX, NS, SOA, SPF, TXT, CNAME) for any hostname or subdomain. Track changes over time with paginated results for comprehensive analysis.
The DNS History Lookup API provides historical DNS data essential for cybersecurity forensics, change auditing, compliance monitoring, domain migration tracking, and detecting DNS hijacking attempts.
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'.
host-namerequiredStringHostname or URL whose DNS records required.
typerequiredArrayA comma-separated list of DNS record types for lookup. The values can be A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, or all.
pageoptionalIntegerdefault: 1Page no. to retrieve paginated results.
A successful request returns a 200 OK response with a JSON object containing historical DNS records and pagination metadata. See the response preview on the right for the full JSON structure.
totalRecordsTotal number of historical 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 correct dns records type(s) [For Technical Support: support@apifreaks.com]
Please pass domain param correct value[For Technical Support: support@apifreaks.com]
No Record Found across: <HOSTNAME>
Unable to fetch dns records. Please try after some time. [For Technical Support email at: support@apifreaks.com]