Skip to Content

The DomainDnsCheck type of the TypeScript SDK, which domains.checkDns take or answer.

type DomainDnsCheck = {
  cached: boolean
  checkedAt: number | null
  domain: string
  records: DnsRecordCheck[]
  resolverUnavailable?: boolean
  status: DnsStatus
}

Fields

FieldTypeDescription
cachedbooleantrue = a stored verdict, not a fresh query
checkedAtnumber | null
domainstring
recordsDnsRecordCheck[]The records this domain needs, plus liveness where known
resolverUnavailablebooleanOptional. true = DNS could not be queried; records are still returned, nothing stored
statusDnsStatus

Used by

MethodWhat it does
domains.checkDnsCheck domain DNS records

On this page