What this reverse DNS lookup shows
A normal DNS lookup turns a name into an IP address. A reverse DNS lookup, or rDNS lookup, goes the other way: it turns an IP address into a hostname, by reading the IP’s PTR record. Mail servers run a reverse DNS check on every server that connects to them, so for anyone sending email the result matters. For each IP, this tool shows:
- The PTR record: the hostname or hostnames the IP points to, and the
in-addr.arpaorip6.arpaname it is stored under. - Forward confirmation (FCrDNS): whether that hostname resolves back to the same IP, as receivers check.
- A generic-hostname check: names that contain the IP or words like dynamic, pool or dsl, which spam filters read as a home or unconfigured server.
- The network: Google, Microsoft, Amazon Web Services, Hetzner, OVHcloud, SendGrid and others, recognised from the hostname.
Enter a domain instead of an IP and the reverse DNS lookup checks every IP of every MX mail server, plus the website’s IPs. The Many IPs at once tab runs a PTR record lookup on up to 100 addresses.
How to do a reverse DNS lookup
- Find the IP. For a sending server, the IP is in the email header: paste the header into the email header analyzer and use its reverse DNS link.
- Enter it above (IPv4 such as
209.85.220.41, or IPv6) and press Reverse lookup. - Read the result: a PTR record that is forward-confirmed and not generic is what a mail server wants to see.
To do a reverse DNS lookup from a terminal instead:
| System | Command |
|---|---|
| Windows (Command Prompt) | nslookup 209.85.220.41 |
| Windows (PowerShell) | Resolve-DnsName 209.85.220.41 |
| macOS and Linux | dig -x 209.85.220.41 +short or host 209.85.220.41 |
Those commands return the PTR record only. Check the forward direction yourself with dig +short and the hostname, or let the tool above do both.
Reverse DNS and PTR records, explained
Reverse DNS (rDNS) is the DNS system that answers a PTR record lookup. Reverse DNS lives in two special parts of the DNS. IPv4 addresses sit under in-addr.arpa with their four numbers reversed, so the PTR record for 209.85.220.41 is at 41.220.85.209.in-addr.arpa. IPv6 addresses sit under ip6.arpa, written out in full and reversed one hexadecimal digit at a time. The reversal puts the most specific part first, the way domain names work.
The key difference from your other DNS records is who controls it. Your A, MX and TXT records live in your domain’s DNS, where you can edit them. A PTR record lives in the DNS of whoever owns the IP address block: your cloud provider, hosting company or internet provider. You cannot add one at your domain registrar; you ask the IP’s owner to set it.
Forward-confirmed reverse DNS (FCrDNS)
Anyone who controls an IP can set its PTR record to any name, including someone else’s domain. That is why receivers do not trust the PTR record alone: they check that the name points back. If 209.85.220.41 has the PTR record mail-sor-f41.google.com, and mail-sor-f41.google.com has an A record of 209.85.220.41, the reverse DNS is forward-confirmed. Google is vouching for both directions.
A PTR record without the matching A or AAAA record fails forward confirmation, and many mail servers treat that like having no reverse DNS at all. This reverse DNS lookup runs the forward check on every hostname it finds.
Reverse DNS and email deliverability
Reverse DNS is one of the oldest anti-spam checks, and it still counts. Gmail’s sender guidelines require every sending IP to have valid forward and reverse DNS, and Yahoo’s require the same. Beyond that, receivers look at:
- No PTR record at all: many servers refuse the connection outright.
- A generic PTR record, such as
ec2-3-120-1-1.eu-central-1.compute.amazonaws.comordsl-203-0-113-7.example.net: treated as a home connection or an unconfigured cloud server, and scored as likely spam. - Not forward-confirmed: the name does not point back, so it proves nothing.
- A mismatch with the HELO name: the name the server gives when it connects should match its PTR record.
Microsoft 365 records the connecting IP’s reverse DNS in the PTR field of its antispam header, which you can read with the email header analyzer.
Do you need to set reverse DNS for cold email?
It depends on what sends the email:
| Sending through | Who manages reverse DNS |
|---|---|
| Google Workspace or Microsoft 365 inboxes (with any sequencer) | Google or Microsoft. Their sending servers already have forward-confirmed reverse DNS; nothing to do. |
| An email service such as SendGrid, Mailgun or Amazon SES | The service, on its shared IPs. With a dedicated IP, check its PTR record. |
| Your own VPS or server running Postfix or another SMTP server | You: set a PTR record that matches the server’s hostname, with a matching A record. |
| A cheap SMTP reseller | The reseller. Run a reverse DNS check on their sending IPs before you trust them. |
Missing or generic reverse DNS is one of the reasons self-hosted and low-cost SMTP setups land in spam, while the same email from a Google Workspace or Microsoft 365 inbox reaches the inbox. To see which servers your domain’s mail uses, enter the domain above, or run the MX lookup.
How to set up a PTR record
Ask the owner of the IP. At the main providers:
- Amazon Web Services: in the EC2 console, open Elastic IPs, select the address and choose Update reverse DNS. The hostname must already have an A record pointing to the Elastic IP.
- Google Cloud: set a public PTR record on the VM’s external IP address.
- Microsoft Azure: set the reverse FQDN on the public IP address resource.
- VPS hosts such as Hetzner, DigitalOcean, Vultr, Linode and OVHcloud: set it in the control panel, or, at some hosts, by giving the server its full hostname as its name.
- Home and office internet: usually not possible. Do not send email directly from these connections.
Pick a hostname on your own domain, such as mail.yourdomain.com, add its A record first, then set the PTR record. Run a PTR record lookup again with the tool above: you want one PTR record, forward-confirmed, not generic. New rDNS can take an hour or more to appear.
Reverse DNS lookup vs reverse IP lookup
The names are close but the tools answer different questions. A reverse DNS lookup (or PTR lookup) reads the single hostname the IP’s owner published in DNS. A reverse IP lookup tries to list every website hosted on an IP, using databases built by crawling the web; it is used for research on shared hosting. For email, only the PTR record counts, because that is what receiving mail servers check, so a PTR lookup is the one you need.
Reverse DNS results, explained
| Result | Meaning | What to do |
|---|---|---|
| PTR record, forward-confirmed | Correct reverse DNS. | Nothing. |
| No PTR record | The IP’s owner set none. | Ask them to set one if the IP sends mail. |
| Not forward-confirmed | The hostname does not point back to the IP. | Add an A or AAAA record for the hostname. |
| Generic hostname | A default name from the provider. | Set a real name on your domain. |
| Several PTR records | Unpredictable for receivers. | Keep one. |
| Private address | 10.x, 172.16–31.x, 192.168.x and similar. | Not visible on the internet; look up the public IP instead. |
Check the reverse DNS of many IPs at once
Comparing SMTP providers, auditing a pool of dedicated IPs, or checking every server in a set of email headers? The bulk reverse DNS lookup takes up to 100 IPv4 and IPv6 addresses, runs a PTR record lookup and a forward check on each, and downloads the results as a CSV.
Sending servers with reverse DNS already right
Reverse DNS is one of the details that makes self-hosted cold email hard. PureMail sets up Google Workspace and Microsoft 365 inboxes on your own domains, so your email leaves from Google’s and Microsoft’s servers with forward-confirmed reverse DNS, and we set SPF, DKIM, DMARC and MX on every domain. Ready in about four hours, from $2.90 an inbox. Check the rest of your setup with the free email deliverability tools.