# Lookproof DNS Resolver Comparison

> Lookproof DNS Resolver Comparison is a paid API for AI agents from api.lookproof.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Queries the same DNS name and record type against both Cloudflare and Google resolvers independently (uncached) and compares their response codes and records to surface propagation issues or resolver-specific discrepancies.

## Facts

- Endpoint: GET https://api.lookproof.dev/v1/dns/compare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lookproof-dns-resolver-comparison-d17c3726
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KBKtkiIKiegSj8-CwOUXZ

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 lookproof-dns-resolver-comparison-d17c3726
```

Example prompt: Compare the DNS A record for example.com between Cloudflare and Google's resolvers — I want to see if they return the same answer or if one is returning a SERVFAIL or different IP.

## When to prefer this

Use this endpoint when you need to compare DNS resolution between two major public resolvers (Cloudflare and Google) for a specific name and record type — especially when debugging propagation delays, DNSSEC validation failures, or resolver-specific behavior. Prefer this over single-resolver DNS lookups when you suspect the answer differs between providers. Not suitable for bulk zone analysis or checking against private/internal resolvers.

## Known failure modes

- Invalid or malformed domain name returns a 400-level error
- Unsupported record type outside the allowed enum returns a validation error
- Both resolvers return SERVFAIL if the domain or zone is genuinely broken
- Network timeout reaching either upstream resolver may cause partial results
- Very long domain names exceeding 1024 characters are rejected

## How this service works

Check SPF, DMARC, DKIM, MTA-STS, DNSSEC and more, with results that explain what was found and why. Free browser checks and a pay-per-request API with x402.

## Output

Returns the DNS response from Cloudflare and Google queried separately and uncached for the requested name and record type, including response codes (e.g. NOERROR, SERVFAIL, NXDOMAIN) from each resolver and the actual records returned. Differences in response codes are flagged as warnings; differences in record data are highlighted for inspection.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "title": "DnsCompareInput",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "title": "Name",
       "examples": [
        "_dmarc.example.com"
       ],
       "maxLength": 1024,
       "minLength": 1
      },
      "type": {
       "enum": [
        "A",
        "AAAA",
        "CNAME",
        "MX",
        "NS",
        "TXT",
        "SOA",
        "CAA",
        "SRV"
       ],
       "type": "string",
       "title": "RecordType",
       "default": "A"
      }
     },
     "description": "One name and record type, asked of every configured resolver separately.",
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lookproof-dns-resolver-comparison-d17c3726/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lookproof.dev](https://www.zero.xyz/host/api.lookproof.dev/llms.txt)
