Free PTR Lookup Tool

Reverse DNS Lookup

Find the PTR hostname assigned to any IPv4 or IPv6 address. Verify your mail server's reverse DNS for email deliverability, identify servers from IP addresses in logs, run FCrDNS checks, and troubleshoot rDNS configuration. Instant results using live DNS-over-HTTPS queries. Free, no signup.

Live PTR query IPv4 & IPv6 Mail server rDNS FCrDNS verification Always free
Network tool
Enable JavaScript to run lookups and interactive features on this page.

Hero, guides, and sidebar links below work without JavaScript. The interactive checker needs JavaScript enabled in your browser.

What Is Reverse DNS Lookup?

Reverse DNS lookup — also called rDNS, reverse IP lookup, or PTR record lookup — is the process of finding the hostname that has been assigned to an IP address. Normal (forward) DNS answers "what IP address does this domain name point to?" Reverse DNS answers the opposite question: "what hostname has the owner of this IP address configured for it?" The two lookups use entirely separate parts of the DNS system and serve very different purposes.

Server network infrastructure — reverse DNS lookup maps IP addresses back to hostnames using PTR records

Reverse DNS maps IP addresses back to hostnames — the opposite direction of standard forward DNS resolution

While forward DNS is maintained by domain owners (you add A and CNAME records to your domain's DNS zone), reverse DNS is maintained by whoever owns the IP address block — typically your ISP or hosting provider. This means you cannot set a PTR record by yourself at your domain registrar; you must request it from the organisation that assigned you your IP address. This asymmetry is one of the most misunderstood aspects of DNS configuration.

Reverse DNS vs Reverse IP Lookup: These are different tools. Reverse DNS (this page) retrieves the PTR hostname for an IP address — a DNS query. Our Reverse IP Lookup tool finds all domain names hosted on a given IP address — a web hosting database query. They answer completely different questions and use different data sources.

How PTR Records Work — The in-addr.arpa Zone Explained

PTR records (Pointer records) live in a special DNS zone called in-addr.arpa for IPv4 and ip6.arpa for IPv6. The mechanism uses a reversed IP address format that is one of the most elegant designs in DNS:

Forward DNS: dns.google → 8.8.8.8

Reverse DNS: To look up PTR for 8.8.8.8:

Step 1 — Reverse the octets: 8.8.8.8 → 8.8.8.8
Step 2 — Append .in-addr.arpa: 8.8.8.8.in-addr.arpa
Step 3 — DNS PTR query: 8.8.8.8.in-addr.arpa PTR
Result: dns.google.

For 220.168.166.35 (Airtel India):
Query: 35.166.168.220.in-addr.arpa PTR
Result: broadband.airtel.net.

For 49.43.112.xx (Jio/Reliance):
Query: xx.112.43.49.in-addr.arpa PTR
Result: (No PTR record — Jio residential IPs typically lack PTR)

IPv6 PTR Records — ip6.arpa

IPv6 reverse DNS works the same way but uses the ip6.arpa zone. Each hexadecimal nibble of the IPv6 address is reversed and dotted. For example, the IPv6 address 2001:4860:4860::8888 (Google's DNS) becomes a 32-nibble reversed query in ip6.arpa. IPv6 PTR records are even more rarely configured than IPv4, but are increasingly important as IPv6 adoption grows — particularly for mail servers running dual-stack.

Who Controls PTR Records?

PTR records for an IP address are controlled by the organisation that owns the IP block — not by the domain owner. The hierarchy is:

  • IANA → delegates IP blocks to Regional Internet Registries (APNIC, ARIN, RIPE, LACNIC, AFRINIC)
  • RIR → delegates to ISPs and hosting providers (Jio, Airtel, AWS, Hetzner, DigitalOcean)
  • ISP/Host → sets PTR records for IPs they assign to customers
  • Customer → requests PTR records from their ISP or host, cannot set them independently

This is why a web hosting company's control panel will have a "Reverse DNS" or "PTR Record" configuration option — they own the IP block and can set PTR records for the IPs they assign to your server.

FCrDNS — Forward-Confirmed Reverse DNS and Why It's Critical for Email

FCrDNS (Forward-Confirmed reverse DNS), also called double-reverse DNS or rDNS verification, is a two-step check that many major mail servers — including Gmail and Outlook — use to validate mail server identity:

Step 1 — Reverse DNS (PTR lookup):
203.0.113.42 → mail.yourdomain.com

Step 2 — Forward DNS verification (A record lookup):
mail.yourdomain.com → 203.0.113.42 ✓ Matches!

FCrDNS PASS — IP and hostname confirm each other

FCrDNS FAILURE examples:
203.0.113.42 → mail.yourdomain.com → 203.0.113.99 ✗ Mismatch
203.0.113.42 → No PTR record ✗ No rDNS at all
203.0.113.42 → mail.yourdomain.com → NXDOMAIN ✗ No forward record

Why FCrDNS Matters for Email Deliverability

Gmail's Postmaster documentation explicitly states it checks FCrDNS. When a mail server connects to Gmail to deliver email, Gmail looks up the PTR for the connecting IP, then verifies that the resulting hostname resolves back to the same IP. If either step fails, Gmail assigns a higher spam probability to the email. Specifically:

  • No PTR record at all: Gmail returns a "550-5.7.25" error: "The IP address sending this message does not have a PTR record" — the email is permanently rejected.
  • PTR doesn't resolve back (FCrDNS mismatch): The email may be accepted but with a higher spam score.
  • PTR present and FCrDNS passes: One less negative signal — email is evaluated on other factors normally.

Microsoft Outlook (Office 365) applies similar checks. MAILER-DAEMON bounce messages mentioning "reverse DNS" or "PTR" almost always indicate FCrDNS failure.

Common FCrDNS mistake: Setting your PTR record to a hostname that doesn't have an A record, or having the A record point to a different IP. For example: PTR for 203.0.113.42 points to mail.example.com, but mail.example.com has an A record pointing to 203.0.113.99. This fails FCrDNS. The forward and reverse must point to exactly the same IP.

Reading PTR Hostnames — What They Tell You About an IP

PTR hostnames are often structured in a way that encodes useful information about the IP — the ISP, the server's function, the network segment, and sometimes the geographic location. Here is how to interpret the most common PTR hostname formats from major providers:

Google LLC
8.8.8.8
dns.google.
Clean branded PTR — Google's public DNS server. Most identifiable format.
Cloudflare
1.1.1.1
one.one.one.one.
Branded PTR record. 1.1.1.1 → "one.one.one.one" — creative wordplay on the IP digits.
Amazon AWS (ap-south-1)
EC2 instance
ec2-52-66-12-34.ap-south-1.compute.amazonaws.com.
Encodes IP (52-66-12-34), region (ap-south-1 = Mumbai), and service (EC2). Immediately identifies AWS Mumbai instance.
Hetzner (Germany)
Dedicated server
static.xx.yy.zz.clients.your-server.de.
Hetzner's default PTR format. "static" indicates dedicated server (vs dynamic). Common in European hosting.
Airtel India
Residential broadband
broadband.airtel.net.
Generic PTR used across Airtel's residential IP ranges. Does not encode subscriber location.
BSNL India
Broadband
xx.yy.zz.ww.bsnl.net.in. or (No PTR)
BSNL sets PTR on some ranges. Jio typically does NOT set PTR records on residential IP ranges — a known deliverability issue for Jio users running mail servers.
DigitalOcean
Droplet (VPS)
(custom — set by user)
DigitalOcean allows custom PTR via the Droplet settings panel. The default is your Droplet's hostname. Easily configurable — important for mail servers.
Comcast (US)
Cable broadband
c-xx-xx-xx-xx.hsd1.ca.comcast.net.
Encodes geographic data: hsd1 = HSD (High-Speed Data), ca = California. The IP itself is encoded in the hostname prefix.

How to Interpret ISP PTR Patterns

Many ISPs use structured hostnames that encode information about the connection type and location:

  • Prefixes like static., dedicated., or server. indicate a fixed IP on a server or business line
  • Prefixes like dynamic., broadband., cpe., dsl., or cable. indicate residential or dynamic IPs
  • The IP address encoded in the hostname (like c-203-0-113-42) confirms the reverse DNS is configured correctly for that specific IP
  • Generic hostnames like broadband.airtel.net or relay.bsnl.net.in mean the ISP hasn't configured per-IP PTR records — a common limitation with large Indian ISPs

How to Set a PTR Record — Step-by-Step for Every Major Provider

Since PTR records are controlled by the IP block owner (your host or ISP), the process varies by provider. Here is exactly how to configure reverse DNS on the most common platforms:

Server administration panel for setting PTR reverse DNS records

Setting a PTR record requires access to your hosting provider's control panel or a support request — it cannot be done at your domain registrar

DigitalOcean
  • Log in → Droplets → select your Droplet
  • Settings tab → scroll to "Rename" section
  • Rename your Droplet to the desired hostname (e.g. mail.yourdomain.com)
  • PTR record is automatically set to match the Droplet name within a few minutes
AWS EC2
  • Assign an Elastic IP to your instance
  • EC2 Console → Elastic IPs → select your EIP
  • Actions → Update Reverse DNS → enter your hostname
  • Hostname must resolve forward to the same EIP first — AWS validates this
Vultr / Linode (Akamai)
  • Vultr: Instances → Server Info → Reverse DNS field → enter hostname → Save
  • Linode: My Linodes → select Linode → Network → Edit rDNS
  • Both require the hostname to already have an A record pointing to that IP
Hetzner Cloud
  • Cloud Console → Servers → select server → Networking tab
  • Under Public IPv4, click the pencil icon next to Reverse DNS
  • Enter the desired PTR hostname
  • Propagates within a few minutes
OVH / OVHcloud
  • OVH Manager → Bare Metal Cloud → IP section
  • Find your IP → click the gear icon → Modify Reverse
  • Enter hostname → Confirm
  • Forward DNS (A record) must exist first pointing to the IP
Google Cloud (GCP)
  • Go to VPC Network → External IP Addresses
  • Click the IP address → find "Reverse DNS lookup" field
  • Enter hostname → Save (no automatic validation but A record should match)
  • Or use CLI: gcloud compute addresses update IP_NAME --ptr-record=HOSTNAME
cPanel / WHM Hosting
  • WHM → Network Setup → Reverse DNS → add a PTR entry
  • Or: WHM → DNS Functions → Edit DNS Zone for the in-addr.arpa zone
  • Some shared hosting providers don't allow PTR customisation — contact support
Home ISP (Jio/Airtel/BSNL)
  • Contact your ISP's business/commercial support (not residential)
  • Request a PTR record for your static IP
  • Jio residential connections typically cannot have PTR records set — upgrade to a business line
  • Airtel broadband: submit via business helpdesk with your account details and desired hostname

Before setting your PTR record: Make sure the hostname you want to use has an A record pointing to the same IP. Many hosting providers validate this before allowing you to set the PTR. Example: if you want PTR for 203.0.113.42 to be mail.yourdomain.com, first add an A record: mail.yourdomain.com → 203.0.113.42. Then set the PTR. Then verify FCrDNS passes by re-running this reverse DNS lookup tool.

Forward DNS vs Reverse DNS — Complete Comparison

Understanding the difference between forward and reverse DNS is essential for correctly configuring any internet service. They use different zones, different record types, and are controlled by different parties:

AspectForward DNS (A Record)Reverse DNS (PTR Record)
This page — rDNSThis tool performs PTR lookups
Question answered"What IP does this hostname resolve to?""What hostname is assigned to this IP?"
DNS zoneYour domain's zone (e.g. example.com)in-addr.arpa (IPv4) or ip6.arpa (IPv6)
Record typeA record (IPv4), AAAA record (IPv6)PTR record
Who controls itDomain owner (you, via your DNS provider)IP block owner (your ISP or hosting provider)
Where to configureYour DNS provider (Cloudflare, Route53, GoDaddy)Your hosting provider's control panel or ISP
Propagation timeTTL-dependent (minutes to hours)Varies by provider (minutes to 24 hours)
Required for emailYes — MX record and A records for mail hostnameYes — PTR for sending IP must match mail hostname
Tool to checkDNS LookupThis page (Reverse DNS Lookup)

Who Uses Reverse DNS Lookup — 8 Real-World Use Cases

Reverse DNS is used across network administration, email operations, security research, and development. Here are the eight most common scenarios where a PTR lookup provides immediate value:

Email Server Verification
Before launching a new mail server, verify the PTR record is set and passes FCrDNS. A missing or mismatched PTR is the #1 cause of Gmail's 550-5.7.25 permanent rejection error for new mail servers.
Traceroute Hop Analysis
When running a traceroute, each hop IP shows a PTR hostname. Reverse DNS lookup on each hop IP reveals which carrier owns that segment, helping identify where latency or packet loss originates.
Security Log Investigation
IPs appearing in server access logs, firewall alerts, and SSH brute-force reports often have revealing PTR hostnames — identifying the ISP, hosting provider, country, and sometimes the specific service responsible for the traffic.
Identifying Bot Traffic
Legitimate web crawlers (Google, Bing, Baidu) implement reverse DNS that matches their official crawler hostname patterns. Running PTR lookup on crawler IPs verifies they are genuine bots vs disguised scrapers mimicking their user agents.
Identifying Server Type
PTR hostnames from AWS, GCP, Azure, Hetzner, and other providers follow recognisable patterns. Looking up PTR quickly identifies whether an IP belongs to a specific cloud provider, region, and service type — without needing a full WHOIS query.
SSL Certificate Validation
Some IP-based SSL validation methods and certain certificate authorities verify that the IP's PTR record matches the certificate's common name during validation. PTR lookup confirms this requirement is met before requesting the certificate.
Verifying Googlebot/Bingbot
Google recommends verifying Googlebot by running a reverse DNS lookup on the crawling IP: if the hostname ends in .googlebot.com or .google.com, then running a forward DNS lookup on that hostname should return the original IP. This dual verification confirms genuine Googlebot.
API and Application Development
Applications that log IP addresses (web servers, authentication systems, APIs) use reverse DNS to enrich log data with human-readable hostnames, making log analysis significantly faster for debugging and security auditing.

Reverse DNS Lookup from the Command Line

While this web tool is the fastest option for most use cases, system administrators and developers frequently need PTR lookups from the command line. Here are the key commands for every platform:

Linux / macOS

# dig — most reliable, shows full PTR query detail
dig -x 8.8.8.8 # Full reverse DNS query
dig -x 8.8.8.8 +short # Short output — hostname only
dig -x 1.1.1.1 @8.8.8.8 +short # Ask Google DNS specifically

# host — simplest syntax
host 8.8.8.8 # Returns PTR hostname
host 220.168.166.35 # Airtel India IP

# nslookup — cross-platform
nslookup 8.8.8.8 # Reverse lookup
nslookup -type=PTR 8.8.8.8.in-addr.arpa # Explicit PTR query

# Batch reverse DNS for multiple IPs
for ip in 8.8.8.8 1.1.1.1 9.9.9.9; do echo "$ip: $(dig -x $ip +short)"; done

Windows (PowerShell / Command Prompt)

:: nslookup reverse DNS
nslookup 8.8.8.8 :: Basic PTR lookup
nslookup 8.8.8.8 1.1.1.1 :: Ask Cloudflare DNS

:: PowerShell — Resolve-DnsName (modern)
Resolve-DnsName 8.8.8.8 :: Returns PTR record
Resolve-DnsName 8.8.8.8 -Type PTR :: Explicit PTR type
[System.Net.Dns]::GetHostEntry("8.8.8.8").HostName :: .NET method

:: Batch PTR lookups via PowerShell
@("8.8.8.8","1.1.1.1","9.9.9.9") | ForEach-Object { "$_ : $((Resolve-DnsName $_).NameHost)" }

Verify Googlebot Authenticity (Linux)

# Step 1: Get PTR hostname for crawling IP
dig -x 66.249.66.1 +shortcrawl-66-249-66-1.googlebot.com.

# Step 2: Forward lookup — must return same IP
dig crawl-66-249-66-1.googlebot.com A +short66.249.66.1

# If both match → confirmed genuine Googlebot
# Valid Googlebot PTR ends in: .googlebot.com or .google.com

Reverse DNS Troubleshooting — Diagnosing Common PTR Problems

When reverse DNS is causing email delivery issues or FCrDNS failures, use this table to diagnose and fix the exact problem:

SymptomLikely CauseHow to Fix
No PTR recordISP/host has not configured reverse DNS for this IPContact your hosting provider to set a PTR record. For ISPs: request via business support. For Jio residential: not possible — use ISP's SMTP relay on port 587
Gmail "550-5.7.25" rejectionNo PTR record on the sending IPConfigure PTR via your hosting provider pointing to your mail hostname. Then verify FCrDNS passes with this tool
PTR exists but FCrDNS failsThe hostname in PTR doesn't have an A record pointing back to the same IPAdd an A record for the hostname in the PTR. E.g. if PTR says mail.example.com, add: mail.example.com A → your_mail_IP
PTR shows wrong hostnameOld PTR record not updated after IP or hostname changeUpdate PTR via hosting provider control panel. Changes typically propagate in under an hour
PTR set but still not working after 24hDNS propagation delay or old cached PTR at recipient's resolverCheck with dig -x IP +short to confirm new PTR. Ask recipient to flush their resolver cache or wait for TTL to expire
Different PTR returned by different DNS resolversConflicting PTR records or in-addr.arpa delegation issueVerify the PTR with your authoritative nameserver directly: dig @ns.yourhost.com -x IP +short. If inconsistent, contact your host to resolve the delegation
IPv6 PTR not resolvingip6.arpa delegation not configured or IPv6 PTR not setIPv6 PTR requires the ip6.arpa zone to be delegated to a nameserver that has the PTR entry. Configure via your hosting provider's IPv6 reverse DNS settings

Frequently Asked Questions — Reverse DNS Lookup

What is reverse DNS and how is it different from regular DNS?

Regular (forward) DNS resolves a domain name to an IP address — e.g., "what is the IP for google.com?" Reverse DNS (rDNS) resolves an IP address to a hostname — e.g., "what hostname is assigned to 8.8.8.8?" They use completely different DNS zones: forward DNS uses your domain's zone (example.com), while reverse DNS uses the in-addr.arpa zone for IPv4 and ip6.arpa for IPv6. They are also controlled by different parties: you control forward DNS for your domain, but reverse DNS for an IP is controlled by whoever owns the IP block — your ISP or hosting provider. You cannot set PTR records at your domain registrar; you must contact your IP block owner.

Why does my IP have no PTR record?

Having no PTR record is very common and has several typical causes: (1) Most residential and mobile ISPs — including Jio in India — do not configure PTR records for residential IP ranges. This is normal for home broadband. (2) Your hosting provider requires you to configure PTR manually — many VPS and dedicated server providers leave it blank until you set it in their control panel. (3) The IP was recently allocated or reassigned and the PTR hasn't been configured yet. (4) Some IP blocks are not fully delegated in in-addr.arpa, making PTR queries impossible. For email servers, not having a PTR record is a serious problem — Gmail and many other providers reject email from IPs without PTR. For general internet use (web browsing, downloading), no PTR has zero impact.

How do I set a PTR record for my server?

PTR records are set by the organisation that owns your IP block — not your domain registrar. For cloud servers (AWS, DigitalOcean, Hetzner, Vultr): look in your provider's control panel for a "Reverse DNS" or "PTR record" setting, usually in the networking section of your instance. Enter the hostname you want (e.g. mail.yourdomain.com). For dedicated servers: usually configured through WHM, your host's control panel, or a support ticket. For home broadband (Jio, Airtel, BSNL): contact your ISP's business/commercial support — residential connections typically cannot have custom PTR records set. Before setting PTR, first create an A record for your desired hostname pointing to the same IP — many providers validate this before allowing PTR configuration.

What is FCrDNS and why does it matter for email?

FCrDNS (Forward-Confirmed reverse DNS) is a two-step check used by Gmail, Outlook, and many enterprise mail servers to verify that a sending IP's PTR hostname correctly points back to the same IP. Step 1: reverse DNS lookup on the connecting IP returns a hostname. Step 2: forward DNS lookup on that hostname must return the same original IP. If Step 2 fails or there is no PTR at all, Gmail returns a 550-5.7.25 error ("The IP address does not have a PTR record") and permanently rejects the email. This is one of the most common causes of new mail server setup failures. Both the PTR record AND a matching A record for the mail hostname are required for Gmail delivery.

What is the in-addr.arpa zone?

The in-addr.arpa zone is the special DNS zone where PTR records for IPv4 addresses are stored. It works by reversing the octets of an IP address and appending .in-addr.arpa. For example, to look up the PTR for 8.8.8.8, a DNS resolver queries "8.8.8.8.in-addr.arpa" for a PTR record. The octets are reversed because DNS delegation works from right to left (most general to most specific), and reversing the IP makes it consistent with how domain zones are organised. IPv6 addresses use ip6.arpa in the same way but with each hexadecimal nibble reversed individually.

What does the PTR hostname tell me about an IP?

A PTR hostname can reveal several things about the IP depending on how the owner has configured it: (1) The owning organisation — "amazonaws.com" means AWS, "hetzner.com" means Hetzner, "airtel.net" means Airtel India. (2) The service type — "ec2" in an AWS PTR means an EC2 virtual machine; "broadband" in an ISP PTR means residential broadband. (3) The region or data centre — AWS PTR hostnames encode the region: "ap-south-1" means Mumbai, "us-east-1" means Northern Virginia. (4) The actual IP encoded in the hostname — many ISPs and hosts encode the IP digits in the PTR hostname for identification. (5) Whether it's a business or residential connection — "static", "server", "dedicated" suggest business lines; "dynamic", "broadband", "cable", "dsl" suggest residential.

Can I have multiple PTR records for one IP?

Technically, the DNS specification allows multiple PTR records for a single IP address. However, in practice, most mail servers and network tools only process the first PTR record returned, and having multiple PTR records for a mail server IP is generally considered bad practice. RFC 1912 recommends that each IP should have exactly one PTR record, and that PTR should match exactly one A record (FCrDNS). For mail server IPs, configure exactly one PTR that matches exactly one A record pointing back to the same IP. Multiple PTR records on a single IP can cause unpredictable behaviour in mail server validation.

How is reverse DNS lookup different from Reverse IP Lookup?

These are two entirely different tools that answer different questions: Reverse DNS Lookup (this page) performs a DNS PTR record query to find the hostname the IP block owner has configured for that specific IP address. It returns one hostname per IP. Reverse IP Lookup (our separate tool) queries web hosting databases to find all domain names that are currently hosted on a given IP address — it can return dozens or hundreds of websites sharing the same server IP. Reverse DNS uses the in-addr.arpa DNS zone; Reverse IP lookup uses web crawl data and hosting databases. Neither is a substitute for the other.

How do I verify Googlebot using reverse DNS?

Google officially recommends this two-step reverse DNS verification to confirm a visitor is genuine Googlebot: (1) Run a reverse DNS lookup on the IP claiming to be Googlebot — the PTR hostname must end in .googlebot.com or .google.com. (2) Run a forward DNS lookup on that hostname — it must resolve back to the original IP. If both steps pass, the visitor is confirmed genuine Googlebot. Command-line method: dig -x [IP] +short to get hostname, then dig [hostname] A +short to verify it returns the same IP. This verification is important because anyone can set their HTTP User-Agent to "Googlebot" — only genuine Google crawlers have the matching PTR records in Google's managed DNS zones.

Is this reverse DNS lookup tool free?

Yes — completely free, unlimited lookups, no account or signup required. The tool performs a live DNS PTR query via Google DNS-over-HTTPS, returning the real-time PTR record for any public IPv4 or IPv6 address. It also performs a forward FCrDNS verification check and fetches ISP, ASN, and geolocation data for additional context. We do not store or log the IP addresses you look up.

Related Tools

Advertisement