DNSVerdict

Reverse DNS (PTR) Lookup

Find the PTR hostname for an IPv4 or IPv6 address and test forward-confirmed reverse DNS (FCrDNS), which mail servers check. Free, runs in your browser.

Updated 2026-10-20

Your query is sent only to the resolver shown; this site keeps no logs.

Result

What this checks

DNSVerdict's reverse DNS lookup turns an IPv4 or IPv6 address into its in-addr.arpa or ip6.arpa name, fetches the PTR record and then checks that the hostname resolves back to the same IP. When both directions agree, the address has forward-confirmed reverse DNS (FCrDNS), which mail servers use as a basic trust signal. The result shows each PTR hostname, whether its forward lookup matches, the TTL and the resolver used.

A PTR record maps an IP address back to a hostname. It lives in the reverse zone (in-addr.arpa for IPv4, ip6.arpa for IPv6), which is delegated to whoever owns the address block, not to the owner of your domain. That is why your DNS host cannot create it and your hosting provider or ISP has to.

Forward-confirmed reverse DNS (FCrDNS) goes one step further: the PTR hostname must itself resolve, through an A or AAAA record, to the same IP you started from. A PTR alone proves little, because whoever controls the address block can write any name into it. The forward lookup proves the owner of that name agrees. This tool shows both lookups side by side, so you can see which half is missing.

Mail servers use this check as a cheap reputation signal. RFC 1912 section 2.1 says every IP address should have a matching PTR record and that the PTR and A records should agree. Gmail's sender guidelines require the sending IP to have a PTR record whose forward lookup returns the same IP, and Microsoft's Outlook.com sender requirements expect valid reverse DNS as well. Without it, mail is rejected or deferred, for example with a Gmail 421 4.7.23 or 550 5.7.25 reply.

If you were sent here by a bounce, read the matching pages: the generic 5.7.25 bounce, the Gmail 5.7.25 bounce and the Gmail 4.7.23 deferral. For best results the PTR hostname should be a name you control, preferably the same name the server uses in its SMTP HELO/EHLO greeting. Changes can take as long as the PTR record TTL to appear.

How the name is built. For 203.0.113.7 the PTR name is 7.113.0.203.in-addr.arpa: the four octets in reverse order (RFC 1035 §3.5). For IPv6, each of the 32 hexadecimal digits becomes one label, in reverse order, under ip6.arpa (RFC 3596 §2.5). In a terminal the same lookup is dig -x 203.0.113.7 +short, or nslookup 203.0.113.7 on Windows. To check the forward half yourself, run dig mail.example.com A +short (AAAA for IPv6) and confirm that the address you started from is in the output. If the PTR lookup returns several names, every one of them should resolve back.

Common mistakes. Asking the DNS host of your domain to add the PTR, when the record lives in the reverse zone of whoever owns the address block; setting a PTR to a name that has no A or AAAA record, which fails the forward half; checking a private address such as 192.168.1.10 behind NAT, since the PTR belongs to the public address; and assuming IPv6 is covered when only the IPv4 address has a PTR. Cloud servers usually need the provider's console or a support ticket for this. The reverse DNS guide for mail servers lists the steps, and the MX lookup shows which hosts receive your mail.

If it fails

FAQ

Why does my mail server need a PTR record?

Receiving servers treat a missing or mismatched PTR as a sign of an unmanaged or compromised host. RFC 1912 §2.1 recommends a matching PTR for every address, and Gmail's sender guidelines require the sending IP to have a PTR that resolves back to it. Without one, mail is deferred or rejected, for example with 550 5.7.25.

Who controls PTR records?

The owner of the IP address block controls them, usually your hosting provider, cloud vendor or ISP, because the reverse zone is delegated to them and not to the owner of your domain. Some providers offer a control-panel field; others need a support ticket. Changing your own domain's DNS zone has no effect on the PTR.

Can an IP address have several PTR records?

Technically yes, since DNS allows several PTR records at one name, but resolvers return them in varying order, so a receiver may check a different one than you expect. For a mail server publish exactly one PTR whose hostname resolves back to the IP. This tool checks every PTR it finds and reports a mismatch if any one fails.

Does the reverse DNS lookup work for IPv6?

Yes. The tool expands the IPv6 address to 32 hexadecimal digits, reverses them into labels under ip6.arpa (RFC 3596 §2.5) and queries the PTR record. Then it looks up the AAAA record of each hostname and compares it with the address you entered. Many providers set IPv4 reverse DNS but leave IPv6 empty, so check both addresses separately.

Guides

DNS record types explained: A, MX, TXT, CNAME and moreGmail and Yahoo bulk sender rules: compliance checklistHow to get your IP off an email blacklistReverse DNS (PTR) for mail servers: how to set it

Related tools

DNS LookupMX LookupIP & Email Blacklist Check (DNSBL Lookup)IP and ASN Whois (RDAP)IPv6 Address Expand, Compress and Reverse Name ToolWhat Is My IP Address?