# DNS Records of Five Domains: A, MX, TXT, NS and More

**Use case:** 

Looks up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records for apify.com, wikipedia.org, github.com, python.org and nodejs.org and returns one row per domain with every record type and its TTL, plus the lookup status and time. IT admins, email deliverability and security teams use it to audit DNS across many domains at once. Replace the domains with your own list.

## Input

```json
{
  "domains": [
    "apify.com",
    "wikipedia.org",
    "github.com",
    "python.org",
    "nodejs.org"
  ],
  "recordTypes": [
    "A",
    "AAAA",
    "MX",
    "TXT",
    "NS",
    "CNAME",
    "SOA",
    "CAA"
  ],
  "emailAuth": false,
  "rowPerRecord": false,
  "resolver": "cloudflare",
  "maxItems": 100
}
```

## Output

```json
{
  "domain": {
    "label": "Domain"
  },
  "status": {
    "label": "Status"
  },
  "a": {
    "label": "A",
    "format": "array"
  },
  "aaaa": {
    "label": "Aaaa",
    "format": "array"
  },
  "mx": {
    "label": "Mx",
    "format": "array"
  },
  "ns": {
    "label": "Ns",
    "format": "array"
  },
  "txt": {
    "label": "Txt",
    "format": "array"
  },
  "cname": {
    "label": "Cname"
  },
  "soa": {
    "label": "Soa",
    "format": "object"
  },
  "caa": {
    "label": "Caa",
    "format": "array"
  },
  "type": {
    "label": "Type"
  },
  "value": {
    "label": "Value"
  },
  "ttl": {
    "label": "Ttl"
  },
  "spf": {
    "label": "Spf"
  },
  "dmarcPolicy": {
    "label": "Dmarc Policy"
  },
  "queriedAt": {
    "label": "Queried At",
    "format": "date"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The DNS Records Lookup: A, MX, TXT, NS and More, No Login Actor is ready to run with the inputs already set for "DNS Records of Five Domains: A, MX, TXT, NS and More". [Sign up or log in](https://console.apify.com/create-task-from-example/WbBekcfGSiX8TwXzG) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "DNS Records of Five Domains: A, MX, TXT, NS and More" task

The DNS Records Lookup: A, MX, TXT, NS and More, No Login Actor will start running based on the input automatically. You can also change all the input fields, like domains, record types, and more, to match your specific use case.

### 3. Receive the "DNS Records of Five Domains: A, MX, TXT, NS and More" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as domain, status, a, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "DNS Records of Five Domains: A, MX, TXT, NS and More" task via API](https://apify.com/one_dollar_store/dns-records-lookup.md).

## About this Actor

This example demonstrates how to use [DNS Records Lookup: A, MX, TXT, NS and More, No Login](https://apify.com/one_dollar_store/dns-records-lookup.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/one_dollar_store/dns-records-lookup.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/one_dollar_store/dns-records-lookup.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
