# skill-audit DNS Lookup API

> skill-audit DNS Lookup API is a paid API for AI agents from eltociear-skill-audit.hf.space, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-31).

Performs DNS record lookups on a domain, returning A, MX, and TXT records along with email security flags (MX, SPF, DMARC presence).

## Facts

- Endpoint: POST https://eltociear-skill-audit.hf.space/dns?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/skill-audit-dns-lookup-api-3102ba2e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YoC-I6lfeZyuh5uML6wfa

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 skill-audit-dns-lookup-api-3102ba2e -d '<json body>'
```

Example prompt: Can you look up the DNS records for example.com and tell me whether it has MX, SPF, and DMARC records configured?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call DNS lookup with email security flag analysis (MX/SPF/DMARC) via x402 micropayments on Base. Prefer it over manual DNS tools when you need programmatic access within an agent pipeline to audit domain email configuration.

## Known failure modes

- Domain does not exist — returns empty record arrays
- Network timeout reaching DNS resolver
- Invalid domain format in request body
- Hugging Face Space is sleeping/cold-starting — may cause latency spike or timeout
- Payment failure via x402 micropayment layer

## How this service works

Resolve a domain's DNS records (A/AAAA/MX/NS/TXT/CNAME) and flag basic email/security posture

## Output

Returns a JSON object containing the queried domain name, its DNS records (A, MX, TXT arrays), and boolean security flags indicating whether MX, SPF, and DMARC records are present.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "description": "Domain to resolve (or a full URL)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "flags": {
   "has_mx": false,
   "has_spf": false,
   "has_dmarc": false
  },
  "domain": "example.com",
  "records": {
   "A": [
    "93.184.216.34"
   ],
   "MX": [],
   "TXT": []
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/skill-audit-dns-lookup-api-3102ba2e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-skill-audit.hf.space](https://www.zero.xyz/host/eltociear-skill-audit.hf.space/llms.txt)
