Reverse DNS Lookup

Find the host name behind an IP address and check that it points back to the same IP.

1.1.1.1

🇦🇺 Australia · AS13335 Cloudflare, Inc.
Reverse name 1.1.1.1.in-addr.arpa
PTR
one.one.one.one ✓ FCrDNS

Resolves to: 1.0.0.1, 1.1.1.1

  • Ok: one.one.one.one resolves back to 1.1.1.1 (forward-confirmed reverse DNS).

IP geolocation by DB-IP (CC BY 4.0).

What is a reverse DNS lookup?

A reverse DNS lookup finds the host name behind an IP address. Normal (forward) DNS answers "what is the IP of dns.google?"; reverse DNS answers "what is the name of 8.8.8.8?". The answer comes from a PTR record published by whoever owns the IP address.

This tool goes one step further: for every PTR name it checks that the name resolves back to the same IP (forward-confirmed reverse DNS, or FCrDNS), and flags names that look auto-generated by an internet provider. Both matter a lot for email delivery.

How to use the reverse DNS lookup

  1. Enter an IPv4 address (1.1.1.1), an IPv6 address (2606:4700:4700::1111) or a host name (mail.example.com).
  2. Press Enter. For a host name, the tool looks up every IPv4 and IPv6 address it has.
  3. For each IP you see its reverse name, its PTR records, whether each one is forward-confirmed and where the IP is located.
  4. Click the IP to open it in IP Lookup, or a PTR name to see all its DNS records.

How reverse DNS works

Reverse lookups use special DNS zones. For IPv4, the four numbers of the address are written backwards under in-addr.arpa: the PTR of 192.0.2.25 lives at 25.2.0.192.in-addr.arpa. For IPv6, each of the 32 hexadecimal digits is written backwards, separated by dots, under ip6.arpa.

These zones are delegated along with the IP addresses, from the regional registries to hosting providers and ISPs. That is why the PTR of an IP is managed by the owner of the IP, not by the DNS provider of your domain. To change it, look for a "reverse DNS" or "PTR" setting in your server provider's panel, or ask them.

Reading the results

ResultMeaning
✓ FCrDNSThe PTR name resolves back to the same IP. This is what mail servers want to see.
! FCrDNSThe PTR name does not resolve, or resolves to other IPs. Add an A/AAAA record for the name or change the PTR.
No PTR recordThe owner of the IP has not published a name. Normal for home connections and many cloud IPs; a problem for mail servers.
Several PTR recordsAllowed, but many programs only read the first one. Keep a single PTR.
Generic nameThe name contains the IP or words like dynamic, dsl or pool, typical of residential connections.

Reverse DNS and email

When a mail server connects to deliver a message, the receiver looks up the PTR of the connecting IP. Gmail requires every sender to have a PTR that resolves back to the IP, and Microsoft, Yahoo and most spam filters penalise IPs without one. A good setup for a server that sends mail looks like this:

203.0.113.10  PTR  mail.example.com
mail.example.com  A  203.0.113.10
SMTP greeting (HELO): mail.example.com

The PTR name, its A record and the name the server announces when it connects should all match. Then check that the domain lists the server in its SPF record and that its MX records are correct.

Other uses

  • Logs and analytics: turning IPs into names makes logs readable and shows which network a visitor or bot comes from.
  • Verifying crawlers: a real Googlebot IP has a PTR under googlebot.com or google.com that resolves back to it; fake bots fail this check.
  • Troubleshooting: traceroute hops and firewall entries are easier to understand with names.

Frequently asked questions

What is reverse DNS?

Normal DNS turns a name into an IP address. Reverse DNS does the opposite: it turns an IP into a name, using a PTR record stored under a special name such as 8.8.8.8.in-addr.arpa.

What is FCrDNS?

Forward-confirmed reverse DNS: the IP has a PTR name, and that name resolves back to the same IP. It shows that whoever controls the IP also controls the name. Mail servers check it on incoming connections.

Who can change the PTR record of an IP?

Only the owner of the IP range: your hosting provider, cloud provider or ISP, not your domain's DNS provider. Most hosting panels have a "reverse DNS" or "PTR" field for each server IP; for home connections you usually cannot change it.

Do I need reverse DNS?

For a server that sends email, yes: Gmail, Microsoft and most receivers reject or spam-folder mail from IPs without a PTR or with a PTR that does not resolve back. For websites and other servers it is optional but useful in logs and traceroutes.

Can I look up a host name instead of an IP?

Yes. Enter a host name such as mail.example.com and the tool looks up the reverse DNS of each of its IPv4 and IPv6 addresses.

Why is my PTR flagged as generic?

Names that contain the IP address or words like dynamic, dsl, pool or cable are typical of home and mobile connections. Spam filters treat mail from them with suspicion. A mail server should have a PTR such as mail.example.com that matches its own domain.

Related tools

Last updated: