Hosted tool

DNS lookup

Live

Look up public DNS records for a domain.

data.dnsversion 1

Price

0.01

credits per call

Compute only: upstream charges are not included in this price.

Availability

Live

Configured and callable with a valid key.

Access

Live

Category Data

Input

{
  "additionalProperties": false,
  "properties": {
    "name": {
      "maxLength": 253,
      "minLength": 1,
      "type": "string"
    },
    "type": {
      "enum": [
        "A",
        "AAAA",
        "MX",
        "TXT",
        "NS",
        "CNAME",
        "SOA"
      ],
      "type": "string"
    }
  },
  "required": [
    "name",
    "type"
  ],
  "type": "object"
}

Result

array<{name:string,type:string,data:string,ttl:integer|null}>

Default fields: name type data ttl

Limits

Synchronous deadline15 s
Maximum result65,536 bytes
Result pages1
Maximum upstream read1,048,576 bytes

Example call

Provisional: the invoke contract ships with the execution lane

curl https://haidercode.ai/v1/tools/data.dns/invoke \
  -H "Authorization: Bearer <HK_KEY>" \
  -H "Content-Type: application/json" \
  -H 'Idempotency-Key: dns-1' \
  -d '{"arguments":{"name":"…","type":"A"},"max_credits":"0.05"}'

Bound every paid call with max_credits, and repeat the same Idempotency-Key to recover a result rather than pay twice.

dnsdomaininfrastructure

Back to the list