POST

Resolve DNS records for domain and record type. Uses node:dns

/v1/dns-records

Validation · node:dns

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/dns-records
Content-Type: application/json

{
  "domain": "tools402.dev",
  "type": "A"
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Resolve DNS records for domain and record type. Uses node:dns.

Request schema

Body: JSON · application/json

FieldTypeDescription
domainstringrequired
typestringoptionalenum: A, AAAA, CNAME, MX, TXT, NS, SOA, SRV, CAA, PTR
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/dns-records \
  -H "Content-Type: application/json" \
  -d '{
  "domain": "tools402.dev",
  "type": "A"
}'

402 payment flow omitted — see Integrations for settlement.