Bulk DNS Lookup & SPF/DMARC Checker - MX, TXT, NS, A Records avatar

Bulk DNS Lookup & SPF/DMARC Checker - MX, TXT, NS, A Records

Pricing

$0.50 / 1,000 domain looked ups

Go to Apify Store
Bulk DNS Lookup & SPF/DMARC Checker - MX, TXT, NS, A Records

Bulk DNS Lookup & SPF/DMARC Checker - MX, TXT, NS, A Records

Look up DNS records for many domains at once: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA. Plus SPF, DMARC, DKIM, MTA-STS and DNSSEC checks with an email security grade. $0.50 per 1,000 domains.

Pricing

$0.50 / 1,000 domain looked ups

Rating

0.0

(0)

Developer

Wood Between Studio

Wood Between Studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

Bulk DNS Lookup & SPF/DMARC Checker: MX, TXT, NS, A, CAA Records for Many Domains

Look up DNS records for hundreds or thousands of domains in one run and get one clean row per domain: A, AAAA, CNAME, MX, NS, TXT, SOA and CAA (plus SRV, PTR and HTTPS on request). With email security checks on, every domain also gets its SPF record parsed and validated, DMARC policy, DKIM keys for common selectors, MTA-STS, BIMI, DNSSEC and an email authentication grade from A to F.

Why use it?

  • All the records in one row. Spreadsheet-ready output instead of running dig 8 times per domain.
  • Real email deliverability checks. SPF: multiple records, more than 10 DNS lookups, +all, missing all. DMARC: p=none, pct<100, missing reports. DKIM: finds active keys and flags revoked ones (p= empty). Null MX and parked domains are recognised.
  • Reliable resolvers. Queries go over DNS-over-HTTPS to Cloudflare with Google as fallback, with retries, so results don't depend on a local resolver.
  • DNSSEC validation flag for every domain.
  • Cheap. $0.50 per 1,000 domains. Non-existent domains and failed lookups are free.

Use cases

  • Email deliverability audits for clients or your own domains (SPF/DMARC/DKIM before a campaign or after a migration)
  • Domain portfolio and IT inventory: where is DNS hosted, which mail provider, which CA is allowed (CAA)
  • Lead enrichment for B2B lists: mail provider from MX (Google Workspace, Microsoft 365...)
  • Monitoring DNS changes on a schedule (compare runs)

Input

FieldDefaultNotes
domains(required)Domains, hostnames or URLs
recordTypesA, AAAA, CNAME, MX, NS, TXT, SOA, CAAAlso SRV, PTR, HTTPS
emailSecuritytrueSPF, DMARC, DKIM, MTA-STS, BIMI, grade
dkimSelectorsgoogle, selector1, selector2, default, k1, s1, s2, mail, dkimAdd your provider's selector
resolveIpInfofalseReverse DNS (PTR) of A records
maxConcurrency10
{ "domains": ["github.com", "cloudflare.com", "example.com"] }

Output

{
"domain": "cloudflare.com",
"status": "success",
"a": [
"104.16.132.229",
"104.16.133.229"
],
"aaaa": [
"2606:4700::6810:84e5",
"2606:4700::6810:85e5"
],
"mx": [
{
"priority": 5,
"exchange": "mxa-canary.global.inbound.cf-emailsecurity.net"
}
],
"ns": [
"ns3.cloudflare.com",
"ns4.cloudflare.com",
"ns5.cloudflare.com",
"ns6.cloudflare.com",
"ns7.cloudflare.com"
],
"soa": {
"mname": "ns3.cloudflare.com",
"rname": "dns.cloudflare.com",
"serial": 2419513043,
"refresh": 10000,
"retry": 2400,
"expire": 604800,
"minimum": 300
},
"caa": [
{
"flags": 0,
"tag": "iodef",
"value": "mailto:tls-abuse@cloudflare.com"
},
{
"flags": 0,
"tag": "issue",
"value": "comodoca.com"
}
],
"dnssec": true,
"spfRecord": "v=spf1 ip4:199.15.212.0/22 ip4:173.245.48.0/20 include:_spf.google.com include:spf1.mcsv.net include:spf.mandrillapp.com include:mail.zendesk.com include:stspg-customer.com include:_spf.salesforce.com -all",
"spfValid": true,
"spfAll": "-all",
"spfLookups": 6,
"spfIssues": [],
"dmarcPolicy": "reject",
"dmarcIssues": [],
"dkimFound": [
"k1",
"s1"
],
"dkimRevoked": [],
"mtaSts": true,
"bimi": "v=BIMI1; l=https://www.cloudflare.com/cloudflare_1171114652.svg; a=https://www.cloudflare.com/cloudflare_1171114652.pem",
"emailGrade": "A",
"error": null
}

Pricing

$0.50 per 1,000 domains ($0.0005 per domain), all record types and checks included. Platform usage is included. Domains that don't exist (NXDOMAIN) and failed lookups are not charged. Set a maximum charge per run for a hard cap.

Limits

  • DKIM can only be found for the selectors you list (DNS has no way to list all selectors). Add your mail provider's selector for a complete check.
  • The grade is a quick guide (SPF 30, DMARC up to 40, DKIM 20, MTA-STS 5, DNSSEC 5 points), not a guarantee of inbox placement.

Responsible use

DNS records are public. Use this for audits, research and managing domains. Don't use it to target or flood anyone.

Support

Need another record type, a selector list for your provider or change alerts? Open an issue on the Issues tab. We read every one.

Call it from curl, JavaScript or Python

You can run this Actor in the Apify Console with no code, or call it as an API from curl, JavaScript or Python. Replace YOUR_TOKEN with an Apify API token.

curl

curl "https://api.apify.com/v2/acts/wood-between-studio~bulk-dns-lookup/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domains": ["github.com", "cloudflare.com", "example.com"]}'

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('wood-between-studio/bulk-dns-lookup').call({
"domains": [
"github.com",
"cloudflare.com",
"example.com"
]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("wood-between-studio/bulk-dns-lookup").call(run_input={
"domains": [
"github.com",
"cloudflare.com",
"example.com"
]
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)

You can also schedule the Actor, cap the spend per run, and send the dataset to Google Sheets, Slack or a webhook from the Console. Store page: apify.com/wood-between-studio/bulk-dns-lookup.