# dns-loc-via-cloudflare

> dns-loc-via-cloudflare 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).

Looks up DNS LOC records for a domain using Cloudflare 1.1.1.1 via DNS-over-HTTPS, returning records, TTL, response code, DNSSEC validation status, and resolver answer time.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/loc/via/cloudflare?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-loc-via-cloudflare-b77eeeba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b4cyVo6TQI68Tff9-CmUm

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-loc-via-cloudflare-b77eeeba
```

Example prompt: What LOC DNS records does Cloudflare 1.1.1.1 return for example.com, and did it validate DNSSEC?

## When to prefer this

Choose this endpoint when you specifically need LOC (geographic location) DNS records resolved through Cloudflare 1.1.1.1 with DNSSEC status and latency metadata. It is ideal for comparing Cloudflare's answers against other resolvers to detect propagation lag, geo-filtering, or split-horizon configurations. Use it over generic DNS tools when you need per-resolver attribution and DNSSEC validation flags alongside the record data.

## Known failure modes

- NXDOMAIN if the domain does not exist or has no LOC records
- SERVFAIL if the upstream resolver encountered an error or DNSSEC validation failed
- No LOC records returned if the domain simply has none configured
- Timeout or network error if Cloudflare's DoH endpoint is unreachable
- Missing or malformed domain input resulting in a bad request

## How this service works

LOC records for a domain as answered by Cloudflare 1.1.1.1 (DNS over HTTPS): the records, TTL, response code (NOERROR/NXDOMAIN/SERVFAIL), whether the resolver validated DNSSEC, and the resolver's answer time. Compare resolvers to spot propagation lag, filtering or split-horizon answers. $0.01 per lookup.

## Output

Returns the LOC resource records for the queried domain as answered by Cloudflare 1.1.1.1, along with the TTL, DNS response code (NOERROR, NXDOMAIN, or SERVFAIL), a flag indicating whether the resolver performed DNSSEC validation, and the resolver's answer latency in milliseconds.

## 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-loc-via-cloudflare-b77eeeba/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)
