DnsResolutionRecord is a JSON Structure definition published by Censys, describing 10 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-structure/platform-dnsresolutionrecord-structure.json",
"name": "DnsResolutionRecord",
"description": "DnsResolutionRecord schema from Censys Platform API",
"type": "object",
"required": [
"first_seen",
"last_seen",
"record_type"
],
"additionalProperties": false,
"properties": {
"first_seen": {
"type": "datetime",
"description": "The time this record was first observed."
},
"ip": {
"type": "string",
"description": "The IP of the record. IPv4 if the record_type is A. IPv6 if the record_type is AAAA. Otherwise not present."
},
"last_seen": {
"type": "datetime",
"description": "The time this record was last observed."
},
"mail_server": {
"type": "string",
"description": "The MX mail server. Only present when record_type is MX. Otherwise not present."
},
"mname": {
"type": "string",
"description": "The primary name server. Only present when record_type is SOA. Otherwise not present."
},
"name_server": {
"type": "string",
"description": "The name server. Only present when record_type is NS. Otherwise not present."
},
"priority": {
"type": "int64",
"description": "The MX priority. Only present when record_type is MX. Otherwise not present."
},
"record_type": {
"type": "string",
"description": "The record type. Either A, AAAA, MX, NS, SOA, or TXT.",
"enum": [
"A",
"AAAA",
"MX",
"NS",
"SOA",
"TXT"
]
},
"rname": {
"type": "string",
"description": "The responsible contact, as email. Only present when record_type is SOA. Otherwise not present."
},
"value": {
"type": "string",
"description": "Full, untruncated string. Only present when record_type is TXT. Otherwise not present."
}
}
}