DNS lookup: records of a domain
DNS lookup of a domain: A, AAAA, MX, TXT, CNAME, NS, CAA, SOA and other records through Cloudflare DNS over HTTPS, with TTLs, the response code and DNSSEC validation. Use to check where a domain points, its mail servers or a TXT verification record.
Inputs
| Name | Type | Description |
|---|---|---|
name (required) | string | Domain name (or a URL; its host is used) |
type | string | Record type: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS (default A) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/dns/records?name=example.com"
Or one of your 25 free calls, no key:
curl "https://tools.funwords.eu/dns/records?name=example.com&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"name": "example.com",
"type": "MX",
"status": "NOERROR",
"dnssec": true,
"answers": [
{
"data": "0 .",
"ttl": 86400
}
],
"resolver": "Cloudflare"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is dns_records, and the first 25 successful calls are free:
https://tools.funwords.eu/mcp