# agentdiet DNS & TLS Recon

> agentdiet DNS & TLS Recon is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Performs live DNS resolution (IPv4/IPv6), TLS certificate inspection, and HTTP security header grading for a given domain.

## Facts

- Endpoint: GET https://agentdiet.dev/v1/dns-recon?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-dns-tls-recon-61b6568a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4-np6Ex-wjtShcRrJrEdV

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 agentdiet-dns-tls-recon-61b6568a
```

Example prompt: Can you run a full DNS and TLS security check on stripe.com — I want to see its IPv4/IPv6 resolution, TLS certificate issuer and expiry, and its HTTP security header grade?

## When to prefer this

Use this endpoint when you need a quick, consolidated OSINT snapshot of a domain's DNS configuration, TLS certificate health, and HTTP security posture in a single call. Prefer this over manual nslookup or separate TLS checking tools when building automated security audits, vendor vetting pipelines, or infrastructure monitoring workflows. It is especially useful when both IPv4/IPv6 resolution and certificate expiry are needed simultaneously.

## Known failure modes

- Domain does not exist or fails to resolve — DNS lookup error returned
- Domain is unreachable or firewalled — connection timeout
- TLS certificate is missing or invalid — cert inspection fails gracefully
- Domain provided is malformed — input validation error
- HTTP server does not respond to header probe — partial results returned

## How this service works

Inspects live IPv4/IPv6 DNS resolution, TLS certificate issuer/expiry, and HTTP security grade. (Live x402 v2, IETF MPP & MCP endpoint at https://agentdiet.dev/v1/dns-recon)

## Output

Returns live IPv4 and IPv6 DNS resolution results, TLS certificate metadata (issuer, expiry date, validity), and an HTTP security header grade/assessment for the queried domain, giving a consolidated security posture snapshot.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "domain"
 ],
 "properties": {
  "domain": {
   "type": "string",
   "minLength": 1,
   "description": "Target domain name (e.g. anthropic.com, openai.com) for DNS, TLS certificate, and security header OSINT"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-dns-tls-recon-61b6568a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
