BizKitHub
DokumentationAPI-ExplorerVikitron/api/v1/vikitron/dns-records-checker
getVikitronÖffentliche API v1

/api/v1/vikitron/dns-records-checker

Returns the last known DNS records for the given domain. Cached responses (5 min fresh + 1 h SWR) are served without an outbound DNS lookup — the response reflects whatever scout has most recently persisted. If no records exist yet OR ?force=true is passed, a fresh DNS lookup is triggered before returning results (uncached).

vikitrongetApiV1VikitronDns-records-checker

Parameter

2 in der Query

Query-Parameter

· 2
domainstringPflicht

Domain name to check.

Beispielexample.com
forcestringOptional

Set to "true" to bypass the cache and trigger a fresh fetch.

Beispieltrue

Antwortschema

1 dokumentierter Statuscode

200ErfolgDNS records for the domain.
recordsobject[]Pflicht

List of DNS records.

Jedes Array-Element:
namestringPflicht

DNS record name (hostname).

Beispielexample.com
typestringPflicht

DNS record type.

BeispieleAAAAAMXCNAMETXT
valuestringPflicht

DNS record value.

hostnamestringOptional

Resolved hostname.

prioritynumberOptional

Record priority (relevant for MX records).

ttlnumberOptional

Time-to-live in seconds.

createdAtDate | string | string | numberPflicht

When the record was first seen.

Eine von 4 Varianten:
Variante 1
Date

When the record was first seen.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
updatedAtDate | string | string | numberPflicht

When the record was last refreshed.

Eine von 4 Varianten:
Variante 1
Date

When the record was last refreshed.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
activebooleanPflicht

Whether the record is currently active.

Antwortbeispiel

application/json
{
  "records": [
    {
      "name": "example.com",
      "type": "A",
      "value": "example_value",
      "hostname": "example_hostname",
      "priority": 0,
      "ttl": 0,
      "active": false
    }
  ]
}

Anfragebeispiel

GET /api/v1/vikitron/dns-records-checker

get
curl -X GET "https://api.bizkithub.com/api/v1/vikitron/dns-records-checker?domain=example.com&force=true" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten