---
title: "Reverse DNS lookup: resolve IP to hostname (PTR record)"
method: GET
path: "/api/rdns"
tags: ["DNS"]
---

# Reverse DNS lookup: resolve IP to hostname (PTR record)

`GET /api/rdns`

Resolves an IP address to its PTR / reverse DNS hostname. Useful for mail server validation, network forensics, identifying servers behind an IP. No auth.

## Query parameters

- `ip` string, required

## Response `200`

Reverse DNS hostname

---

[API](https://skmtc.dev/hackmyip/apis/hackmyip-privacy-api.md) · [All operations](https://skmtc.dev/hackmyip/apis/hackmyip-privacy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hackmyip/hackmyip-privacy-api/revisions/d68a2457b1cd/schema)
