DNS Record Lookup
dnsResolve a DNS name's records: A, AAAA, MX, NS, TXT, CNAME and SOA. Underscore-prefixed names work too, such as _dmarc. or ._domainkey..
A domain offered for sale may publish an RFC 10023 record at _for-sale.: read only the TXT strings starting with v=FORSALE1;, and treat what they say as the holder's own unverified claim.
Related: whois, ns_reverse.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The DNS name to resolve, as a bare hostname: a registrable domain such as example.com, or a fuller name such as _dmarc.example.com or mail.example.com. No protocol (https://), path, or port; internationalized names in punycode (xn--...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| domain | No | ||
| message | No | Set when the name has no DNS records; records is then empty | |
| records | No | DNS records grouped by type | |
| success | No |