DNS record-set reading (paid: 0.003 RLUSD / 0.003 USDC on XRPL / 0.003 USDC on Base / 0.003 RLUSD on Base via x402)
dns_recordsPaid: 0.003 RLUSD or 0.003 USDC per call via x402 on XRPL mainnet (xrpl:0), or 0.003 USDC on Base (eip155:8453). Pay per call, solves one question: What DNS records does this name return right now? Raw answers for the given FQDN and types (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA), plus resolver id, rcode, TTLs when available, query_ms and observed_at. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.
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": {
"name": "<name>"
},
"name": "dns_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | FQDN to query (not an IP, not localhost/.local) | |
| types | No | Comma-separated record types. Default A,AAAA. Allowed: A,AAAA,MX,TXT,NS,CNAME,SOA,CAA | |
| payment_signature | No | Optional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements. |