🔍

Lookup All Records

Query all common DNS record types for a domain in a single call.

GET /v1/lookup/all
curl "https://dns.toolkitapi.io/v1/lookup/all?domain=toolkitapi.io"
import httpx

resp = httpx.get(
    "https://dns.toolkitapi.io/v1/lookup/all?domain=toolkitapi.io",
)
print(resp.json())
const resp = await fetch("https://dns.toolkitapi.io/v1/lookup/all?domain=toolkitapi.io", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response 200 OK
{
  "domain": "toolkitapi.io",
  "record_types_queried": ["A", "AAAA", "MX", "TXT", "NS", "SOA", "CNAME", "CAA", "SRV"],
  "record_types_found": ["A", "AAAA", "MX", "TXT", "NS", "SOA"],
  "total_records": 11,
  "results": [
    {
      "type": "A",
      "records": [{"type": "A", "name": "toolkitapi.io.", "ttl": 3600, "value": "93.184.216.34", "priority": null}]
    },
    {
      "type": "MX",
      "records": [{"type": "MX", "name": "toolkitapi.io.", "ttl": 3600, "value": "mail.toolkitapi.io.", "priority": 10}]
    }
  ],
  "query_time_ms": 87.3
}

Try It Live

Live Demo

Description

Query all common DNS record types for a domain in a single call.

How to Use

1

1. Pass the target domain in the `domain` query parameter.

2

2. Send a GET request — no `type` parameter needed since all types are checked automatically.

3

3. Review the `record_types_found` array to see which record types exist, and `results` for full details.

About This Tool

Lookup All Records queries every common DNS record type (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV) for a domain in one request. Instead of making nine separate lookups, you get a complete picture of a domain's DNS configuration instantly. Only record types that actually exist are returned.

This is the fastest way to audit a domain's DNS setup or get a baseline snapshot before making changes.

Why Use This Tool

Frequently Asked Questions

Which record types are checked?
A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, and SRV. These cover the vast majority of DNS configurations.
What if a record type doesn't exist?
It's simply omitted from the results. The `record_types_found` array shows only types with actual records.
Is this slower than a single lookup?
Queries run concurrently, so total time is typically under 100ms — only slightly slower than a single-type lookup.

Start using Lookup All Records now

Get your free API key and make your first request in under a minute.