# DDG DNS Lookup

> DDG DNS Lookup is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Performs a DNS lookup for a given domain name and returns DNS records, paid per-call via x402 USDC micropayment.

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/dns-lookup?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-dns-lookup-b864664a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_me8oTAJACMaqxv6Zh30YI

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 ddg-dns-lookup-b864664a -d '<json body>'
```

Example prompt: Can you do a DNS lookup for example.com and tell me what A records it has?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use DNS lookup without setting up your own DNS resolver or managing API keys. It is ideal for AI agents that need occasional DNS resolution as part of a workflow, especially when integrated into an x402-capable micropayment pipeline. It sells bounded DNS results rather than raw DNS provider access.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns an error or empty record set
- Invalid domain name format — request rejected with validation error
- DNS timeout or upstream resolver failure — may return an error
- Unsupported record type requested — may return empty or error
- Payment failure via x402 — 402 response before lookup is executed

## How this service works

DDG agent-payable service request

## Output

Returns a JSON object with DNS query results including record type, values (e.g. IP addresses, hostnames), TTL, and a success indicator. The response schema includes an 'ok' boolean field confirming the lookup completed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-dns-lookup-b864664a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
