Domain DNS Lookup — A, AAAA, MX, NS, TXT & More avatar

Domain DNS Lookup — A, AAAA, MX, NS, TXT & More

Pricing

from $0.72 / 1,000 lookups

Go to Apify Store
Domain DNS Lookup — A, AAAA, MX, NS, TXT & More

Domain DNS Lookup — A, AAAA, MX, NS, TXT & More

Look up DNS records for any domain: A, AAAA, MX, NS, TXT, CNAME, SOA and CAA. One clean JSON row per domain with records grouped by type. Fast, no setup.

Pricing

from $0.72 / 1,000 lookups

Rating

0.0

(0)

Developer

Marouane Oulabass

Marouane Oulabass

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Share

Domain DNS Lookup — A, MX, TXT, NS & More to JSON

Look up DNS records for any domain — as clean JSON. Pass a list of domains and get back a tidy row per domain with records grouped by type: A, AAAA, MX, NS, TXT, CNAME, SOA and CAA. Fast, no setup, no anti-bot.

AI-agent ready: this Actor is callable and payable by AI agents via x402 (USDC on Base), no Apify account required.

A simple DNS API for infrastructure checks, email deliverability, security audits and monitoring.

Who uses this

  • 🛠️ DevOps & infrastructure — verify DNS config across many domains.
  • 📧 Email & deliverability — check MX, SPF and DKIM (TXT) records.
  • 🔐 Security teams — audit CAA, NS and TXT records at scale.
  • 🔎 Researchers & OSINT — map a domain's DNS footprint.
  • 🧑‍💻 Developers — a clean DNS lookup endpoint by domain.

What you get — one clean row per domain

FieldDescription
domainThe domain looked up
recordsRecords grouped by type (A, AAAA, MX, NS, TXT, CNAME, SOA, CAA)
recordCountTotal records found
inputDomainDomain as provided
ok, scrapedAtStatus & provenance

Example

Input

{ "domains": ["apify.com", "github.com"], "recordTypes": ["A", "MX", "TXT", "NS"] }

Output (one item)

{
"domain": "apify.com",
"records": {
"A": ["104.26.0.5", "104.26.1.5"],
"MX": ["10 aspmx.l.google.com"],
"NS": ["ns1.example.com", "ns2.example.com"],
"TXT": ["v=spf1 include:_spf.google.com ~all"]
},
"recordCount": 7
}

Why this actor

  • All the record types — A, AAAA, MX, NS, TXT, CNAME, SOA, CAA.
  • 🗂️ Grouped output — records organized by type, ready to use.
  • 🌐 Many domains at once — pass a list, get one combined dataset.
  • Fast & affordable — pay only per domain looked up. No setup, no anti-bot.
  • 🛟 Robust — a bad domain never breaks the batch.

Input options

  • domains (required) — domains to look up.
  • recordTypes — which record types to fetch (default: common set). E.g. A, MX, TXT, NS.

FAQ

Which record types are supported? A, AAAA, MX, NS, TXT, CNAME, SOA and CAA.

Can I check SPF/DKIM/DMARC? Yes — those live in TXT records; request the TXT type.

Can I look up many domains at once? Yes — pass a list; each row carries its own domain and records.

How fresh is the data? Live DNS resolution on every run.

Can I export to CSV/Excel/Google Sheets? Yes — the dataset exports to JSON, CSV, Excel and HTML, or pull it via the API.

What does it cost? Pay-per-domain — you're only charged for domains actually looked up.


Tip: schedule this on your domains and diff the records to get alerted when DNS changes.