Google PlayGoogle Play
Temp Mail Logo

Temp Mail safeguards your privacy while keeping your inbox free from spam.

🔍 PTR Record · rDNS · in-addr.arpa · Mail Server Verification · FCrDNS

Reverse DNS Lookup

Free reverse DNS lookup tool. Enter any IPv4 address to find its PTR record and hostname. Used to verify mail server identities and diagnose email deliverability issues.

✓ PTR record lookup✓ in-addr.arpa query✓ Hostname resolution✓ Mail server check✓ No signup
What this tool does

Free reverse DNS lookup: find the PTR record and hostname for any IPv4 address

How reverse DNS works, what PTR records are, and why they matter for email delivery and server identity

This reverse DNS lookup tool takes any IPv4 address, reverses the octets, appends .in-addr.arpa, and queries the PTR (pointer) record via Cloudflare DNS-over-HTTPS. For example, entering 8.8.8.8 constructs the query 8.8.8.8.in-addr.arpa and returns dns.google. If no PTR record exists, which is the case for many self-hosted servers and newly provisioned IPs, the tool displays a clear warning, because a missing PTR record is one of the most common and easiest-to-fix causes of email delivery failures from self-hosted mail infrastructure.

PTR records are stored in a special DNS zone called in-addr.arpa, defined in RFC 1035. Unlike your domain's DNS records (which you control through your registrar or DNS provider), PTR records are controlled by whoever owns the IP address block. Typically your hosting provider or ISP. This is why setting a PTR record requires action in your cloud provider's control panel or a support request to your ISP, not in your domain's DNS settings.

For mail server operators, this lookup is often the first diagnostic step when email is being rejected with errors like "550 No PTR record" or "421 cannot verify sender". Pair the reverse lookup here with a forward DNS check on the returned hostname to verify FCrDNS (forward-confirmed reverse DNS). The two-way verification that provides the strongest trust signal. Also check the IP against spam blacklists using the Email Blacklist Checker, since Spamhaus PBL and similar lists flag IPs with generic or missing PTR records.

What this tool checks
PTR Lookup
Constructs the correct reversed in-addr.arpa query and retrieves the PTR record via Cloudflare DoH.
arpa Query Display
Shows the full in-addr.arpa query name so you can see exactly what DNS query was made.
Hostname Display
Returns the hostname the PTR record points to. This should match the server's SMTP EHLO hostname.
No-PTR Warning
Clearly flags when an IP has no reverse DNS configured. A common cause of mail delivery failures.
Sample IPs
Quick-load buttons for Google DNS (8.8.8.8), Cloudflare (1.1.1.1), and OpenDNS (208.67.222.222).
Instant Results
Queries complete via Cloudflare DoH in under one second for most IPs worldwide.
Why it matters

Why reverse DNS and PTR records matter for email delivery, server identity, and security

Reverse DNS sits at the intersection of network identity and email trust. When a mail server connects to Gmail, Outlook, or any corporate email gateway to deliver a message, the receiving server performs a reverse DNS lookup on the connecting IP as one of its first checks. If that IP resolves to a meaningful hostname, and ideally that hostname forward-confirms back to the same IP, the connecting server gains a basic layer of identity credibility. If the IP has no PTR record at all, or resolves to a generic provider-assigned name like ec2-203-0-113-45.compute.amazonaws.com, the receiving server immediately has less reason to trust the connection.

For organisations running their own mail servers on cloud infrastructure, missing PTR records are one of the most common preventable causes of delivery failures. The fix is straightforward, configure the PTR record in the cloud provider's control panel, but it requires knowing what to look for. Many first-time self-hosted mail server administrators spend hours troubleshooting SPF, DKIM, and DMARC configuration before discovering the underlying problem is simply that their sending IP has no reverse DNS. This tool makes that check instantaneous.

Beyond email, PTR records serve as a lightweight server identity signal in general network security contexts. Security tools, firewall logs, and monitoring systems all perform reverse DNS lookups when displaying IP addresses. A PTR record that returns mail.yourcompany.com is far more informative in an access log than a raw IP. Incident response investigators routinely use reverse DNS to quickly identify what infrastructure an IP belongs to. Network administrators use it to audit which servers are connecting to their systems.

The Spamhaus PBL (Policy Block List), one of the most widely used email blacklists, specifically targets IPs with generic PTR records or no PTR records, classifying them as ISP-designated end-user ranges not intended for direct mail server connections. If your IP is listed on the PBL, it does not mean you sent spam. It means your IP looks like a residential or dynamic range. Configuring a proper PTR record is part of the remediation path for PBL listings. Use the Email Blacklist Checker to confirm your IP's blacklist status alongside checking its PTR record here.

Troubleshooting

Common PTR record problems: causes and fixes for reverse DNS issues

Most reverse DNS issues affecting email delivery fall into a small number of recognisable patterns. Here is what each means and how to resolve it.

No PTR record found. Email being rejected or spam-scored negatively
Why it happens: The IP has no reverse DNS entry in the in-addr.arpa zone. This is extremely common for cloud instances where the provider does not set PTR records by default. Without a PTR record, spam filters add penalty points and some strict receivers reject the connection outright.
Fix: Log into your cloud provider's control panel and configure a PTR record for the IP. For AWS EC2: EC2 → Network Interfaces → select interface → Actions → Manage IP addresses. For DigitalOcean: Networking → Droplets → set reverse hostname. For Linode: Linode manager → select Linode → Networking tab → Reverse DNS. For Vultr: server settings → IPv4 tab → Reverse DNS. For Hetzner: Servers → IP addresses → set PTR. The PTR value should be your mail server's hostname (e.g. mail.yourdomain.com). Ensure that hostname has an A record pointing back to this IP before setting the PTR (FCrDNS requirement).
PTR record exists but resolves to a generic provider hostname
Why it happens: The IP has a provider-assigned default PTR like ec2-203-0-113-45.compute-1.amazonaws.com or 203-0-113-45.static.hvvc.us. This is common for cloud instances that were never given a custom PTR. Generic provider hostnames are still better than no PTR at all, but they trigger negative scoring from some spam filters and will not satisfy FCrDNS requirements with your mail server hostname.
Fix: Replace the generic PTR with a custom hostname pointing to your mail server (e.g. mail.yourdomain.com). This is done in the same provider control panel as above. After updating, add or verify that mail.yourdomain.com has an A record resolving to this IP, completing the FCrDNS chain.
PTR hostname does not match SMTP EHLO/banner hostname
Why it happens: The mail server announces itself in its SMTP EHLO as mail.yourdomain.com, but the reverse DNS resolves to something different. Receiving spam filters specifically check for EHLO-PTR consistency as a trust signal. A mismatch suggests misconfigured or spoofed identity.
Fix: Align the PTR record hostname with the SMTP EHLO hostname your mail server announces. Both should be the same fully-qualified domain name. Update either the PTR record (through your provider) or the mail server's EHLO configuration (in Postfix: myhostname directive; in Exim: primary_hostname) so they match.
PTR record set correctly but FCrDNS fails
Why it happens: The PTR resolves to a hostname, but that hostname's A record does not resolve back to the original IP. This breaks the FCrDNS chain. Common causes: the A record was not created when the PTR was set, the A record was later changed or deleted, or the PTR was set to a hostname in a domain the operator does not control.
Fix: Verify the PTR hostname with a forward DNS lookup (use the DNS Lookup Tool and query for an A record of the PTR hostname). If no A record exists, create one in your domain's DNS zone pointing to the IP. If the A record exists but points to a different IP, either update the A record or update the PTR to a hostname that does correctly forward-resolve to this IP.
PTR record changed but old value is still returned
Why it happens: DNS propagation is still in progress. PTR records, like all DNS records, are cached for the duration of their TTL. The old value may be cached at Cloudflare's or your ISP's resolver for up to the TTL period after the change was made.
Fix: Wait for the TTL to expire. Check the current TTL by querying the record directly. Most PTR records have TTLs between 300 and 3600 seconds. After the TTL expires, re-run this lookup to confirm the updated value is now returned. If the old value persists longer than 2× the TTL, verify the change was actually saved in the provider's control panel.
Examples

Reverse DNS lookup results explained: what each outcome means

Four common outcomes from real-world reverse DNS lookups and what each signals for email delivery and server identity.

Example 1Clean PTR. Well-configured mail server✓ PTR found
IP: 74.125.68.27
Query: 27.68.125.74.in-addr.arpa
PTR: mail-yw1-f27.google.com
A meaningful PTR hostname that identifies the sending infrastructure. Google's mail servers follow a consistent naming pattern (mail-yw1-f*.google.com). The hostname forward-confirms to the same IP, passing FCrDNS. This is the pattern all mail servers should aim for.
Example 2Generic provider PTR. Functional but suboptimal⚠ Generic PTR
IP: 203.0.113.45
Query: 45.113.0.203.in-addr.arpa
PTR: ec2-203-0-113-45.compute-1.amazonaws.com
A PTR record exists but resolves to an AWS auto-assigned hostname. This is better than no PTR, but generic cloud hostnames trigger negative scoring from some spam filters. Set a custom PTR in the AWS console to replace this with mail.yourdomain.com.
Example 3No PTR record. Email delivery risk✗ No PTR
IP: 198.51.100.88
Query: 88.100.51.198.in-addr.arpa
PTR: (no PTR record found)
No PTR record is configured for this IP. Email from a mail server on this IP will be negatively scored or rejected by spam filters. Configure a PTR record through your hosting provider immediately. This is the most common fixable cause of self-hosted mail server delivery failures.
Example 4Well-known resolver. Reference lookup✓ PTR found
IP: 1.1.1.1
Query: 1.1.1.1.in-addr.arpa
PTR: one.one.one.one
Cloudflare's public DNS resolver has a PTR record resolving to one.one.one.one. A clean, descriptive hostname that forward-confirms back to 1.1.1.1. Use this as a reference: this is exactly what a well-configured PTR record looks like.
FAQ

Reverse DNS and PTR record questions and answers

Answers to the most common questions about reverse DNS, PTR records, FCrDNS, in-addr.arpa, SMTP identity, and how missing PTR records affect email delivery.

What is reverse DNS?
Reverse DNS (rDNS) is the process of resolving an IP address back to a hostname. The opposite of a standard DNS lookup which resolves a hostname to an IP. Reverse DNS uses PTR (pointer) records stored in a special DNS zone called in-addr.arpa. For example, to look up 8.8.8.8 in reverse, the DNS query is made for 8.8.8.8.in-addr.arpa, which returns dns.google. The octets are reversed because the DNS hierarchy reads left-to-right from most-specific to least-specific, and this format preserves that ordering for IP addresses. Reverse DNS infrastructure is defined in RFC 1035.
Why is reverse DNS important for email?
Many receiving mail servers check the reverse DNS of a connecting server's IP as part of their anti-spam evaluation. If the sending IP has no PTR record, or if the PTR hostname does not match the server's announced SMTP banner (EHLO/HELO hostname), the receiving server may reject or negatively score the message. Some stricter receivers require full FCrDNS (forward-confirmed reverse DNS). Meaning the PTR hostname must also resolve back to the original IP in a forward lookup. Major spam filter scoring systems including SpamAssassin add points for missing PTR records. Reputable ESP infrastructure (SendGrid, Mailgun, Amazon SES, Google) always configures PTR records for their sending IPs automatically.
What is FCrDNS (forward-confirmed reverse DNS)?
FCrDNS (also called full-circle reverse DNS or forward-confirmed rDNS) is a two-step verification: the reverse DNS lookup of an IP returns a hostname, and a forward DNS lookup of that hostname returns the original IP. For example: reverse lookup of 203.0.113.10 → mail.example.com; forward lookup of mail.example.com → 203.0.113.10. Both must match for FCrDNS to pass. FCrDNS is a strong trust signal indicating the IP is legitimately associated with the hostname. An attacker who controls the IP but not the domain cannot fake a matching forward record. Some high-security mail receivers require FCrDNS and reject connections from IPs that fail it.
How do I set a PTR record for my IP address?
PTR records are controlled by whoever owns the IP address block, not by the domain owner. The IP owner is typically your hosting provider or ISP. For major cloud providers: AWS EC2. Go to EC2 → Network Interfaces → select the interface → Actions → Manage IP addresses, then set the PTR record. DigitalOcean. Go to Networking → Droplets → your droplet → set the reverse hostname in the droplet settings. Linode/Akamai. Go to the Linode manager, select your Linode, and set the reverse DNS under the Networking tab. Vultr. Go to the server's settings → IPv4 tab → set reverse DNS. Hetzner. Go to Servers → select server → IP addresses → set PTR. For IPs from an ISP, contact their technical support or use their customer portal. Note: the PTR hostname you set must resolve back to the same IP in a forward lookup (FCrDNS). Set up the A record first.
What is the in-addr.arpa zone?
in-addr.arpa is the special DNS zone used for IPv4 reverse DNS lookups. The format reverses the octets of the IP address and appends .in-addr.arpa. For example, IP 192.0.2.1 becomes 1.2.0.192.in-addr.arpa. This zone is managed hierarchically: IANA delegates .in-addr.arpa, regional internet registries (ARIN, RIPE, APNIC) manage the blocks they assign, ISPs and hosting providers manage their allocated ranges, and end-users manage individual IPs within their assigned range. PTR records within this zone are what this tool queries. IPv6 uses a similar system but with the ip6.arpa zone.
What is the difference between a PTR record and an A record?
An A record maps a hostname to an IPv4 address (forward DNS). A PTR record maps an IPv4 address back to a hostname (reverse DNS). They are stored in completely different parts of the DNS hierarchy: A records are in your domain's zone file, which you manage; PTR records are in the in-addr.arpa zone, which is managed by whoever owns the IP block. This separation means the two records can disagree. A PTR record can point to any hostname, and that hostname's A record may point to a different IP entirely. FCrDNS checking verifies that both records agree, which is why it is a stronger trust signal than PTR alone.
Why doesn't my IP address have a PTR record?
Common reasons an IP has no PTR record: the hosting provider has not assigned one (many providers do not set PTR records by default for new servers. You must configure it manually in the provider's control panel); the IP was recently assigned and the PTR has not yet propagated; the IP is in a range that the ISP or provider does not support custom PTR records for (common for residential ISP ranges); or the server has no need for reverse DNS and one was never configured. For self-hosted mail servers, a missing PTR record is a significant deliverability problem that must be resolved by setting one through your provider.
Does a missing PTR record always cause email rejection?
Not always, but it significantly increases the risk of rejection or spam filtering. Different receiving servers handle missing PTR records differently. Strict receivers (some corporate mail gateways, financial institutions) may reject the connection outright with a 5.7.1 or similar error. Spam filters like SpamAssassin add a spam score contribution for missing PTR records, making the message more likely to be classified as spam even if the content itself is clean. Major providers like Gmail and Outlook do not automatically reject email from IPs without PTR records, but they factor it into their reputation scoring alongside sending volume, complaint rates, and authentication results. For transactional email senders, a missing PTR is always worth fixing.
What is an SMTP banner and how does it relate to PTR records?
When an email server connects to a receiving server, it announces itself with a greeting called the SMTP banner or EHLO/HELO hostname. For example: EHLO mail.example.com. The receiving server then checks whether the connecting IP's reverse DNS (PTR record) matches or is consistent with this announced hostname. A mismatch, where the PTR hostname is something like ec2-203-0-113-45.compute.amazonaws.com but the EHLO hostname is mail.yourdomain.com, is a red flag for spam filters. Best practice is to configure the SMTP EHLO hostname to match the PTR record, and the PTR record to match the A record (FCrDNS).
Do cloud providers and ESPs configure PTR records automatically?
Major email service providers configure PTR records for their shared and dedicated sending IPs automatically. SendGrid, Mailgun, Amazon SES, and Google Workspace all maintain proper PTR records for every IP they use for sending. You do not need to configure PTR records when sending through these platforms. However, if you spin up a virtual server (AWS EC2, DigitalOcean Droplet, Linode) and configure your own mail server on it, the PTR record is not set automatically. You must configure it in the provider's control panel. This is one of the most commonly missed steps in self-hosted mail server setup.
Can I have multiple PTR records for the same IP?
Technically yes, but it is strongly discouraged and causes problems. RFC 1035 allows multiple PTR records for a single IP, but in practice most mail servers and spam filters treat multiple PTR records as suspicious or misconfigured. The standard and expected configuration is exactly one PTR record per IP, returning exactly one hostname that forward-confirms back to the IP. Multiple PTR records can indicate a misconfigured hosting environment, a botnet attempting to confuse reverse DNS checks, or an old record that was not cleaned up after a migration.
What is the relationship between reverse DNS and email blacklists?
Reverse DNS and email blacklists (DNSBLs) are separate but related reputation signals. Some blacklists, like the Spamhaus PBL (Policy Block List), specifically list IP ranges with generic PTR records or no PTR records. Indicating they are residential or dynamic ranges not intended for direct mail server connections. A generic PTR record like 203-0-113-45.dynamic.isp.example.com (assigned by an ISP to a residential IP) is a strong signal that the IP should not be sending email directly. Custom PTR records that resolve to mail server hostnames are a positive signal. Check your IP's blacklist status with the Email Blacklist Checker alongside verifying the PTR record here.
Does reverse DNS work for IPv6 addresses?
Yes, but IPv6 uses the ip6.arpa zone rather than in-addr.arpa, and the format is more complex. An IPv6 address like 2001:db8::1 becomes 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa. Each nibble (4-bit group) is reversed and separated by dots. This tool currently handles IPv4 addresses only. If you need to look up an IPv6 PTR record, use a command-line tool like nslookup or dig with the -x flag, or a full DNS lookup tool that supports IPv6.
What happens if my PTR record points to a different domain than my sending domain?
This is common and not inherently a problem. The PTR record does not have to match your sending domain. It just needs to exist, be consistent with the SMTP EHLO hostname, and forward-confirm (FCrDNS). For example, a mail server for company.com might be hosted on cloud infrastructure where the PTR resolves to mail.hosting-company.com. As long as mail.hosting-company.com resolves back to the same IP (FCrDNS), and the SMTP banner announces mail.hosting-company.com, most receivers will accept this. The critical failure modes are: no PTR at all, PTR that does not forward-confirm, or SMTP banner that does not match the PTR.
How do I check if my mail server has FCrDNS configured correctly?
Step 1: Use this tool to find your mail server IP's PTR record. Note the hostname it returns. Step 2: Perform a forward DNS lookup on that hostname (use the DNS Lookup Tool and query for an A record). Step 3: Confirm the forward lookup returns the original IP. If both steps succeed and the IP matches, FCrDNS is correctly configured. If the forward lookup returns a different IP, or no record, FCrDNS fails. The fix: ensure the hostname in your PTR record has an A record pointing to the same IP. You may need to contact your hosting provider to update the PTR record, or add an A record for the hostname to your DNS zone.
Technical background

Reverse DNS in context: how PTR records fit into email authentication and server identity

Reverse DNS operates at the network infrastructure layer. Below the application-level email authentication standards (SPF, DKIM, DMARC) but checked before them. When a mail server connects to a receiving server at the TCP level, reverse DNS is one of the first things evaluated. It answers a fundamental question: does this IP have a verifiable identity? If not, the connection is already suspicious before any email content or authentication headers are read.

This makes PTR records a prerequisite layer, not a replacement for application-level authentication. A server can have a perfect PTR record and FCrDNS and still fail SPF, DKIM, or DMARC. The PTR only identifies the server, it does not authenticate the mail. Conversely, a server with missing PTR may have perfect SPF and DKIM but still be negatively scored because the connecting IP itself has no identity. Both layers are needed. Use the Email Health Checker for a comprehensive one-pass audit of SPF, DMARC, DKIM, and MX configuration alongside this PTR check.

For domains sending through a major ESP (SendGrid, Mailgun, Amazon SES, Postmark, Google Workspace), PTR records are managed by the provider and are not something the sender needs to configure. All major ESPs maintain proper PTR records for their sending IPs. PTR configuration only becomes the sender's responsibility when running a self-hosted mail server on a cloud instance or dedicated server where the IP is assigned to the sender's account. In that scenario, the PTR is configured in the cloud provider's control panel. Not in the domain's DNS zone.

For security research and investigation contexts, reverse DNS is one of the first passive reconnaissance steps for identifying unknown infrastructure. An IP's PTR record often reveals the owner (a hosting provider, a company's own infrastructure, a major cloud provider), the region or datacenter (through naming conventions), and sometimes the function (mail.example.com, vpn.company.com, cdn-node-42.service.net). This passive identification requires no authentication and leaves no log on the target system. Which is why network security professionals routinely include reverse DNS in passive reconnaissance workflows.

Need a disposable email address?Get a free instant throwaway email. No signup, no trace.

Get Free Temp Mail →