Reverse DNS Lookup |
Several IPs at once (up to 16, or one /28)
A reverse DNS lookup (or DNS reverse lookup) finds the hostname of an IPv4 or IPv6 address by asking for its PTR record, the opposite of a normal DNS lookup. Mail servers use it to check senders: a good mail server has a PTR that resolves back to the same IP. Paste up to 16 public IPs, or a small block such as a /28, to check them all at once.
What Is Reverse DNS?
Reverse DNS maps an IP back to a name, using the special zones in-addr.arpa (IPv4) and
ip6.arpa (IPv6).
A normal (forward) lookup turns a name into an IP with an A or AAAA record; see the website to IP lookup. Reverse DNS goes the other way, and the two are set separately: the domain owner controls the A record, the IP owner controls the PTR.
What Is a PTR Record?
A PTR (pointer) record stores the hostname for one IP; it's set by whoever controls the IP block, usually the ISP or host, not the domain owner.
10.113.0.203.in-addr.arpa. 3600 IN PTR mail.example.com.
The IP is written backwards because DNS reads names from right to left: 203.0.113.10
becomes 10.113.0.203.in-addr.arpa. IPv6 addresses are written backwards digit by digit
(nibble by nibble) under ip6.arpa. An IP can have several PTRs, but one is the norm.
Reverse DNS for Mail Servers (FCrDNS)
Big mailbox providers expect the sending IP to have a PTR whose hostname resolves back to that IP; generic or missing PTRs hurt delivery.
To set it up: give the server a name in your domain (an A record, for example
mail.example.com → 203.0.113.10), then ask whoever owns the IP to set the PTR to that name.
On AWS, Azure and Google Cloud it's a setting or a support form; on a VPS it's usually in the control
panel. Then run the lookup above: you want a single PTR with "Forward-confirmed". Check the rest of your
setup with the MX lookup and the blacklist checker.
Why an IP Has No Reverse DNS
Nobody created a PTR for it: common for home, mobile and new cloud IPs. It isn't an error unless the IP sends email.
The result says which case it is: "no reverse DNS entry" (NXDOMAIN) means nothing exists for the IP; "no PTR record" means the reverse zone exists but holds nothing for this address. Either way, only the IP owner can fix it. Find who that is with the IP WHOIS lookup.
Reverse DNS vs Reverse IP Lookup
Reverse DNS gives the one hostname set for an IP; a "reverse IP lookup" tries to list every website hosted on it, using crawled data. This tool does reverse DNS.
Do it yourself
How to Do a Reverse DNS Lookup With nslookup or dig
nslookup 8.8.8.8 or dig -x 8.8.8.8 +short.
Windows Command Prompt or PowerShell
nslookup 8.8.8.8
Resolve-DnsName 8.8.8.8
macOS / Linux Terminal
dig -x 8.8.8.8 +short
host 8.8.8.8
For the forward check, look up the name you get: dig +short dns.google should list 8.8.8.8.
How This Lookup Works
| Query | PTR for the IP's in-addr.arpa or ip6.arpa name, live from Google Public DNS (8.8.8.8); Cloudflare (1.1.1.1) if Google doesn't answer. |
|---|---|
| Result | Every PTR record with its TTL; "no PTR" and "no reverse DNS entry" are told apart. |
| Forward check | A and AAAA of each hostname (first four), compared with the IP. |
| Hostname hints | Our pattern list for cloud default names (AWS, Azure, Google Cloud, Hetzner, OVHcloud…), large ISPs' home connections, and static or dynamic keywords. |
| Several IPs | Up to 16 public IPs or one /28 per run, 10 runs per 10 minutes. |
| Last verified |
Frequently Asked Questions
How do I do a reverse DNS lookup?
nslookup followed by the IP on Windows, or dig -x followed by the IP on macOS and Linux.What is a PTR record?
in-addr.arpa for IPv4 or ip6.arpa for IPv6, under the IP written backwards.Who can set the reverse DNS of my IP?
Why does my mail server need reverse DNS?
What does "Reverse DNS does not match SMTP banner" mean?
Why does my IP have no PTR record?
Can I find all websites on an IP?
Next steps