by Priya Nakamura Updated Apr 23, 2026
Reverse DNS — often called rDNS or a PTR record — is the mechanism that translates an IP address back into a human-readable hostname, the exact opposite of what a standard DNS lookup does. Our Reverse DNS Lookup tool runs this lookup for any IP address. If you've ever wondered why some emails land in spam, why server logs show hostnames instead of raw numbers, or how network administrators trace traffic back to its source, reverse DNS is the answer.
In this guide you'll learn exactly how PTR records work, why email deliverability depends on them, how to check and configure reverse DNS for your own IP address, and the most common mistakes that break rDNS lookups. Our PTR Record Checker looks up the PTR record for any IP address directly. Whether you're troubleshooting a home mail server or just curious about how the internet identifies itself, understanding reverse DNS is a core networking skill — and it pairs directly with what you already know about changing DNS settings on your router and how IP addresses work.
When you type a domain name into your browser, a forward DNS lookup translates that name — say, routerhax.com — into an IP address like 203.0.113.45. A reverse DNS lookup does the opposite: it starts with the IP address and returns the associated hostname. The DNS record type responsible for this mapping is called a PTR record (short for "pointer record"), and it lives in a special zone of the DNS hierarchy.
To make reverse lookups work within the existing DNS structure, IPv4 addresses are written backwards and appended with the suffix .in-addr.arpa. So a PTR lookup for the IP 203.0.113.45 is actually a DNS query for 45.113.0.203.in-addr.arpa. The DNS server authoritative for that reversed zone returns the PTR record, which points to the hostname — for example, mail.example.com. IPv6 uses a similar convention, reversing each nibble of the address and appending .ip6.arpa.
The critical detail most people miss is that PTR records are controlled by whoever owns the IP address block, not the domain owner. For home and small-business users, that means your Internet Service Provider (ISP) manages your reverse DNS. If you run a dedicated or VPS server, your hosting provider usually gives you a control panel option to set a custom PTR record for your server's IP. Without that custom record, your IP might resolve to a generic hostname like 203-0-113-45.static.isp.example.com — which is fine for browsing but problematic for sending email.
Forward and reverse DNS don't have to match, but they often should. A forward-confirmed reverse DNS (FCrDNS) check verifies that the hostname returned by a PTR lookup itself resolves back to the original IP address. Many spam filters, firewall systems, and enterprise mail servers perform FCrDNS checks as a first-pass trust signal. If the two records don't agree — or if no PTR record exists at all — your traffic may be flagged, throttled, or rejected outright.
Follow these steps to look up, verify, and (if you control the IP block) configure a PTR record correctly.
curl ifconfig.me or check your hosting control panel's network settings.nslookup <IP> on Windows or dig -x <IP> on Linux/macOS. A successful result returns the hostname associated with that IP; "NXDOMAIN" or no answer means no PTR record exists.mail.yourdomain.com. Most ISPs will only set PTR records if you have a static IP; dynamic IP addresses typically use a generic ISP-assigned hostname.dig -x <IP> to get the hostname, then dig A <hostname> to confirm that hostname points back to the original IP. Both lookups must agree. If they don't, double-check that the A record for your hostname is correctly set in your domain's DNS zone — the PTR record alone is not enough.Understanding how forward and reverse DNS differ — and where each record type is used — helps you troubleshoot problems faster and configure your network correctly the first time.
| Attribute | Forward DNS (A/AAAA) | Reverse DNS (PTR) | Practical Impact |
|---|---|---|---|
| Direction | Name → IP | IP → Name | PTR is used to identify the owner of an IP |
| Record type | A (IPv4), AAAA (IPv6) | PTR | Both must match for FCrDNS to pass |
| Zone suffix | e.g., .com, .net | .in-addr.arpa / .ip6.arpa | PTR lives in a special IANA-managed zone |
| Controlled by | Domain registrar / DNS host | IP block owner (ISP or hosting provider) | You may need to contact your ISP to set PTR |
| Primary use cases | Web browsing, email routing | Email anti-spam, logging, network audits | Missing PTR records break email deliverability |
Open a command prompt or terminal and type nslookup <your-IP> (replace <your-IP> with your actual public IP address). If the output shows a "Name:" line with a hostname, your PTR record exists. If it returns "*** can't find <IP>: Non-existent domain" or similar, no PTR record is configured — which may cause problems if you're sending email directly from that address.
Most reverse DNS issues fall into a handful of predictable patterns. Knowing what to look for saves hours of debugging, especially when email deliverability problems appear with no obvious cause. The first thing to check is always whether a PTR record exists at all — many mail servers will silently drop or defer messages from IPs with no rDNS. Use the DNS Lookup Tool to run a quick PTR check before diving deeper into mail server logs.
The second most common issue is a mismatch between the PTR record and the actual sending hostname. If your mail server identifies itself as mail.yourdomain.com in its SMTP EHLO banner but the PTR record for your IP resolves to server42.hostingprovider.com, spam filters will flag the inconsistency. Always ensure your PTR record, your A record, and your mail server's EHLO hostname all reference the same FQDN. Checking your static IP setup is also worthwhile, because dynamic IPs that change periodically will break PTR records that were manually configured for a previous address.
Propagation delays trip up many administrators who set a PTR record and immediately test it, only to see the old (or missing) value. DNS resolvers cache results according to the TTL (Time to Live) value on the record — PTR records often have TTLs of 3600 seconds (one hour) or longer. Wait for the TTL to expire before concluding that a new PTR record isn't working.
dig -x <IP> or nslookup <IP> before troubleshooting anything elsePro Tip: After configuring or updating a PTR record, use the DNS Lookup Tool with the PTR record type to confirm propagation from multiple resolvers — different resolvers may still be serving cached data, so testing from your own machine alone isn't sufficient.
An A record maps a domain name to an IPv4 address (forward lookup), while a PTR record maps an IPv4 address back to a domain name (reverse lookup). They are complementary: for forward-confirmed reverse DNS to work, both records must exist and agree with each other. You manage A records through your domain's DNS provider, but PTR records must be set by whoever owns the IP address block — usually your ISP or hosting provider.
For typical web browsing, reverse DNS has no noticeable effect on your experience. Your browser performs forward DNS lookups (domain to IP), and the websites you visit don't usually perform PTR lookups on your home IP. Reverse DNS becomes significant when you're running a mail server, hosting services on a static IP, or when network administrators are auditing traffic logs. You can learn more about how DNS fits into your home network setup in the guide on changing DNS on your router.
Major email providers like Google, Microsoft, and Yahoo use PTR lookups as one of their earliest spam-filtering checks. An IP address with no PTR record — or one whose PTR record doesn't match the sending mail server's hostname — is treated as a red flag, since legitimate mail servers are expected to have properly configured reverse DNS. Spam bots frequently send from IPs with no rDNS because they're using compromised machines or throwaway addresses, so the absence of a PTR record is a strong statistical signal of spam.
Yes, but only if you have a static IP address assigned by your ISP. Most residential customers have dynamic IPs that change periodically, and ISPs assign generic PTR records to those addresses automatically. If you have a static IP (often available as a paid add-on), you can contact your ISP's technical support and request a custom PTR record pointing to a hostname of your choice. Some ISPs offer a self-service portal for this purpose.
PTR record changes typically take effect within a few minutes on the authoritative DNS server, but cached values can persist on recursive resolvers for as long as the record's TTL — commonly one to 24 hours. To test propagation without being misled by your local resolver's cache, use an external tool like the DNS Lookup Tool or query a public resolver directly with dig -x <IP> @8.8.8.8 to bypass local caching.
NXDOMAIN (Non-Existent Domain) in a PTR lookup means the DNS system found no record for that IP address — essentially, no reverse DNS entry has been configured. This is the most common result for residential dynamic IP addresses and for servers where the hosting provider hasn't set a custom PTR record. If you see NXDOMAIN for an IP you control and use for sending email, you should contact your ISP or hosting provider to add a PTR record as soon as possible.
dig -x or an external DNS lookup tool, and allow up to 24 hours for full propagationFor authoritative networking standards and specifications, refer to the Internet Assigned Numbers Authority (IANA) or IETF RFC documents.
![]() |
![]() |
![]() |
![]() |
About Priya Nakamura
Priya Nakamura is a telecommunications engineer and networking educator with a Master degree in Computer Networks and a background in ISP infrastructure design and management. Her experience spans both the technical architecture of broadband networks and the practical challenges home users face when configuring routers, managing wireless coverage, and understanding connectivity standards. At RouterHax, she covers WiFi standards and protocols, networking concepts, IP addressing, and network configuration guides.
Search
Popular Tools
Browse Guides
Promotion for FREE Gifts. Moreover, Free Items here. Disable Ad Blocker to get them all.
Once done, hit any button as below
![]() |
![]() |
![]() |
![]() |