Bulk DNS lookup
bulkDnsLookupResolve DNS records for up to 100 domains or PTR records for up to 100 IPs in one request, replacing repeated single lookups for batch mail-server checks or log IP naming.
Instructions
Resolve the current DNS records of up to 100 domains, and the PTR records of up to 100 IP addresses, in one request. Use this instead of calling dnsLookup many times, for example to check the mail servers of a list of domains or to name a list of IPs from logs. Provide domainNames, ipAddresses, or both. For one domain or IP use dnsLookup. Lists longer than 100 go in several calls; files of up to 3 million entries are handled by the Bulk Tool in the WhoisFreaks billing dashboard, not by this tool. Costs 1 credit per domain or IP. A large batch can take a few minutes. Returns one entry per domain or IP, with the same record fields as dnsLookup. Behavior: read-only. Makes one request to the WhoisFreaks API using your WhoisFreaks API key (the WHOISFREAKS_API_KEY environment variable, or on the hosted server the key sent with the request) and uses that account's API credits; nothing is created or changed. If the call fails, the result is a short message instead of data, for example: key invalid, or plan or credits used up (HTTP 401), domain extension not supported (HTTP 403), no data found (HTTP 404), or rate limit reached (HTTP 429).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bulkDnsLookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Record types to return: 'all' (the default), one type such as MX, or a comma-separated list such as a,mx,ns. Supported: A, AAAA, TXT, NS, MX, SOA, SPF. | |
| format | No | Response format. Default: json | |
| cnameDepth | No | How many CNAME hops to follow before collecting records, 0 to 4. Default: 0 | |
| domainNames | No | Domain names to resolve, at most 100. Example: ["whoisfreaks.com", "jfreaks.com"] | |
| ipAddresses | No | IP addresses for reverse (PTR) lookups, at most 100. Example: ["1.1.1.1", "8.8.8.8"] |