# DNS A Record Lookup

> DNS A Record Lookup is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Resolves a domain name to its IPv4 addresses via DNS-over-HTTPS, returning addresses, TTL, record count, DNSSEC validation status, and response code.

## Facts

- Endpoint: GET https://intel.rallylive.ca/dns/a
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-a-record-lookup-c3f427a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Gd2o6ctF8wljMMU0P0u0b

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 dns-a-record-lookup-c3f427a9
```

Example prompt: What IPv4 addresses does github.com resolve to right now, and what's the TTL and DNSSEC status on its A records?

## When to prefer this

Use this endpoint when you need fast, keyless DNS A record resolution with structured metadata (TTL, record count, DNSSEC flag, response code) and are happy paying $0.01 per lookup. Prefer it over general DNS lookup endpoints when you specifically need IPv4 A records with DNSSEC validation status. Its sibling dns-lookup endpoint covers multiple record types (A, MX, TXT) in one call if you need broader DNS data.

## Known failure modes

- NXDOMAIN response if domain does not exist
- SERVFAIL if upstream DNS resolver is unreachable or the domain has misconfigured nameservers
- Empty record set if the domain has no A records (e.g. only AAAA or CNAME)
- Timeout if the DNS-over-HTTPS provider is slow to respond
- Payment failure if the $0.01 USDC x402 payment is not accepted

## How this service works

DNS A record lookup: resolve a domain name to its IPv4 addresses with TTL, record count, DNSSEC validation flag and response code, via DNS-over-HTTPS. Fast, no API key. $0.01 per lookup.

## Output

Returns the resolved IPv4 address(es) for the queried domain, along with TTL (time-to-live in seconds), the total number of A records returned, a DNSSEC validation flag indicating whether the response is DNSSEC-validated, and the DNS response code (e.g. NOERROR, NXDOMAIN, SERVFAIL).

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-a-record-lookup-c3f427a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
