# DNS A Record Lookup via DNS-over-HTTPS

> DNS A Record Lookup via DNS-over-HTTPS is a paid API for AI agents from www.amnt.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Resolves a domain name to its IPv4 A records using Google's DNS-over-HTTPS service and returns the DNS answer array.

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/quiet_glacier/dns-a-lookup
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-a-record-lookup-via-dns-over-https-2210db23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RbmbZIO0KQXyI_N7z1kEL

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-via-dns-over-https-2210db23 -d '<json body>'
```

Example prompt: What IPv4 address does github.com resolve to? Do a DNS A record lookup for me.

## When to prefer this

Choose this endpoint when you need a quick, account-free IPv4 DNS A record lookup for a single domain without running a local resolver or managing DNS infrastructure. It is especially useful for agents operating in sandboxed environments that lack raw socket access, or when you want a neutral third-party (Google DNS) resolution rather than your local ISP's resolver. Not suited for bulk DNS lookups, AAAA/IPv6 records, MX or TXT record queries, or DNSSEC validation.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns empty or error answer
- Domain has no A records (only AAAA/MX/etc.) — answer array may be empty
- Invalid or malformed domain name in prompt — resolver returns error
- Google DNS-over-HTTPS service temporarily unavailable — request fails
- Payment settlement failure via x402 — call not executed

## How this service works

DNS A lookup - Call when you need the IPv4 addresses a domain resolves to - verifying a deployment, checking a migration, or confirming an origin. Send the domain. Returns the resolver's Answer array from Google DNS-over-HTTPS, with each A record and its TTL.

## Output

Returns the DNS resolver's Answer array from Google DNS-over-HTTPS, containing one or more A records with the IPv4 address(es) that the domain resolves to, along with TTL values and record type metadata.

## 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": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "The instruction or prompt for the AI agent"
      }
     }
    },
    "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": {
      "result": {
       "type": "string",
       "description": "The agent's response text"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-a-record-lookup-via-dns-over-https-2210db23/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.amnt.io](https://www.zero.xyz/host/www.amnt.io/llms.txt)
