# DNS Records Lookup for Domain Migration

**Use case:** 

Current A, AAAA, NS, MX and TXT records for a list of domains, resolved live over DoH: IP addresses, name servers, mail servers and DNS status. For DevOps and network engineers checking a domain's current DNS setup before a migration, CDN switch or DNS provider change. Adjust dnsRecordTypes for the records you need.

## Input

```json
{
  "domains": [
    "cloudflare.com",
    "fastly.com"
  ],
  "includeRdap": false,
  "includeDns": true,
  "dnsRecordTypes": [
    "A",
    "AAAA",
    "NS",
    "MX",
    "TXT"
  ],
  "dnsResolver": "google",
  "includeEmailSecurity": false,
  "dkimSelectors": [
    "google",
    "selector1",
    "selector2",
    "default",
    "k1",
    "mail",
    "s1",
    "dkim",
    "mandrill",
    "smtp",
    "zoho",
    "pm",
    "krs",
    "mailgun",
    "amazonses"
  ],
  "includeCerts": false,
  "certsLimit": 50,
  "certsExcludeExpired": false,
  "includeSubdomains": true,
  "subdomainsLimit": 500,
  "includeHttp": false,
  "httpTimeoutSecs": 15,
  "expiresWithinDays": 30,
  "newlyRegisteredDays": 90,
  "requestDelayMs": 200
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "httpStatus": {
    "label": "HTTP status",
    "format": "integer"
  },
  "finalUrl": {
    "label": "Final URL",
    "format": "string"
  },
  "websiteTitle": {
    "label": "Title",
    "format": "string"
  },
  "technologies": {
    "label": "Technologies",
    "format": "array"
  },
  "securityGrade": {
    "label": "Headers grade",
    "format": "string"
  },
  "missingSecurityHeaders": {
    "label": "Missing headers",
    "format": "array"
  },
  "responseMs": {
    "label": "Response ms",
    "format": "integer"
  },
  "ipAddresses": {
    "label": "IP addresses",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Domain Intel — WHOIS (RDAP), DNS, Email Security, SSL](https://apify.com/yadroo/domain-intel.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yadroo/domain-intel.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/yadroo/domain-intel.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`).
