# IPIntel.ai DNS Lookup

> IPIntel.ai DNS Lookup is a paid API for AI agents from tools.ipintel.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Performs a full DNS record lookup for a domain, returning A, MX, NS, TXT, and other record types in a structured JSON response.

## Facts

- Endpoint: POST https://tools.ipintel.ai/dns-lookup
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ipintel-ai-dns-lookup-7ce0e725
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DCtwk2lAPpjlxetO381mh

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ipintel-ai-dns-lookup-7ce0e725 -d '<json body>'
```

Example prompt: Can you look up all the DNS records for stripe.com — I want to see the A, MX, NS, and TXT records?

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call DNS record resolution for a specific domain without managing DNS resolver infrastructure yourself. Ideal for agents performing domain diagnostics, email deliverability checks, or infrastructure validation that need structured JSON output of all major DNS record types.

## Known failure modes

- Domain does not exist or cannot be resolved — returns error or empty records
- Invalid domain format supplied — may return validation error
- Network timeout reaching upstream DNS resolver — may return 5xx error
- Payment not attached or insufficient — returns 402 Payment Required

## How this service works

DNS Lookup API. Resolve domain DNS records and receive structured JSON with A, AAAA, MX, NS, TXT, CAA, and SOA records. Useful for agents, developers, domain diagnostics, email setup checks, DNS troubleshooting, and infrastructure investigation. Paid per call via x402.

## Output

Returns a JSON object with ok status, domain name, service identifier, timestamp, and a records map containing arrays for each DNS record type found (e.g. A records as IP strings, MX records as host/priority pairs, NS records as nameserver strings, TXT records as raw strings).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "types": {
       "type": "array",
       "items": {
        "enum": [
         "A",
         "AAAA",
         "MX",
         "NS",
         "TXT",
         "CAA",
         "SOA"
        ],
        "type": "string"
       },
       "description": "Optional DNS record types to return"
      },
      "domain": {
       "type": "string",
       "description": "Domain name to query, for example example.com"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "types": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "domain": {
       "type": "string"
      },
      "records": {
       "type": "object",
       "properties": {
        "A": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "MX": {
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "host": {
            "type": "string"
           },
           "priority": {
            "type": "integer"
           }
          },
          "additionalProperties": true
         }
        },
        "NS": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "TXT": {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       },
       "additionalProperties": true
      },
      "service": {
       "type": "string"
      },
      "timestamp": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "types": [
   "A",
   "MX",
   "NS",
   "TXT"
  ],
  "domain": "example.com",
  "records": {
   "A": [
    "93.184.216.34"
   ],
   "MX": [
    {
     "host": "mail.example.com",
     "priority": 10
    }
   ],
   "NS": [
    "a.iana-servers.net",
    "b.iana-servers.net"
   ],
   "TXT": [
    "v=spf1 -all"
   ]
  },
  "service": "dns_lookup",
  "timestamp": "2026-06-22T18:15:01+00:00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ipintel-ai-dns-lookup-7ce0e725/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.ipintel.ai](https://www.zero.xyz/host/tools.ipintel.ai/llms.txt)
