Qualifying a mail server before sending
Major receivers reject or heavily penalise mail from an IP with no PTR, or a PTR that does not match the HELO name. This is the first thing to fix on a new sending IP.
Finds the hostname(s) associated with an IP address via PTR records.
Finds the hostname(s) associated with an IP address via PTR records.
8.8.8.8
dns.google
The PTR record resolves the reverse mapping.
A PTR maps IP → hostname (the reverse of A/AAAA).
Your input is sent to YAS infrastructure because the tool requires server-side processing or public network queries. Input is not stored.
curl -X POST "https://yas.sh/api/v1/tools/reverse-dns" \
-H "Content-Type: application/json" \
-d '{"ip":"8.8.8.8"}'const res = await fetch("https://yas.sh/api/v1/tools/reverse-dns", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"ip": "8.8.8.8"
}),
});
const data = await res.json();import requests
r = requests.post("https://yas.sh/api/v1/tools/reverse-dns", json={"ip":"8.8.8.8"})
data = r.json()| Field | Type | Required | Description |
|---|---|---|---|
| ip | string | Yes | IPv4 or IPv6 address |
| max | integer | No (default 5) | Max results (1–20) |
{ "ip": "8.8.8.8", "result": ["dns.google"] }PTR lookup — find hostnames for an IP.
400 VALIDATION_ERROR — invalid input or unsupported option.413 PAYLOAD_TOO_LARGE — input exceeds the 64 KB limit.429 RATE_LIMIT_EXCEEDED — rate limit exceeded (60 req/min).A reverse lookup asks which name is registered for an address by querying a PTR record in a special zone: IPv4 addresses are reversed and suffixed with in-addr.arpa (203.0.113.7 becomes 7.113.0.203.in-addr.arpa), while IPv6 uses nibble-reversed digits under ip6.arpa. Authority over that zone belongs to whoever was allocated the address block — your hosting provider or ISP — not to the owner of the domain the address serves.
Forward and reverse DNS are independent databases. A name resolving to an address implies nothing about that address resolving back, and the two can disagree indefinitely. Forward-confirmed reverse DNS — where the PTR name resolves forward to the original address — is the check that actually establishes a consistent pair, and it is what mail servers and log analysers rely on.
Major receivers reject or heavily penalise mail from an IP with no PTR, or a PTR that does not match the HELO name. This is the first thing to fix on a new sending IP.
A PTR often reveals the hosting provider or the crawler operator, turning an anonymous address into an actionable one.
Google and Bing document forward-confirmed reverse DNS as the verification method: the PTR must end in their domain and resolve forward to the same address.
Discovering that half your allocated range has no PTR is much better done before deliverability depends on it.
What this tool deliberately does not do, and where it will disagree with other implementations.