Reverse DNS Lookup Tool

Query PTR records for IPv4 or IPv6 addresses

Enter a valid IPv4 or IPv6 address
Please enter a valid IPv4 or IPv6 address
Performing reverse DNS lookup…

Results

IP Address

PTR Records

Popular reverse DNS lookups for common email sender infrastructure — Google Workspace, Microsoft 365, Amazon SES, SendGrid, Mailgun, Postmark, Mailchimp, and other major providers. Click any IP to run the lookup.

Recent Lookups

IP AddressReverse DNSProvider
40.93.13.98 mail-dm5pr08cu00402.outbound.protection.outlook.com Microsoft 365
54.240.3.12 a3-12.smtp-out.eu-west-1.amazonses.com Amazon SES
23.231.52.231 exact.whdnusa.com
209.85.220.69 mail-sor-f69.google.com Google Workspace
149.72.61.226 s.wrqvpdzn.outbound-mail.sendgrid.net SendGrid

Most Frequent

IP AddressReverse DNSProvider
54.240.3.12 a3-12.smtp-out.eu-west-1.amazonses.com Amazon SES
40.93.13.98 mail-dm5pr08cu00402.outbound.protection.outlook.com Microsoft 365
209.85.220.69 mail-sor-f69.google.com Google Workspace
209.85.220.41 mail-sor-f41.google.com Google Workspace
149.72.61.226 s.wrqvpdzn.outbound-mail.sendgrid.net SendGrid
2a01:111:f403:c201::6 mail-westeuropeazlp170130006.outbound.protection.outlook.com Microsoft 365
2a01:111:f403:c201::3 mail-westeuropeazlp170110003.outbound.protection.outlook.com Microsoft 365
2a01:111:f403:c201::1 mail-westeuropeazlp170100001.outbound.protection.outlook.com Microsoft 365

How It Works

  1. Enter an IP Address — Type any IPv4 (e.g., 8.8.8.8) or IPv6 address into the lookup field.
  2. PTR Record Query — The tool queries the DNS reverse zone (in-addr.arpa for IPv4, ip6.arpa for IPv6) to find the PTR record associated with that IP.
  3. View the Hostname — If a PTR record exists, the associated hostname is displayed — for example, an IP used by Google's mail servers might resolve to mail-wr1-f54.google.com. If no record exists, the tool reports that no PTR record is configured.

Reverse DNS Reference

What Is a Reverse DNS Lookup?

A reverse DNS lookup takes an IP address and returns the hostname associated with it by querying PTR (pointer) records. It's the opposite of a normal DNS lookup, which converts a hostname into an IP address. For example, a reverse lookup on one of Google's mail server IPs might return mail-wr1-f54.google.com, immediately telling you the IP belongs to Google's mail infrastructure.

PTR records are configured by the owner of the IP address (typically the hosting provider or ISP), not the domain owner. This means not all IP addresses have PTR records — it depends on whether the IP owner has set one up. For mail servers, however, having a valid PTR record is considered best practice and is often required by receiving servers as a basic spam check.

Why Does Reverse DNS Matter for Email Deliverability?

Many receiving mail servers perform a reverse DNS check on the connecting IP as one of their first anti-spam checks. The logic is straightforward: legitimate mail servers almost always have PTR records configured, while spammers and compromised machines often don't. If a sending IP has no PTR record, or if the PTR hostname doesn't resolve back to the original IP (a "forward-confirmed reverse DNS" failure), some receivers will reject the connection outright or score the message as more likely to be spam.

This is relevant to DMARC monitoring because when you see authentication failures in your DMARC reports from a specific IP, checking its reverse DNS helps you quickly assess whether the IP is a properly configured mail server or something more suspect. An IP with no PTR record sending mail as your domain is a stronger signal of unauthorized activity than one with a PTR record matching a known email provider.

What Does "No PTR Record" Mean?

If this tool returns no PTR record for an IP address, it means the IP owner hasn't configured reverse DNS for that address. This isn't necessarily malicious — many cloud servers, residential ISPs, and smaller hosting providers don't set up PTR records by default. But for mail servers, it's a red flag.

If the IP in question is one of your own servers (or a service sending email on your behalf), the fix is to contact your hosting provider and request a PTR record that matches your mail server's hostname. Most providers can set this up quickly. If you're seeing IPs without PTR records in your DMARC reports and they're not servers you recognize, that's worth investigating — Viewleaf's IP Intelligence view combines reverse DNS, Whois, and geolocation data to help you assess these sources at a glance.

How Do I Perform a Reverse DNS Lookup?

The easiest way is to use this tool — enter any IP address and click Lookup. No technical setup required, and it's convenient for quickly investigating IPs you've spotted in DMARC reports or mail logs.

If you prefer the command line, both major approaches work on any platform:

  • Windows (nslookup reverse dns): nslookup 8.8.8.8
  • macOS / Linux: dig -x 8.8.8.8

Command-line tools are useful when scripting bulk checks or when you need to query a specific DNS resolver rather than your system default. For one-off lookups and DMARC investigation, this tool is faster.

What Is a PTR Record and How Does It Work?

A PTR record (pointer record) is a DNS record that maps an IP address to a hostname — the reverse of an A record, which maps a hostname to an IP. PTR records live in a special reverse DNS zone: in-addr.arpa for IPv4 addresses and ip6.arpa for IPv6. For example, the reverse DNS record for 8.8.8.8 is stored at 8.8.8.8.in-addr.arpa.

PTR records are configured by the owner of the IP address — typically the hosting provider or ISP — not the domain owner. This is why setting up reverse DNS for a mail server usually means submitting a request to your hosting provider rather than editing your own DNS zone.

For email servers, a properly configured PTR record is expected by most receiving mail servers as a basic legitimacy check. Ideally, the PTR hostname should match the server's HELO/EHLO identity and have a corresponding A record pointing back to the same IP. This is called Forward-Confirmed Reverse DNS (FCrDNS), and some receiving servers require it.

What Are Common Reverse DNS Problems?

Missing PTR record. The most common reverse DNS problem — the IP has no PTR record configured at all. As covered above in What Does "No PTR Record" Mean?, this can cause email from that IP to be rejected outright or scored as spam by receiving servers.

Mismatched PTR hostname. The PTR record exists, but the hostname doesn't match the mail server's HELO/EHLO identity, or the hostname doesn't resolve back to the original IP (a failed FCrDNS check). Some receivers treat this as a signal of a misconfigured or suspicious sender.

Generic PTR hostnames. Many hosting providers assign default PTR records like host-192-168-1-1.example-isp.com. While technically present, these generic hostnames can still trigger spam filters — they look like residential or dynamic IPs rather than dedicated mail infrastructure.

How to fix these. Contact your hosting provider to set a custom PTR record matching your mail server's hostname. Most major cloud providers (AWS, GCP, Azure) have a self-service process for requesting custom reverse DNS. If you're not sure which IPs are sending email as your domain or whether they have proper PTR records configured, DMARC Lookup — combined with Viewleaf's monitoring — can surface exactly that from your aggregate DMARC reports.