Free tool · No account · IPv4 & IPv6

Reverse DNS Lookup

PTR record check · IP to hostname · FCrDNS

Find the hostname of any IP address from its PTR record, confirm the hostname resolves back to the same IP, and see whether its reverse DNS is ready for sending email. Enter a domain to check the reverse DNS of its mail servers.

Try:
  • PTRHostname for any IP

    Every PTR record for IPv4 and IPv6, with its reverse zone name and TTL.

  • FCrDNSResolves back?

    Checks that each hostname’s A or AAAA record returns the same IP.

  • EmailReady for mail?

    Flags missing, mismatched and generic reverse DNS that mail servers reject.

  • Fix itWho controls it

    Shows the network that owns the IP, and how to set the PTR there.

What is reverse DNS (rDNS)?

Reverse DNS turns an IP address back into a hostname. A normal DNS lookup asks “what IP does this name use?”; a reverse DNS lookup asks “what name belongs to this IP?” The answer is stored in a PTR record.

How a reverse DNS lookup works

The IP address is written backwards under a special domain, and the lookup asks for its PTR record. IPv4 addresses reverse their four numbers under in-addr.arpa; IPv6 addresses reverse every hex digit under ip6.arpa.

198.51.100.24 → 24.100.51.198.in-addr.arpa 2001:db8:4f::25 → 5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.4.0.0.8.b.d.0.1.0.0.2.ip6.arpa

How to find the hostname of an IP address

Enter the IP address above. The lookup returns the hostname from its PTR record, if the network that owns the IP has published one.

  1. Paste an IPv4 or IPv6 address. URLs, ports and brackets are removed for you.
  2. Read the hostname and whether it’s forward-confirmed.
  3. No hostname? That’s normal for many home, mobile and cloud addresses. See why a lookup returns no PTR.

To go the other way, from a hostname to its IP addresses, use DNS Lookup or IP Lookup.

What is a PTR record?

A PTR (pointer) record is the DNS record that maps an IP address to a hostname. It’s the reverse of an A or AAAA record, which maps a hostname to an IP address.

; PTR record example (reverse zone) 24.100.51.198.in-addr.arpa. 3600 IN PTR mail.example.com. ; Matching forward record (example.com zone) mail.example.com. 3600 IN A 198.51.100.24
A / AAAA recordPTR record
DirectionHostname → IPIP → hostname
Lives inThe domain’s own DNS zoneThe reverse zone (in-addr.arpa / ip6.arpa)
Who edits itThe domain owner, at their DNS hostThe owner of the IP block: your host, cloud provider or ISP

Can an IP have more than one PTR record?

Yes. DNS allows several PTR records for one IP, and the lookup shows all of them. For a mail server, use exactly one: when there are several, receiving servers may pick any of them, which makes results unpredictable.

Forward-confirmed reverse DNS (FCrDNS)

FCrDNS means the check works both ways: the IP’s PTR record gives a hostname, and that hostname’s A or AAAA record includes the same IP. Mail servers use it to confirm a sender isn’t using a borrowed name.

198.51.100.24 → PTR mail.example.com (reverse) mail.example.com → A 198.51.100.24 (forward) ✓ forward-confirmed

A PTR record should also point to a real hostname with its own A or AAAA record, not to an alias (CNAME). The lookup checks every PTR it finds.

Reverse DNS for email servers

Mail providers check the reverse DNS of every server that connects to them. A missing PTR, a PTR that doesn’t resolve back, or a generic provider-style name are common reasons for email to be rejected or sent to spam.

  • Gmail asks all senders for valid forward and reverse DNS, and the sending IP must match the IP of the hostname in its PTR record.
  • Spamhaus advises against generic or auto-generated reverse DNS names (like static-198-51-100-25.host.example.net) for dedicated mail IPs.
  • Outlook.com requires mail servers to have valid reverse DNS records.

“Reverse DNS does not match SMTP banner”

This warning means your mail server greets other servers with a hostname (its SMTP banner or HELO name) that doesn’t match its PTR record. Make three things use the same name: the PTR record, the hostname’s A record, and the server’s greeting (myhostname in Postfix, primary_hostname in Exim).

Bounce or warningMeaningFix
550-5.7.25 (Gmail)No PTR record, or its hostname doesn’t resolve back to the sending IP.Set the PTR at the IP owner, then add an A/AAAA record for that hostname.
451 4.7.23 (Gmail)Temporary deferral for the same reason.Same fix; Gmail retries.
550-5.7.1 IPv6 (Gmail)An IPv6 sender lacks a PTR record or authentication.Add an IPv6 PTR and AAAA record, or send over IPv4.
Reverse DNS does not match SMTP bannerThe greeting hostname differs from the PTR.Use the same name for the PTR, A record and HELO.

How to set up reverse DNS (PTR record) by provider

Your PTR record is set by whoever owns the IP address, usually your hosting or cloud provider, not by your domain registrar or DNS host. Most providers require the forward A or AAAA record to exist first.

ProviderWhere to set itBefore you start
AWS (EC2)Elastic IPs → Actions → Update reverse DNSAn A record must point to the Elastic IP
Microsoft AzurePublic IP “reverse FQDN”, set with Azure CLI or PowerShell (not the portal)The name must resolve to this IP or belong to your subscription; IPv4 only
Google CloudVM instance → Edit → primary network interface → Public DNS PTR recordVerify the domain (Search Console, or an A record to the VM’s IP)
DigitalOceanRename the Droplet to the full hostnameThe Droplet name becomes the PTR; IPv6 covers the first address only
HetznerHetzner Console → server → Networking → edit reverse DNSFor IPv6, set it per address
Linode (Akamai)Linode → Network → Edit RDNSForward DNS must already work
VultrInstance → Settings → IPv4/IPv6 → Reverse DNSChanges can take hours to spread
OVHcloudNetwork → Public IP addresses → Configure the reverse DNSChecks the A/AAAA record immediately
ContaboDNS Management → Reverse DNS ManagementIPv6 PTRs are added separately
Shared hosting / cPanelUsually not editable by youAsk your host to set it

Menu names change often. Last checked October 2026.

Use Cloudflare or another DNS host for your domain? You still can’t set a PTR there for your server’s IP, because the reverse zone belongs to the IP owner.

Reverse DNS vs reverse IP lookup

Reverse DNS returns the one hostname the IP owner published for an address. A reverse IP lookup tries to list every website hosted on that IP, which needs a separate database of observed DNS records.

This tool does reverse DNS. Many sites call PTR checks “reverse IP lookup”; if you were looking for all the domains on a shared server, that’s a different kind of tool.

Reverse DNS lookup commands

You can run the same PTR lookup from a terminal. These commands return the hostname for an IP address:

ToolCommand
dig (macOS, Linux)dig -x 198.51.100.24 +short
nslookup (Windows cmd, macOS, Linux)nslookup -type=PTR 198.51.100.24
host (Linux)host 198.51.100.24
PowerShellResolve-DnsName -Name 198.51.100.24 -Type PTR
Pythonsocket.gethostbyaddr("198.51.100.24")

The result panel fills these in with the IP you checked, ready to copy.

Why a reverse DNS lookup returns no PTR

“No PTR record” is normal for many addresses. Home broadband, mobile and VPN addresses often have none, and many cloud servers only have a default one until you set your own.

  • Private addresses like 192.168.x.x or 10.x.x.x have no public PTR. Their names live on your internal DNS.
  • No PTR published: the IP owner hasn’t set one. Only they can add it.
  • Timeouts: the reverse zone’s servers didn’t answer. That isn’t the same as “no PTR”, so the result says so.

A PTR hostname is a naming hint published by the IP owner, not proof of who uses an address. DomainsMesh is independent and doesn’t identify individuals from IP addresses.

Last updated .

Fixed your reverse DNS? Keep watching your domain.

DomainsMesh Monitor is free with a sign-in and records DNS and certificate changes on the domains you own. Email alerts are launching soon.

Explore Domain Monitor

Reverse DNS questions

What is a reverse DNS lookup?

A reverse DNS lookup finds the hostname for an IP address by reading its PTR record. It’s the opposite of a normal DNS lookup, which finds the IP address for a hostname.

What is a PTR record?

A PTR (pointer) record maps an IP address to a hostname. It lives in a reverse zone under in-addr.arpa for IPv4 or ip6.arpa for IPv6, and is set by the owner of the IP address.

How do I find the hostname of an IP address?

Enter the IP address in the reverse DNS lookup. It returns the hostname from the IP’s PTR record, if one has been published.

Why does my IP have no reverse DNS?

The owner of the IP address hasn’t published a PTR record for it. That’s normal for home, mobile and many cloud addresses. For a mail server, ask your hosting provider to set one.

Who sets the PTR record, my registrar or my host?

Your host. The PTR record is controlled by whoever owns the IP address, usually your hosting or cloud provider or ISP, not your domain registrar or DNS host.

Can I set a PTR record in Cloudflare?

Not for your server’s IP address. Cloudflare can host your domain’s forward records, but the PTR record must be set by the provider that owns the IP.

Can an IP have more than one PTR record?

Yes, DNS allows it, and this lookup shows all of them. For a mail server, use exactly one PTR record so receiving servers always see the same name.

What is forward-confirmed reverse DNS (FCrDNS)?

FCrDNS means the IP’s PTR hostname has an A or AAAA record that points back to the same IP. Mail servers use it to check that a sender’s name is genuine.

Does Gmail require reverse DNS?

Yes. Gmail asks all senders to have valid forward and reverse DNS, and the sending IP must match the IP of the hostname in its PTR record. Missing or mismatched PTRs can cause 550 5.7.25 rejections.

What does 550 5.7.25 mean?

It’s a Gmail rejection: the sending IP has no PTR record, or the PTR hostname doesn’t resolve back to that IP. Set the PTR at your provider and add a matching A or AAAA record.

Is reverse DNS the same as reverse IP lookup?

No. Reverse DNS returns the hostname the IP owner published. A reverse IP lookup tries to list every website hosted on an IP, which needs a different kind of database.

How long does a PTR record change take?

It depends on the provider and the record’s TTL, usually from a few minutes to several hours. The lookup shows the current TTL so you can see when cached answers expire.