Cybersecurity glossary

What is a Reverse DNS Lookup?

Learn what a reverse DNS lookup is, how PTR records map IP addresses to names, how email and security tools use reverse DNS, and what limitations defenders should understand.

DNS and infrastructureUpdated July 20, 2026
Also known asrDNSPTR lookupReverse resolution

Definition

A reverse DNS lookup is a Domain Name System query that resolves an IP address to a hostname, typically using pointer (PTR) records in the reverse DNS namespace such as in-addr.arpa or ip6.arpa.

Why reverse DNS matters

Forward DNS answers “which address for this name?” Operations and security also ask the reverse: “which name for this address?” Reverse DNS lookups provide that mapping through PTR records and are widely used in email reputation, logging enrichment, and incident response.

Reverse DNS is useful context—not cryptographic proof. Treat it as a hint that must be correlated with other evidence.

How reverse DNS works

1

Start with an IP address

A log entry, connection, or mail transaction provides an IPv4 or IPv6 address.

2

Build the reverse name

The address is rewritten into a query under in-addr.arpa (IPv4) or ip6.arpa (IPv6).

3

Query for PTR

Resolvers request PTR records for that reverse name.

4

Authoritative reverse zone answers

The IP space owner’s DNS returns a hostname if configured.

5

Optional forward confirmation

Operators often check that the hostname’s A/AAAA records point back to the same IP.

6

Use as enrichment

Mail filters, SIEMs, and analysts incorporate the hostname as context.

Common uses

Email reputation

Receiving servers expect sending IPs to have coherent PTR names.

Log enrichment

Security tools display hostnames beside IPs for faster triage.

Operational hygiene

Consistent naming helps identify mis-assigned addresses and shadow infrastructure.

Troubleshooting

Network engineers confirm whether an address matches an expected service name.

Limitations and caveats

CaveatImplication
Not always configuredMissing PTR is common and not automatically malicious
Controlled by IP ownerYou may need provider portals to set reverse DNS for cloud IPs
Not strong authenticationDo not authorize access based on PTR alone
Can be stale or genericNames like customer-x.isp.example may add little value

Practical checklist

  • Set PTR records for mail-sending IPs and verify forward-confirmed reverse DNS where required.
  • Document how cloud providers expose reverse DNS controls for your allocations.
  • Use rDNS as SIEM enrichment, not as a sole allow/deny signal.
  • Investigate mismatches between PTR names and observed services during incidents.
  • Remember IPv6 reverse DNS uses nibble format under ip6.arpa.
  • Do not assume attackers cannot obtain IPs with polished PTR names.
  • Keep reverse zones as carefully as forward zones if you run them yourself.
  • Correlate rDNS with WHOIS, BGP, and certificate data for stronger attribution.

The practical takeaway

A reverse DNS lookup maps an IP address to a hostname via PTR records. It is valuable for email, operations, and investigations—but it is contextual metadata, not identity proof.

Configure PTRs where mail and manageability require them, enrich logs thoughtfully, and never treat reverse DNS alone as a security boundary.

Related security terms

Frequently asked questions

What is a reverse DNS lookup in simple terms?

A reverse DNS lookup asks, “What hostname is associated with this IP address?” It is the opposite of the usual lookup that turns a name into an IP.

What is a PTR record?

A PTR (pointer) record stores the hostname that should be returned for a reverse lookup of an IP address.

Who controls reverse DNS for an IP?

Usually the IP address owner—often an ISP, cloud provider, or enterprise that received the address space—manages the reverse zone or delegates it.

Why does email care about reverse DNS?

Many mail systems check that sending IPs have sensible PTR records and that forward and reverse names align, as one signal against spam and spoofing.

Is reverse DNS proof of identity?

No. PTR records can be informative but are not strong authentication. Attackers with IP space can set PTRs, and missing PTRs are common.

What are in-addr.arpa and ip6.arpa?

Special DNS zones used for IPv4 and IPv6 reverse lookups, where IP addresses are represented as reversed labels under those domains.

How do security teams use reverse DNS?

During investigations, rDNS can hint at hosting providers, expected infrastructure names, or anomalies when names do not match observed services.

References

Explore authoritative guidance and frameworks related to reverse dns lookup.

Explore every security definition

Return to the glossary to search by term, alias, starting letter, or security category.

Browse glossary