📡

Reverse DNS Lookup

Reverse DNS (PTR) lookup with IP intelligence — hostname, geo, ASN, org.

GET /v1/reverse
curl "https://dns.toolkitapi.io/v1/reverse?ip=8.8.8.8"
import httpx

resp = httpx.get(
    "https://dns.toolkitapi.io/v1/reverse?ip=8.8.8.8",
)
print(resp.json())
const resp = await fetch("https://dns.toolkitapi.io/v1/reverse?ip=8.8.8.8", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response 200 OK
{
  "ip": "8.8.8.8",
  "hostname": "dns.google",
  "asn": 15169,
  "as_name": "GOOGLE",
  "country": "US",
  "city": "Mountain View",
  "org": "Google LLC",
  "query_time_ms": 34.2
}

Try It Live

Live Demo

Description

Reverse DNS (PTR) lookup with IP intelligence — hostname, geo, ASN, org.

How to Use

1

1. Pass any IPv4 or IPv6 address in the `ip` parameter. 2. Check `hostname` for the reverse DNS record and `org`/`as_name` for ownership.

About This Tool

Reverse DNS Lookup performs a PTR lookup on an IP address and returns the associated hostname, geolocation, ASN, and organization. It combines reverse DNS with IP intelligence for a complete picture of who owns an IP address.

Why Use This Tool

Frequently Asked Questions

What if there's no PTR record?
The `hostname` field will be null, but geolocation and ASN data are still returned from IP intelligence databases.
Does this support IPv6?
Yes — pass any valid IPv4 or IPv6 address.

Start using Reverse DNS Lookup now

Get your free API key and make your first request in under a minute.