Dns Record Lookup avatar

Dns Record Lookup

Pricing

Pay per usage

Go to Apify Store
Dns Record Lookup

Dns Record Lookup

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Donny Nguyen

Donny Nguyen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

What does DNS Record Lookup do?

DNS Record Lookup retrieves DNS records for any domain name, querying authoritative name servers for record types including A, MX, TXT, NS, CNAME, AAAA, and more. It returns the full record data along with TTL values for each result, making it easy to audit DNS configurations at scale. This actor is built for developers, system administrators, and security professionals who need to inspect or monitor DNS settings across multiple domains.

Why use DNS Record Lookup?

  • Bulk domain queries -- Look up DNS records for dozens or hundreds of domains in a single run instead of querying one at a time.
  • Multiple record types -- Query A, MX, TXT, NS, CNAME, AAAA, SOA, and other record types simultaneously.
  • Structured output -- Results are returned in clean JSON format, making them easy to parse, compare, and integrate with monitoring systems.
  • Automation support -- Schedule and trigger lookups programmatically via the Apify API for continuous DNS monitoring.
  • Cloud infrastructure -- Runs on Apify Proxy infrastructure for reliable, distributed DNS resolution.

How to use DNS Record Lookup

  1. Go to the Apify Store and search for DNS Record Lookup.
  2. Click Try for free to open the actor in the Apify Console.
  3. Enter one or more domain names in the Domains field (e.g., google.com, anthropic.com).
  4. Specify which DNS record types to query in the Record Types field (e.g., A, MX, TXT, NS).
  5. Click Start to run the lookup.
  6. Download results from the Dataset tab in JSON, CSV, or Excel format.

Input configuration

FieldTypeDescriptionDefault
domainsArray of stringsDomain names to look up DNS records for["google.com", "anthropic.com"]
recordTypesArray of stringsDNS record types to query["A", "MX", "TXT", "NS"]

Output data

Each DNS record result is stored as a separate record. Here is an example output:

{
"domain": "google.com",
"recordType": "MX",
"records": [
"10 smtp.google.com",
"20 smtp2.google.com",
"30 smtp3.google.com"
],
"ttl": 300
}

Cost of usage

DNS Record Lookup uses Pay-Per-Event (PPE) pricing at the Utility tier:

TierCost per 1,000 eventsFree tier (approx.)
Utility$0.30~16,600 events/month

One event equals one domain-record-type combination queried. Looking up 4 record types for 2 domains (8 queries total) costs less than $0.003. The free tier covers approximately 16,600 lookups per month, which is more than enough for most DNS auditing needs.

Tips and advanced usage

  • DNS change monitoring -- Set up scheduled runs to check DNS records daily and detect unauthorized changes or misconfigurations.
  • Email deliverability audits -- Query MX and TXT records to verify SPF, DKIM, and DMARC configurations across your domains.
  • Migration verification -- After a DNS migration, run bulk lookups to confirm all records propagated correctly.
  • Security assessments -- Audit TXT records across your domain portfolio to identify stale or misconfigured entries.
  • Bulk domain analysis -- Pass hundreds of domains in a single run for portfolio-wide DNS infrastructure reviews.

Built with Crawlee and Apify SDK. See more scrapers by consummate_mandala on Apify Store.