# vendsdk.com DNS-over-HTTPS A/AAAA Resolver

> vendsdk.com DNS-over-HTTPS A/AAAA Resolver is a paid API for AI agents from vendsdk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Resolves A (IPv4) and AAAA (IPv6) DNS records for a public hostname using DNS-over-HTTPS with a 60-second cache

## Facts

- Endpoint: GET https://vendsdk.com/api/v/dns-resolve
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vendsdk-com-dns-over-https-a-aaaa-resolver-5b20896e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LstCDTE1SlLREFasppzIa

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-com-dns-over-https-a-aaaa-resolver-5b20896e
```

Example prompt: What IP addresses does github.com resolve to — can you do a DNS lookup for both A and AAAA records?

## When to prefer this

Use this endpoint when you need a quick, cached A and AAAA DNS lookup for a public hostname and only need basic address records. For more record types (MX, TXT, NS, CNAME), prefer the multi-type sibling endpoint. For a bundled infra check (DNS + HTTP + TLS in one call), use the bundle endpoint instead.

## Known failure modes

- Invalid or non-existent hostname returns an error or empty record arrays
- Private/internal hostnames are not resolvable (public DNS only)
- Cache may return stale records up to 60 seconds old
- DNS resolution failure for the queried host returns ok: false
- Payment not received or insufficient USDC results in 402 response

## How this service works

Resolve A and AAAA records for a public hostname via DNS-over-HTTPS (60s cache)

## Output

Returns a JSON object containing the hostname queried, arrays of resolved A (IPv4) and AAAA (IPv6) address records, a boolean ok status, and metadata fields for source and service. Results are cached for up to 60 seconds.

## 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"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "a": {
       "type": "array"
      },
      "ok": {
       "type": "boolean"
      },
      "aaaa": {
       "type": "array"
      },
      "host": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "service": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vendsdk-com-dns-over-https-a-aaaa-resolver-5b20896e/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)
