Document toolboxDocument toolbox

DNS API

DNS

The DNS API call returns DNS information for a hostname.


Data Structure:

{
“A”: [
{
“ip”: string,
“reverse”: string,
“ttl”: integer
},...
],
“AAAA”: [string],
“CERT”: [string],
“CNAME”: [string],
“HTTPS”: [string],
“MX”: [string],
“NS”: [string],
“SOA”: [string],
“SVCB”: [string],
“TSIG”: [string],
“TXT”: [string],
“rcode”: string
}


Example:

Given an indicator of “eicor.co”, DNS returns the following:

{
“A”: [
{
“ip": "72.52.178.23",
"reverse": "lb01.parklogic.com.",
"ttl": 14399
},...
],
“AAAA”: [],
“CERT”: [],
“CNAME”: [],
“HTTPS”: [],
“MX”: ["10 mx156.hostedmxserver.com."],
“NS”: ["ns2.parklogic.com.",
"ns1.parklogic.com."
],
“SOA”: ns1.parklogic.com. hostmaster.eicar.co. 2021052101 3600 7200 1209600 3600",
“SVCB”: [],
“TSIG”: [],
“TXT”: ["\"v=spf1"],
“rcode”: “NOERROR”
}