OpsKitPro logo
OpsKitPro_

Loading DNS...

Developer API

You can use this tool directly from your terminal or scripts via our Public JSON API.

Endpoint

GET https://opskitpro.com/api/tools/dns-lookup

Example Request

curl "https://opskitpro.com/api/tools/dns-lookup?domain=example.com&type=all"

Example Response

{
  "ok": true,
  "tool": "dns-lookup",
  "input": {
    "domain": "example.com",
    "type": "all"
  },
  "result": {
    "a": ["93.184.215.14"],
    "aaaa": ["2606:2800:21f:cb07:6820:80da:af6b:8b2c"],
    "cname": [],
    "mx": [],
    "txt": ["v=spf1 -all"],
    "ns": ["a.iana-servers.net.", "b.iana-servers.net."]
  },
  "meta": {
    "durationMs": 42,
    "timestamp": "2026-06-23T00:00:00.000Z"
  }
}

Related Diagnostics