Resolve DNS records for any domain
agentsvc.io/api/v1/proxy/dns-lookup
Resolve DNS records for any domain. Supports A, AAAA, MX, TXT, CNAME, NS. Returns records object with array per type. Default: A records only. Use to verify mail server setup (MX), check domain ownership (TXT), or debug DNS propagation.
POST
https://agentsvc.io/api/v1/proxy/dns-lookupUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agentsvc.io/api/v1/proxy/dns-lookup", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"types":["A","MX"],"domain":"github.com"}),
});
console.log(await res.json());Example input
{
"types": [
"A",
"MX"
],
"domain": "github.com"
}More from DNS LookupProvider status
- api.gadgethumans.com/dnsDNS lookup for any domain over DNS-over-HTTPS: A, AAAA, MX, TXT, NS and CNAME records with TTLs. Use to find where a domain points, whether it can receive mail, which nameservers are authoritative, or what its TXT records claim.0.002
- cdcko-38-190-144-122.free.pinggy.net/api/dnsPaid DNS record lookup (A/AAAA/MX/NS/TXT/CNAME) via Cloudflare DoH0
- keyronne.com/api/dnsResolve DNS records over DNS-over-HTTPS: A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR and more. Returns parsed answers with TTLs and the response status. Built for agents checking mail routing, domain config, or propagation. POST a JSON body like: {"name":"example.com","type":"MX"}0.002
- www.x402financialdata.com/dns/:domainDNS records for any domain via Google DNS-over-HTTPS -- A, AAAA, CNAME, MX, NS, TXT, and more, with TTLs and the DNS response status (so NXDOMAIN reads as an answer, not an error). No key. $0.005/call.0.005
