🔍

Bulk DNS Lookup

Resolve DNS records for up to 100 domains in a single call.

POST /v1/lookup/bulk
curl -X POST "https://dns.toolkitapi.io/v1/lookup/bulk?type=A" \
  -H "Content-Type: application/json" \
  -d '["toolkitapi.io", "google.com", "github.com"]'
import httpx

resp = httpx.post(
    "https://dns.toolkitapi.io/v1/lookup/bulk?type=A",
    json=["toolkitapi.io", "google.com", "github.com"],
)
print(resp.json())
const resp = await fetch("https://dns.toolkitapi.io/v1/lookup/bulk?type=A", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify(["toolkitapi.io", "google.com", "github.com"]),
});
const data = await resp.json();
console.log(data);
# See curl example
Response 200 OK
{
  "record_type": "A",
  "domains_queried": 3,
  "domains_resolved": 3,
  "results": [
    {"domain": "toolkitapi.io", "record_type": "A", "records": [{"type": "A", "name": "toolkitapi.io.", "ttl": 3600, "value": "93.184.216.34", "priority": null}], "error": null, "query_time_ms": 18.2},
    {"domain": "google.com", "record_type": "A", "records": [{"type": "A", "name": "google.com.", "ttl": 300, "value": "142.250.80.46", "priority": null}], "error": null, "query_time_ms": 11.7}
  ],
  "total_query_time_ms": 29.9
}

Try It Live

Live Demo

Description

Resolve DNS records for up to 100 domains in a single call.

How to Use

1

1. Send a POST request with a JSON array of domain names in the request body.

2

2. Optionally set the `type` query parameter to specify the record type (default: A).

3

3. Each domain is resolved independently — failures on one domain don't affect others.

About This Tool

Bulk DNS Lookup resolves DNS records for up to 50 domains concurrently in one API call. All domains are queried in parallel for maximum speed, returning individual results with per-domain timing and error handling.

Ideal for monitoring dashboards, asset inventories, or any workflow that needs to resolve many domains at once without hammering the API with individual requests.

Why Use This Tool

Frequently Asked Questions

What's the maximum number of domains?
50 domains per request. All are queried concurrently.
What happens if one domain fails?
Failed domains get an `error` field with the reason. Other domains are unaffected.
Which record types are supported?
A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, PTR, and SRV.

Start using Bulk DNS Lookup now

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