ViewDNS.info - Your one source for DNS related tools!
ViewDNS.info > API > Documentation >

Reverse DNS Lookup API



Documentation Home

TOOLS
Abuse Contact Lookup
ASN Lookup
Chinese Firewall Test
DNS Propagation Checker
DNS Record Lookup
DNS Report
DNSSEC Test
Domain/IP Whois
Free Email Lookup
Get HTTP Headers
Google Pagerank Checker
IP History
IP Location Finder
Iran Firewall Test
Is My Site Down
MAC Address Lookup
Ping
Port Scanner
Reverse DNS Lookup
Reverse IP Lookup
Reverse NS Lookup
Reverse Whois Lookup
Spam Database Lookup
Traceroute
URL/String Decode


Reverse DNS Lookup

Find the reverse DNS entry (PTR) for a given IP. This is generally the server or host name.

URL

http://pro.viewdns.info/reversedns/

Parameters

ip - the IP address to retrieve the reverse DNS record for
output - the output format required ('xml' or 'json')
apikey - your api key

Sample Query

ip: 199.59.148.10

GET http://pro.viewdns.info/reversedns/?ip=199.59.148.10&apikey=yourapikey&output=output_type

XML Response (output=xml)

<?xml version='1.0' encoding='ISO-8859-1'?>
<viewdns>
  <query>
    <tool>reversedns_PRO</tool>
    <ip>199.59.148.10</ip>
  </query>
  <response>
    <rdns>r-199-59-148-10.twttr.com</rdns>
  </response>
</viewdns>

JSON Response (output=json)

{
    "query": {
        "tool": "reversedns_PRO",
        "ip": "199.59.148.10"
    },
    "response": {
        "rdns": "r-199-59-148-10.twttr.com"
    }
}







All content © 2016 ViewDNS.info
Feedback / Suggestions / Contact Us   Become an Affiliate