Reverse DNS Lookup
Find the host name an IP address points back to, and check that the name resolves to the same address again.
What this tool checks
Reverse DNS maps an IP address back to a host name using a PTR record. This tool:
- Builds the reverse lookup name from the address you enter.
198.51.100.7becomes7.100.51.198.in-addr.arpa; IPv6 addresses become a long name of reversed hexadecimal digits underip6.arpa. - Looks up the PTR records of that name through a public resolver, over DNS over HTTPS, from our server.
- Looks up the A or AAAA records of each PTR name and checks whether any of them points back to the original address: forward confirmation.
For the network, organisation, country and abuse contact of the address, see the IP lookup, which uses the same input.
How to read the result
| Field | Meaning |
|---|---|
| Lookup name | The in-addr.arpa or ip6.arpa name that was queried. |
| PTR | The host name or names returned. Empty if the address has no reverse DNS. |
| Forward-confirmed | Yes: a PTR name resolves back to this IP. No: it resolves elsewhere or not at all. Not shown when there is no PTR. |
What the result usually means:
- A descriptive, forward-confirmed name such as
mail.example.com: a properly configured server. - A generic name such as
198-51-100-7.dynamic.example.net: typically a home or mobile connection, or a server whose owner never set reverse DNS. Mail from such addresses is often filtered. - No PTR: nothing published. Common for many addresses, but a problem for mail servers.
- A PTR that is not forward-confirmed: either a configuration mistake or a name that the owner of the IP does not control. Receivers treat it as no reverse DNS at all.
Why reverse DNS matters for email
Receiving mail servers usually check the connecting IP’s reverse DNS before accepting a message. Large mailbox providers expect sending servers to have a valid, forward-confirmed PTR, and missing reverse DNS is a common reason for rejection or spam-foldering. Good practice for a mail server:
- the PTR of the sending IP is a name you control, such as
mail.example.com; - the A or AAAA record of that name points back to the same IP;
- the server identifies itself with the same name in its SMTP greeting (
EHLO); - both IPv4 and IPv6 addresses used for sending have reverse DNS.
If you use a hosted email service, your provider handles this for its own servers. You only need to care if you run your own mail server or a dedicated sending IP.
IPv6 reverse DNS
For IPv6 addresses, the reverse name is built from all 32 hexadecimal digits of the address, written backwards and separated by dots, under ip6.arpa. The address 2001:db8::25 becomes a name of 32 labels ending in 8.b.d.0.1.0.0.2.ip6.arpa. You do not need to build it yourself: the tool does it for you and shows the result. Because IPv6 networks are huge, providers usually create PTR records only for addresses you ask for, so check each sending address individually.
Common problems and fixes
- Cannot set the PTR at my DNS provider. Reverse zones belong to the IP block holder. Use your hosting provider’s control panel or support.
- PTR set but not forward-confirmed. Add an A (or AAAA) record for the PTR name with the same IP, at your domain’s DNS provider.
- Changes not visible yet. PTR records are cached like any other. Check the TTL, and allow time for the provider’s change to publish.
- Several PTR names. It works, but many programs read only one. Keep a single PTR per address.
- “Private or reserved address”. Private addresses such as 10.0.0.0/8 or 192.168.0.0/16 have no public reverse DNS.
Related
- PTR record guide: how reverse zones are built and delegated.
- IP lookup: ASN, organisation, country and network details.
- Email checker: MX, SPF, DKIM and DMARC for the domain that sends the mail.
- A record guide: the forward record that confirms reverse DNS.
Frequently asked questions
How do I set reverse DNS for my server?
Ask the provider that assigned you the IP address, usually your hosting, cloud or internet provider. Most have a 'reverse DNS' or 'PTR' field in their control panel. Your domain's DNS provider cannot do it unless it also controls the IP block.
What does 'forward-confirmed' mean?
It means the PTR name has an A or AAAA record pointing back to the same IP address. Anyone controlling a reverse zone can write any name in a PTR, so the forward check is what makes reverse DNS trustworthy.
Why does my mail get rejected with a message about reverse DNS?
Many receiving servers refuse or penalise connections from IPs without reverse DNS, or with a name that is not forward-confirmed. Set a PTR that matches your mail server's host name, and make sure that name's A or AAAA record points to the same IP.