DNS Lookup
Look up a domain's DNS records (A, AAAA, MX, NS, TXT and CNAME), with SPF and DMARC picked out.
Free to try Pay by wallet (x402)
dns-lookup Example
Input
{
"domain": "google.com"
} Answer
{
"domain": "google.com",
"has_spf": true,
"a_records": [
"142.251.209.142"
],
"has_dmarc": true,
"mx_records": [
{
"exchange": "smtp.google.com",
"priority": 10
}
],
"ns_records": [
"ns3.google.com",
"ns1.google.com",
"ns4.google.com",
"ns2.google.com"
],
"txt_records": [
"google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ",
"v=spf1 include:_spf.google.com ~all",
"facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95",
"apple-domain-verification=30afIBcvSuDV2PLX",
"onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0",
"docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e",
"onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc",
"google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o",
"cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b",
"docusign=1b0a6754-49b1-4db5-8540-d2c12664b289",
"globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8=",
"google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0",
"MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"
],
"aaaa_records": [
"2a00:1450:4007:811::200e"
],
"dmarc_record": "v=DMARC1; p=reject; rua=mailto:[email protected]",
"cname_records": []
} Inputs
| Field | Type | Required | What it is |
|---|---|---|---|
domain | string | Yes | Domain name (e.g. example.com) |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
domain | string | Always (present in every successful answer) |
has_spf | boolean | Always (present in every successful answer) |
a_records | array | Always (present in every successful answer) |
has_dmarc | boolean | Always (present in every successful answer) |
mx_records | array | Always (present in every successful answer) |
ns_records | array | Always (present in every successful answer) |
How to call it
The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.
# Free tool: works without a key, within a monthly allowance. Add your key for more.
curl -X POST https://api.strale.io/v1/do \
-H 'Content-Type: application/json' \
-d '{
"capability_slug": "dns-lookup",
"inputs": {
"domain": "google.com"
},
"max_price_cents": 3
}' {
"tool": "strale_execute",
"arguments": {
"slug": "dns-lookup",
"inputs": {
"domain": "google.com"
},
"max_price_cents": 3
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "dns-lookup",
inputs: {
"domain": "google.com"
},
max_price_cents: 3,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="dns-lookup",
inputs={
"domain": "google.com",
},
max_price_cents=3,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/dns-lookup?domain=google.com' Limitations
DNS changes can take up to 48 hours to appear
Results reflect current DNS propagation — recent changes may take up to 48 hours to appear
What to do instead: Query the authoritative nameserver directly (returned in the NS records) to see changes before full propagation
Bundled checks that include it
- Domain Security Check €0.30
- Lead Email Verify €0.20
- Domain Intelligence €0.35
- Email Deliverability Audit €0.25
- Vendor Risk Assessment €1.80
- Lead Enrichment & Qualification €0.27
- Website Security Audit €0.20
- Domain Trust Check €0.40
- KYB Complete — Sweden €2.50
- Invoice Verify — Sweden €2.50
- Token Project Due Diligence €0.62
- KYB Complete — Norway €2.50
- DeFi Protocol Risk Check €0.24
- Invoice Verify — Norway €2.50
- Web3 Counterparty KYB €0.70
- KYB Complete — Finland €2.50
- Invoice Verify — Finland €2.50
- KYB Complete — United Kingdom €2.50
- Invoice Verify — United Kingdom €2.50
- KYB Complete — Germany €2.50
- Invoice Verify — Germany €2.50
- KYB Complete — France €2.50
- Invoice Verify — France €2.50
- KYB Complete — Belgium €2.50
- Invoice Verify — Belgium €2.50
- KYB Complete — Austria €2.50
- Invoice Verify — Austria €2.50
- KYB Complete — Ireland €2.50
- Invoice Verify — Ireland €2.50
- KYB Complete — Spain €2.50
- Invoice Verify — Spain €2.50
- KYB Complete — Switzerland €2.50
- Invoice Verify — Switzerland €2.50
- KYB Complete — Poland €2.50
- KYB Complete — Singapore €2.70
- Invoice Verify — Poland €2.50
- Invoice Verify — Singapore €2.77
- KYB Complete — Croatia €2.50
- Invoice Verify — Croatia €2.50
- KYB Complete — Greece €2.50
- Invoice Verify — Greece €2.50
- KYB Complete — United States €2.50
- Invoice Verify — United States €2.50
- KYB Complete — Canada €2.50
- Invoice Verify — Canada €2.50
- KYB Complete — Australia €2.50
- Invoice Verify — Australia €2.50
Related tools
- Domain Contact Extraction €0.05
- SSL Certificate Check €0.03
- Tech Stack Detection €0.03
- WHOIS Lookup €0.05