# DNS record lookup

GET https://horizonpulse.dev/api/dns/records

- Price: $0.002 per call. The exact amount is in the 402.
- Pay with: USDC on Base
- Family: Sites and security (/catalog/sites-security.md)

## What it returns
DNS lookup for one name and one record type (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR): answers, TTLs and response code as our resolver received them at query time. Answers can differ by resolver, location and time. No zone transfers or bulk enumeration. A resolver-confirmed NXDOMAIN or empty NODATA answer is charged. Bad input, timeout, SERVFAIL, REFUSED or resolver failure: not charged. USDC on Base only.

## Inputs
See /openapi.json for this path.

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.

## Try it
- Call it unpaid to read the 402: GET https://horizonpulse.dev/api/dns/records
- Setup: /setup.md
