# DNS A Record Lookup for imap Subdomain via Cloudflare DoH

> DNS A Record Lookup for imap Subdomain via Cloudflare DoH is a paid API for AI agents from dns.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Resolves the A record for the imap.<domain> subdomain using Cloudflare DNS over HTTPS and returns existence status, IP records, and TTL.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/host/imap/a?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-a-record-lookup-for-imap-subdomain-via-cloudflare-doh-8cebf482
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0SWxKhEdkbqOxl-5KED2V

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-for-imap-subdomain-via-cloudflare-doh-8cebf482
```

Example prompt: Check if imap.acmecorp.com exists by looking up its A record via Cloudflare DNS — tell me the IP addresses and TTL if it's there.

## When to prefer this

Choose this endpoint when you need a fast, targeted check for whether a specific domain has an imap host configured (A record), without running a broad subdomain scan. Ideal for email infrastructure validation, mail client setup verification, or checking third-party mail server reachability. Prefer this over general-purpose DNS tools when you only care about the imap subdomain and want a lightweight, paid-per-lookup approach via Cloudflare's reliable DoH resolver.

## Known failure modes

- Domain does not have an imap subdomain — returns NXDOMAIN or empty records
- Invalid or malformed domain name input — may return error or empty response
- Cloudflare DoH temporarily unavailable — lookup fails with network error
- Domain exists but imap subdomain has no A record (only AAAA or CNAME) — returns no results for this record type

## How this service works

A record of imap.<domain>: looks up the imap host under the domain you give (A via Cloudflare DoH) and reports whether it exists, its records and TTL. Quick existence check for common hosts like imap without enumerating subdomains. $0.01 per lookup.

## Output

Returns whether imap.<domain> exists as a DNS A record, along with the resolved IPv4 address(es), TTL value, and DNS response code — enabling quick confirmation of IMAP host presence without a full subdomain enumeration.

## 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-for-imap-subdomain-via-cloudflare-doh-8cebf482/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dns.intel.rallylive.ca](https://www.zero.xyz/host/dns.intel.rallylive.ca/llms.txt)
