DNS Lookup Scraper avatar

DNS Lookup Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
DNS Lookup Scraper

DNS Lookup Scraper

Bulk DNS lookup for domains, website URLs or emails: A, AAAA, MX, NS, TXT, CNAME, SOA, CAA, SRV and DNSSEC records, plus SPF, DMARC and DKIM checks, the email provider (Google Workspace, Microsoft 365…) and the DNS host of each domain. No API key, no proxy.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Anyx Solutions

Anyx Solutions

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Features

Limited permissions

Share

banner

DNS Lookup Scraper

Bulk DNS lookup for any list of domains — every record type, SPF/DMARC/DKIM checks, email provider and DNS host — as clean JSON.

Paste a list of domains, website URLs or email addresses and get one row per domain with its A, AAAA, MX, NS, TXT, CNAME, SOA, CAA, SRV and DNSSEC records and their TTLs. Each row also carries the email-security picture: whether the domain publishes SPF and DMARC (and how strict they are), which DKIM selectors are set, and the email provider behind its MX records (Google Workspace, Microsoft 365, Zoho, Proton and more), along with the DNS host behind its nameservers (Cloudflare, Amazon Route 53, GoDaddy and more). Optional reverse DNS names the host behind each IP address. Lookups go through Cloudflare's public DNS resolver (1.1.1.1), with no API key and no proxy. Built for lead enrichment, email deliverability and security audits, domain portfolio monitoring and IT due diligence.

⚡ Quick start

{
"domains": ["stripe.com", "shopify.com", "billing@notion.so"],
"startUrls": [{ "url": "https://www.hubspot.com/pricing" }],
"maxItems": 5
}

🧩 Input

FieldTypeRequiredDefaultDescription
domainsarrayno—Domains to look up, one per line (stripe.com, www.bbc.co.uk). A URL is reduced to its hostname and an email address to its domain. Duplicates are looked up once.
startUrlsarrayno—Website URLs. Each one is looked up as its registrable domain (https://www.stripe.com/pricing → stripe.com), so a list of company websites works as it is.
includeSubdomainsarrayno—Subdomain prefixes to look up under every domain too, such as www, mail or app. Each adds its own row.
recordTypesarrayno["A", "AAAA", "MX", "NS", "TXT", "CNAME", "SOA", "CAA"]Record types to return. Add SRV for common services (SIP, Autodiscover, IMAP, submission, CalDAV, XMPP) and DNSKEY / DS for DNSSEC keys.
includeEmailSecuritybooleannotrueCheck SPF and DMARC and name the email provider behind the MX records.
dkimSelectorsarrayno—DKIM selectors to check, such as google (Google Workspace), selector1 / selector2 (Microsoft 365), k1 (Mailchimp) or s1 (SendGrid). Leave empty to skip DKIM.
includeReverseDnsbooleannofalseLook up the hostname behind each IPv4 and IPv6 address (up to 10 per domain), which often names the hosting or CDN provider.
maxItemsintegerno—Maximum number of names to look up, one row each, counting subdomains. The input form starts at 5; leave it empty to look up every entry.
proxyConfigurationobjectno{ "useApifyProxy": false }Proxy settings. Cloudflare's public DNS resolver needs no proxy.

Add at least one entry to domains or startUrls. Entries that are not public domain names (IP addresses, localhost, free text) are skipped with a note in the log.

📤 Output

Each looked-up name is one dataset row. A record type you did not ask for is null; a type you asked for that the domain does not have is an empty list.

Fields

FieldTypeDescription
domainstringThe name looked up.
inputstringThe entry it came from (domain, URL or email), to match rows back to your list.
registrableDomainstringThe registrable domain (stripe.com for www.stripe.com).
urlstringThe domain's website, https://<domain>.
statusstringDNS response code: NOERROR, NXDOMAIN (the domain does not exist), SERVFAIL (its DNS is broken) or REFUSED.
resolverstringThe resolver that answered: always cloudflare (Cloudflare 1.1.1.1).
resolvedAtstringWhen the lookup ran (ISO 8601).
recordsobjectThe records by type: A, AAAA, NS, TXT and CNAME as lists of strings; MX as { priority, host }; SOA as { mname, rname, serial, refresh, retry, expire, minimum }; CAA as { flags, tag, value }; SRV as { service, priority, weight, port, target }; DNSKEY and DS with their key fields.
ttlobjectThe time-to-live in seconds of each record type, lowest across its records.
dnssecbooleanWhether the resolver validated the domain's answers with DNSSEC.
dnsProviderstringThe DNS host behind the nameservers, such as Cloudflare, Amazon Route 53, GoDaddy or Azure DNS. null when it is a provider the Actor does not recognise.
emailSecurityobjecthasSpf, spf, spfAll (-all, ~all, ?all, +all), spfIncludes, hasDmarc, dmarc, dmarcPolicy, dmarcSubdomainPolicy, dmarcPct, dmarcReportUris, hasDkim and dkim (null when no selectors were checked), mxProvider and mxProviders. null when email security checks are off.
reverseDnsarray{ ip, hostname } for each address. null when reverse DNS is off.

💡 Use cases

  • Lead enrichment — learn which email provider, DNS host and SaaS senders (from SPF includes and TXT verifications) each prospect uses, and segment by tech stack.
  • Email deliverability audits — find domains with no SPF, a permissive +all, no DMARC or a p=none policy, and check DKIM selectors before a campaign.
  • Security and IT due diligence — review CAA, DNSSEC and nameserver setups across a portfolio, a vendor list or an acquisition target.
  • Domain monitoring — schedule runs to catch changed MX, NS or A records, expired or dangling domains (NXDOMAIN) and broken DNS (SERVFAIL).
  • List cleaning — check that the domains in a contact list exist and accept mail before you send.

❓ FAQ

  • Do I need an API key or a proxy? No. Lookups go through Cloudflare's public DNS resolver, which needs neither.
  • Can I paste emails or full URLs? Yes. domains reduces a URL to its hostname and an email address to its domain; startUrls reduces a website URL to its registrable domain. Duplicates are looked up once.
  • How do subdomains work? Add prefixes such as www or mail to includeSubdomains and every domain gets a row for each. A subdomain without its own DMARC record shows the policy it inherits from its main domain.
  • Why is dnsProvider or mxProvider empty? The domain uses a provider the Actor does not recognise, often its own servers. The raw NS and MX records are always in records.
  • Why is DKIM null? DKIM keys live under selector names that only the sender knows, so they are checked only for the selectors you list in dkimSelectors.
  • How many domains can I look up? As many as you like; several domains are looked up in parallel and a failed lookup is retried, then sent to a second Cloudflare endpoint.

🔗 More scrapers by Anyx

🤝 Anyx Solutions

We build custom scrapers and data-extraction pipelines.