# VendSDK DNS Records Resolver (DoH)

> VendSDK DNS Records Resolver (DoH) is a paid API for AI agents from vendsdk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Resolves multiple DNS record types (A, AAAA, MX, TXT, NS, CNAME) for a given hostname in a single DoH-based API call

## Facts

- Endpoint: GET https://vendsdk.com/api/v/dns-records
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vendsdk-dns-records-resolver-doh-208b9abd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZLO6O4SZ9MhXWh2qdr3gp

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 vendsdk-dns-records-resolver-doh-208b9abd
```

Example prompt: Can you pull all the DNS records for sendgrid.com — A, AAAA, MX, TXT, and NS — so I can audit its email deliverability and security configuration?

## When to prefer this

Choose this endpoint when you need multiple DNS record types for a single domain resolved in one call, especially for email deliverability checks (MX, TXT/SPF/DKIM), security audits, or infrastructure validation. It is ideal for agents that need DoH-based resolution (privacy-preserving, firewall-bypassing) without running their own resolver. Prefer it over the bundled DNS+TLS+HTTP endpoint when you only need DNS data, and over single-type resolvers when you need several record types at once.

## Known failure modes

- Invalid or non-existent hostname returns empty records or error
- Unsupported record type in 'types' parameter may be ignored or cause error
- DoH upstream resolver unavailable causes lookup failure
- NXDOMAIN (domain does not exist) returns ok:false or empty records
- Rate limiting or payment failure returns 402 or 429 status
- Malformed 'host' parameter returns 400 bad request

## How this service works

Resolve multiple DNS record types (A, AAAA, MX, TXT, NS, CNAME) in one call via DoH for deliverability and security agents

## Output

Returns a JSON object with an 'ok' boolean status, the queried hostname, the DoH source resolver used, the service name, and a 'records' object containing keyed arrays of resolved DNS record values for each requested type (A, AAAA, MX, TXT, NS, CNAME).

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "host"
     ],
     "properties": {
      "host": {
       "type": "string",
       "description": "Hostname e.g. example.com"
      },
      "types": {
       "type": "string",
       "description": "Comma list default A,AAAA,MX,TXT,NS"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "host": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "records": {
       "type": "object"
      },
      "service": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vendsdk-dns-records-resolver-doh-208b9abd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vendsdk.com](https://www.zero.xyz/host/vendsdk.com/llms.txt)
