Output format | Documentation | DNS Lookup API | WhoisXML API

Output format

{
   "DNSData": {
      "domainName": "google.com",
      "types": [
         1,
         6,
         16
      ],
      "dnsTypes": "A,SOA,TXT",
      "audit": {
         "createdDate": "2019-05-07 14:45:22.916 UTC",
         "updatedDate": "2019-05-07 14:45:22.916 UTC"
      },
      "dnsRecords": [
         {
            "type": 16,
            "dnsType": "TXT",
            "name": "google.com.",
            "ttl": 299,
            "rRsetType": 16,
            "rawText": "google.com.\t\t299\tIN\tTXT\t\"globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8=\"",
            "strings": [
               "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="
            ]
         },
         {
            "type": 16,
            "dnsType": "TXT",
            "name": "google.com.",
            "ttl": 299,
            "rRsetType": 16,
            "rawText": "google.com.\t\t299\tIN\tTXT\t\"v=spf1 include:_spf.google.com ~all\"",
            "strings": [
               "v=spf1 include:_spf.google.com ~all"
            ]
         },
         {
            "type": 16,
            "dnsType": "TXT",
            "name": "google.com.",
            "ttl": 299,
            "rRsetType": 16,
            "rawText": "google.com.\t\t299\tIN\tTXT\t\"docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e\"",
            "strings": [
               "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"
            ]
         },
         {
            "type": 16,
            "dnsType": "TXT",
            "name": "google.com.",
            "ttl": 299,
            "rRsetType": 16,
            "rawText": "google.com.\t\t299\tIN\tTXT\t\"facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95\"",
            "strings": [
               "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"
            ]
         },
         {
            "type": 1,
            "dnsType": "A",
            "name": "google.com.",
            "ttl": 299,
            "rRsetType": 1,
            "rawText": "google.com.\t\t299\tIN\tA\t172.217.5.206",
            "address": "172.217.5.206"
         },
         {
            "type": 6,
            "dnsType": "SOA",
            "name": "google.com.",
            "ttl": 59,
            "rRsetType": 6,
            "rawText": "google.com.\t\t59\tIN\tSOA\tns1.google.com. dns-admin.google.com. 246997594 900 900 1800 60",
            "admin": "dns-admin.google.com.",
            "host": "ns1.google.com.",
            "expire": 1800,
            "minimum": 60,
            "refresh": 900,
            "retry": 900,
            "serial": 246997594
         }
      ]
   }
}

Output parameters

DNSData
The root element representing information about the domain's DNS records
domainName
The domain name being queried (e.g., google.com)
types
List of numeric DNS record types (e.g., A=1, SOA=6, TXT=16). Supported types are listed in the Supported DNS Types section. -1 indicates that all types are returned.
dnsTypes
Comma-separated list of DNS record types. _all indicates all types are returned.
audit
Audit information about when the data was created and updated
audit.createdDate
The timestamp when the data was created
audit.updatedDate
The timestamp when the data was last updated
dnsRecords
List of DNS records for the domain
type
Numeric identifier for the DNS record type
dnsType
Textual representation of the DNS record type (e.g., A, AAAA, CNAME, MX, TXT, NS, SOA, CAA, PTR, SRV)
name
Domain or subdomain associated with the record
ttl
Time-to-live (TTL) value in seconds
rRsetType
Numeric identifier for the resource record set type
rawText
Raw text representation of the DNS record
strings
List of string values for TXT records
address
IP address for A and AAAA records
admin
Administrative contact for the SOA record
host
Primary name server for the SOA record
priority
Priority value for MX records
target
Target server for MX, CNAME, SRV, and NS records
tag
Tag used in CAA records (e.g., issue, issuewild, iodef)
value
Value associated with CAA records (e.g., domain names, mailto addresses)
service
Service identifier for SRV records
proto
Protocol for SRV records (e.g., _tcp, _udp)
port
Port number for SRV records