DNS resolution智普ai

Resolve a domain from idcd's globally distributed nodes and compare the answers across regions — useful for spotting DNS poisoning, hijacking or propagation lag.ai人工智能免费

The DNS probe returns the common record types in one shot. Like all probes it is asynchronous石头扫地机器人官网: POST returns one task ID per node, then you poll the task.

Endpointai是人工智能吗

POSTai下载官方版安装
/v1/probe/dns
  • Base URL百度ai apphttps://api-prod.idcd.com/v1
  • Authchart gptAuthorization: Bearer sk_live_...

Request bodyai是人工智能吗

{
  "target": "example.com",
  "node_ids": ["node_a", "node_b"]  // optional
}
ParameterTypeRequiredDefaultDescription
targetstring
required焦点ai官网
Domain to resolve.
node_idsstring[]optionalProbe from these node IDs (max 20). Auto-selected when omitted.

Responsetrae国际版

POST returns the queued task IDs (HTTP 200); poll GET /v1/probe/tasks/{task_id} for each. The completed task's result carries:

GET百度ai app
/v1/probe/tasks/{task_id}
FieldTypeDescription
result.successbooleanTrue when the A lookup resolved.
result.records.Astring[]Resolved A records.
result.records.MX / TXT / CNAME / NSvariousBest-effort additional records (present when available).
result.resolve_msnumberResolution time in milliseconds.
result.nameserverstringUpstream resolver used by the node.
result.errorstringFailure reason when the lookup failed.

Example焦点ai官网

curl -s -X POST https://api-prod.idcd.com/v1/probe/dns \
  -H "Authorization: Bearer sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{"target":"example.com"}'
# => {"data":{"task_id":"tsk_789","task_ids":["tsk_789"],"status":"queued"}}

curl -s https://api-prod.idcd.com/v1/probe/tasks/tsk_789 \
  -H "Authorization: Bearer sk_live_xxx"
# => {"data":{"status":"completed","result":{"success":true,"records":{"A":["93.184.216.34"]}}}}

Limits焦点ai官网

DNS online tool

Resolve from global nodes and compare answers — no API key required.ai那个最好用