logo
theme
DNS Lookup
FREE
By whoisapi
Updated a year ago

DNS Lookup API Documentation

Perform DNS (Domain Name Server) through a RESTful API, obtain parsed results in JSON or XML. A domain has a number of records associated with it, a DNS server can be queried to determine the IP address of the primary domain (A record), mail servers (MX records), DNS servers (NS nameservers) and other items such as SPF records (TXT records).

Learn more about this API
GET/whoisserver/DNSService
GET/whoisserver/DNSService
Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
Install SDK
Response Body
<?xml version="1.0" encoding="utf-8"?><DNSData>
  <domainName>google.com</domainName>
  <types>
    <int>1</int>
  </types>
  <dnsTypes>A</dnsTypes>
  <audit>
    <createdDate>2017-09-29 07:46:15.593 UTC</createdDate>
    <updatedDate>2017-09-29 07:46:15.593 UTC</updatedDate>
  </audit>
  <dnsRecords>
    <ARecord>
      <type>1</type>
      <dnsType>A</dnsType>
      <name>google.com.</name>
      <ttl>60</ttl>
      <rRsetType>1</rRsetType>
      <rawText>google.com.		60	IN	A	172.217.3.174</rawText>
      <address>172.217.3.174</address>
    </ARecord>
  </dnsRecords>
</DNSData>

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication