ResolveFrom
Documentation menu

ResolveFrom API

ResolveFrom lets you run DNS queries from remote vantage points over HTTP. Integration is a two-step flow: exchange your long-lived API key for a short-lived bearer token on this site, then send that token to the DNS endpoints.

Base URLs

  • App: https://resolvefrom.com exchanges an API key at POST /v1/tokens
  • API: https://api.resolvefrom.com answers DNS queries

Quick start

  1. Exchange your rf_live_ API key for a 10-minute JWT:
TOKEN=$(curl -sS -X POST https://resolvefrom.com/v1/tokens \
  -H "Authorization: Bearer rf_live_your_secret_here" | jq -r .token)
  1. Query DNS records using the bearer token:
curl -sS "https://api.resolvefrom.com/v1/lookup?name=example.com&types=A,MX" \
  -H "Authorization: Bearer $TOKEN"

See Authentication for token lifetimes, scopes, claims, and failure codes.

Endpoints

Endpoint Methods Scope Credits Description
/v1/lookup GET, HEAD, QUERY lookup 1 Query DNS records for a domain name
/v1/reverse GET, HEAD, QUERY reverse 1 Resolve PTR records for an IPv4 or IPv6 address
/v1/identity GET, HEAD, QUERY identity 1 Query CHAOS TXT server identity names
/v1/transfer GET, HEAD, QUERY transfer 10 Run a TCP AXFR zone transfer (JSON or NDJSON)

The same DNS operations are also available over gRPC as resolvefrom.v1.Resolver.

Responses and errors

  • DNS outcomes are HTTP 200. Results like NXDOMAIN, SERVFAIL, REFUSED, and upstream nameserver timeouts are reported inside the JSON payload with per-type status and rcode fields.
  • Request errors use RFC 9457. Validation failures, authentication issues, rate limits, and server errors return Content-Type: application/problem+json with a type URI under https://resolvefrom.com/docs/errors/{code}. See the Errors reference for every problem type.
  • Request tracing. Every response carries an X-Request-Id header matching the request_id field in the response body. Responses also include from.provider and from.region. The provider is fly.io. See Regions for the region codes.