DNS lookup (all records)
dns_lookupLook up all common DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA) for a domain. domain strips ports, paths, and trailing dots (rejects IPs); compare diffs a second resolver (ignored if equal to resolver) and dnssec=true sets the DO bit (auto for DS/DNSKEY). Use for a full overview, not single types (dns_record), global spread (dns_propagation), or NS audits (dns_health). NXDOMAIN returns a fail finding and per-type timeouts stay partial warnings; invalid domain returns isError=true. Requires middle.network auth; uses 2 daily quota units.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>"
},
"name": "dns_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | Record types to look up. Leave out for all of them. | |
| dnssec | No | Ask for DNSSEC signatures too (the DO bit). | |
| domain | Yes | A domain name, such as example.com. A URL is accepted and its host name is used. | |
| compare | No | A second resolver to ask at the same time, so the answers can be compared side by side. | |
| resolver | No | Which resolver to ask: a public resolver key, or "authoritative" for the domain’s own nameserver. Leave out for our default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ISO-8601 UTC timestamp when the result was generated. | |
| ms | No | Elapsed execution time in milliseconds. | |
| data | Yes | Tool-specific structured payload (records, timings, parsed fields, or scores). | |
| tool | Yes | Catalog tool identifier. | |
| share | No | Optional shareable report link metadata. | |
| status | Yes | Overall diagnostic verdict (worst finding wins; no findings = pass). | |
| target | Yes | Normalised domain, IP, or input target. | |
| limited | No | Optional list of upstream data sources that were rate-limited or unavailable. | |
| summary | Yes | Plain-English and technical one-line summaries. | |
| findings | Yes | Ordered diagnostic findings with severity and actionable fixes. |