This is a REST API allowing to perform DNS queries over HTTP, and to get reverse PTR records for both IPv4 and IPv6 addresses. It outputs JSON-encoded DNS responses and can be useful in server-side environments where you cannot perform DNS queries locally, for client-side Web Applications (including Web browser extensions), and for DNS operators.

There is no rate limit of any sort at the moment, and the service is free for everyone to use.

The API powering this site (RRDA) is open source and can be downloaded here.

We maintain a test domain hosting some seldom used resource record types.


When incorrect input is entered, the server returns an HTTP 400 Error (Bad Request), along with a JSON-encoded error message.

When a malformed domain name is entered, the following error message is returned :

{"error":{"code":400,"message":"ERROR : Input string is not a well-formed domain name."}}

When an invalid IP address is entered, the following error message is returned :

{"error":{"code":400,"message":"ERROR : Input string is not a valid IP address."}}

Getting Resources Records

Get Host Address (A records)
Get IPv6 Host Address (AAAA records)
Get Certificate (CERT records)
Get Canonical Name (CNAME records)
Get DHCP Identifier (DHCID records)
Get DNSSEC Lookaside Validation record (DLV records)
Get Delegation name (DNAME records)
Get DNS Key record (DNSKEY records)
Get Delegation Signer (DS records)
Get Host Information (HINFO records)
Get Host Identity Protocol (HIP records)
Get IPSec Key (IPSECKEY records)
Get Key eXchanger record (KX records)
Get Location record (LOC records)
Get Mail Exchange record (MX records)
Get Name Authority Pointer (NAPTR records)
Get Name Servers (NS records)
Get Next-Secure record (NSEC records)
Get NSEC record version 3 (NSEC3 records)
Get NSEC3 parameters (NSEC3PARAM records)
Get Option record (OPT records)
Get Pointer record (PTR records)
Get Resource Records Signature (RRSIG records)
Get Start of Authority (SOA record)
Get Sender Policy Framework (SPF records)
Get Service Locator (SRV records)
Get SSH Public Key Fingerprint (SSHFP records)
Get DNSSEC Trust Authorities (TA records)
Get Trust Anchor LINK (TALINK records)
Get TLSA records
Get Text record (TXT records)

Getting Reverse PTR Records

Get reverse (PTR) record from IPv4 addresses
Get reverse (PTR) record from IPv6 addresses