Bulk DNS Records Lookup - A, MX, TXT, SPF & DMARC
Pricing
from $0.55 / 1,000 domain looked ups
Bulk DNS Records Lookup - A, MX, TXT, SPF & DMARC
Look up DNS records for a list of domains: A, AAAA, MX, TXT, NS, CNAME, SOA and CAA, plus derived SPF and DMARC and the email provider inferred from the MX host. Node native resolver, no browser, no anti-bot. Fast, cents per domain. Independent tool, not affiliated with any site it processes.
Pricing
from $0.55 / 1,000 domain looked ups
Rating
0.0
(0)
Developer
Scrape Sage
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Share
Disclaimer: This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the owners of any website, service or document it processes. All trademarks mentioned are the property of their respective owners. Any site or brand names are referenced only to describe the content this Actor processes.
Resolve the DNS records for a whole list of domains in one run. For each domain you get its A / AAAA addresses, MX mail servers, TXT records, NS name servers, CNAME, SOA and CAA - plus the SPF and DMARC records pulled out for you and the mail provider inferred from the MX host (Google Workspace, Microsoft 365, Zoho, Proton, and more).
Runs on Node's native DNS resolver - no browser, no anti-bot target, no proxy needed - so it is fast and costs a fraction of a cent per domain. Ideal for email-deliverability audits, domain due diligence, security/attack-surface checks and enriching a lead list with the domain's mail stack.
What you get per domain
| Field | Meaning |
|---|---|
a / aaaa | IPv4 and IPv6 addresses |
mx | Mail servers, sorted by priority (exchange + priority) |
txt | All TXT records (as strings) |
ns | Authoritative name servers |
cname / soa / caa | Canonical name, start-of-authority, and certificate-authority records |
spf | The v=spf1... record, lifted out of TXT |
dmarc | The v=DMARC1... record from _dmarc.<domain> |
mailProvider | Email host inferred from the MX record (e.g. Google Workspace, Microsoft 365) |
resolved | true if the domain resolves to anything (A/AAAA/MX/NS/CNAME) |
A missing record is a null field, not an error - a domain that does not exist comes back with
resolved: false and a short error, and is still one row so your list stays aligned.
Input
{"domains": ["google.com", "apify.com", "github.com"],"recordTypes": ["A", "MX", "TXT", "DMARC"]}
- Domains - one per line. A full URL or an email address is fine too; only the host is used
(
https://www.example.com/pathandjoe@example.comboth becomeexample.com). - Import from a file - paste a whole list, or link a public
.txt/.csv, a Google Sheet/Drive link, or an Apify key-value-store record. - Record types - leave empty for all, or pick just the ones you need (
SPFcomes withTXT). - Output fields - tick only the columns you want for a lean export.
Leave the domain list empty and the run returns a small free sample so you can see the shape first.
How much does it cost?
This Actor uses Apify's pay-per-event pricing: you are charged only for the results it delivers, with no monthly rental and no start fee. The events it can charge are:
- Domain looked up - One domain looked up: A/AAAA/MX/TXT/NS/CNAME/SOA/CAA records plus derived SPF and DMARC, and the mail provider inferred from the MX host.
The current price of each event is shown on the Pricing tab of this page. Set a maximum total charge on the run if you want a hard cap on spend, and use the input limits to control how much the Actor fetches.
Use with AI assistants (MCP)
Available through the Apify MCP server - an agent can resolve the mail stack for a batch of domains before deciding where to route a message or whether a domain is set up for email at all.
Agent-ready: autonomous payments (x402 & Skyfire)
This actor is agent-ready - AI agents can discover it, run it, and pay for it autonomously, with no Apify account and no human in the loop. It uses pay-per-event pricing and limited permissions, so it qualifies for Apify's agentic-payment standards:
- x402 - an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the Apify MCP server - no account, no API key.
- Skyfire - agent-to-service payments for fully autonomous AI-agent workflows.
Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.
Automate & schedule
Run this Actor on autopilot and pull results into your own stack:
- Apify API - start runs, fetch datasets and manage schedules over REST.
- apify-client for JavaScript and apify-client for Python - official SDKs.
- Schedules - run it hourly, daily or weekly and keep your dataset current.
- Webhooks - trigger downstream actions (CRM import, Slack alert, email sequence) the moment a run finishes.
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });const run = await client.actor('scrapesage/dns-lookup').call({"domains": ["google.com","apify.com","github.com"],"recordTypes": ["A","MX","TXT","DMARC"]});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(`Got ${items.length} records`);
Integrate with any app
Connect the dataset to thousands of apps - no code required:
- Make - multi-step automation scenarios.
- Zapier - push new records straight into your CRM or spreadsheet.
- Slack - get notified when a scheduled run finds something new.
- Google Drive / Sheets - auto-export every run to a spreadsheet.
- Airbyte - pipe results into your data warehouse.
- GitHub - trigger runs from commits or releases.
FAQ
How is this Actor billed? Pay-per-event: you pay only for the results it delivers, with no monthly rental and no start fee. The per-event price is shown on the Pricing tab.
Can I schedule it and get results automatically? Yes - create a Schedule and add a webhook or an integration (Google Sheets, Slack, Make, Zapier) to push each run's dataset wherever you need it.
Which export formats are available? Every run's dataset can be downloaded as JSON, CSV, Excel (XLSX), XML, HTML or RSS from the Apify Console or the API.
Can I run it from code or an AI agent? Yes - through the Apify API and client libraries, or from Claude, ChatGPT and other assistants via the Apify MCP server.
Is it legal to use this Actor? This Actor collects publicly available data only. You are responsible for using the output in compliance with applicable laws (including data-protection law where personal data is involved) and the source's terms. See the Disclaimer below.
Disclaimer
This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the owners of any website, service or document it processes. All trademarks mentioned are the property of their respective owners.
Any website, service or brand names that appear in this listing or in the output are referenced only in a descriptive, nominative sense. This Actor is not an official product of any of them and is not authorised or certified by them. It processes only content you point it at; you are responsible for ensuring you may lawfully access and use that content and that your use complies with applicable laws and the terms of each source.
Need help?
Open an issue on the Actor's Issues tab, or visit the Apify help center. Feature requests are welcome - this Actor is actively maintained.