Glossary
Reverse DNS: from an IP address back to a hostname
Reverse DNS maps an IP address to a hostname through PTR records. How in-addr.arpa works, why mail servers need it and what it says about a network.
Updated 2026-11-23
Reverse DNS is the lookup of an IP address to find a hostname. Ordinary DNS maps names to addresses. Reverse DNS goes the other way, using PTR records published in dedicated zones controlled by the owner of the address block.
How it works
The address is written backwards and put under a special domain. For IPv4 that is in-addr.arpa, defined in RFC 1035, and for IPv6 ip6.arpa (RFC 3596).
203.0.113.7 -> 7.113.0.203.in-addr.arpa. PTR mail.example.com.
| Part | Meaning |
|---|---|
| Octets reversed | Delegation follows the address hierarchy |
| PTR record | Holds the hostname |
| Reverse zone | Controlled by the block owner, see CIDR |
Three things to know:
- Control. Only the owner of the address block, normally an ISP or hosting provider, can set the PTR. Your own DNS zone cannot.
- Not guaranteed. Many addresses have no PTR, or a generic one such as one built from the IP digits, which signals a residential or unmanaged line.
- Forward confirmation. A trustworthy setup has a PTR whose hostname resolves back to the same address. This is forward-confirmed reverse DNS.
Mail systems use it constantly. A receiving server compares the connecting IP's PTR with the name given in EHLO and with its own policies, see SMTP. Missing or mismatched reverse DNS is a common reason for rejection and a standard item of a sender reputation check.
Reverse DNS names also leak information. Router and hosting names often include city or airport codes, which some geolocation methods use, and the domain part often names the operator.
You can query PTR records with the DNS lookup tool.
Why it matters for validation
Qelka's IP API does not return a PTR name. Its fields come from network data: country, region, city, ASN and network type, flags and a risk score, see the IP reference. Reverse DNS is a complementary check you can make yourself.
Where it helps:
- Your own mail servers. Set and test PTR before you send, a basic step for deliverability.
- Investigation. A PTR that names a hosting provider supports a datacenter conclusion. A generic one points to a consumer line.
- Trusting claims. If a request says it is a search engine crawler, forward-confirmed reverse DNS is the way to verify it.
Do not use a PTR as proof of identity on its own: it is controlled by the address owner and can say anything.
Related
Frequently asked questions
What is reverse DNS?
Why do mail servers need reverse DNS?
How do I set a reverse DNS record?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time