API Reference
JSON-first DNS reconnaissance API for topology, records, propagation, and enrichment. Programmatic API calls require an API key via X-API-Key; the web UI does not require a key.
REST Endpoints
| Endpoint | Query Params | Description |
|---|---|---|
GET /api/lookup | domain, hide_ipv6 | Full DNS record lookup (A, AAAA, MX, NS, TXT, CNAME, SOA, CAA) with ASN + GeoIP enrichment. |
GET /api/propagation | domain, type, expected | Global propagation check across 15 public resolvers with per-node latency. |
GET /api/speed | domain, type | Parallel resolver speed benchmark across 15 global vantage points. |
GET /api/reverse | ip | Reverse PTR lookup and forward-confirmed rDNS (FCrDNS) verification. |
GET /api/spf / dkim / dmarc | domain, selector | Email authentication record retrieval and policy tag parsing. |
GET /api/dnssec | domain | DNSSEC chain of trust, DNSKEY, and parent DS validation. |
GET /api/blacklist | ip or domain | Parallel RBL/DNSBL reputation check across major blacklists. |
GET /api/mx | domain | Comprehensive mail exchanger diagnostics and 100-point security score. |
Parameters
| Name | Type | Description |
|---|---|---|
X-API-Key | header | Required for programmatic API calls (not needed in the web UI). |
domain | string | FQDN to resolve (required on domain endpoints). |
format | string | json (default) or plain for text output. |
hide_ipv6 | boolean | Optional; set to true to omit AAAA records. |
Response Schema Example
GET https://dnsrecon.io/api/lookup?domain=example.com
{
"success": true,
"timestamp": "2026-10-29T00:00:00Z",
"query": "example.com",
"data": {
"records": { "A": [...], "MX": [...], "NS": [...] },
"enrichment": { ... }
},
"meta": { "query_time_ms": 42 }
}