Lookup All Records
Query all common DNS record types for a domain in a single call.
/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
{
"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
Description
How to Use
1. Pass the target domain in the `domain` query parameter.
2. Send a GET request — no `type` parameter needed since all types are checked automatically.
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
- DNS audit — Get a complete snapshot of all records configured for a domain
- Migration prep — Export the full record set before switching DNS providers
- Troubleshooting — Quickly check what's configured when debugging email, web, or certificate issues
- Documentation — Generate a record inventory for compliance or handover
Frequently Asked Questions
Which record types are checked?
What if a record type doesn't exist?
Is this slower than a single lookup?
Start using Lookup All Records now
Get your free API key and make your first request in under a minute.