ToolAssay

Resolve a hostname over public DNS and return parsed records

Resolve a hostname over public DNS and return parsed records. Query: host (required FQDN), types (comma-separated: A,AAAA,MX,TXT,NS,CAA,SRV,CNAME,PTR,SOA — default A,AAAA,MX,TXT,NS), resolver (cloudflare|google|quad9|opendns, optional). Returns one normalized JSON shape per record type with per-type error pass-through. Reserved/local TLDs (.local, .internal, .invalid, .test, localhost) are rejected. 4s per-query timeout.

Answeringour last check, 2026-09-24
1 of 1checks answered this week
233 msmedian answer time
$0.0025listed price per call
$0.0025price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://2s.io/api/dns/lookup

CategoryEverything else
Provider host2s.io
Networkseip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.0025 233 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "host": "example",
    "resolver": "cloudflare",
    "types": "example"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "properties": {
        "method": {
          "const": "GET"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "host": {
              "maxLength": 253,
              "minLength": 1,
              "type": "string"
            },
            "resolver": {
              "enum": [
                "cloudflare",
                "google",
                "quad9",
                "opendns"
              ],
              "type": "string"
            },
            "types": {
              "type": "string"
            }
          },
          "required": [
            "host"
          ],
          "type": "object"
        },
        "type": {
          "const": "http"
        }
      },
      "required": [
        "type",
        "method",
        "queryParams"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON