WIN FIFA World Cup™ tickets! Raffle closes in:

WIN FIFA World Cup 2026™ tickets! Enter now

Sign up now
Wc2026 Mobile

Expressvpn Glossary

DNS PTR record

DNS PTR record

What is a DNS PTR record?

A Domain Name System (DNS) pointer (PTR) record links an IP address to a hostname. For IPv4, an A record does the opposite by linking a hostname to an IPv4 address; for IPv6, an AAAA record links a hostname to an IPv6 address.

PTR records exist because IP addresses don’t carry human-readable hostnames on their own. Without a PTR record, services that receive traffic from an IP address can’t translate it to a hostname for logging, deliverability checks, or trust signals.

PTR records can suggest a hostname, but they don’t prove who operates a service. Registration and contact information are typically found through WHOIS or Registration Data Access Protocol (RDAP), though those records may identify the resource holder or contact rather than the exact service operator.

How does a DNS PTR record work?

A reverse DNS lookup starts with an IP address and works backward to find the associated hostname.

The resolver reverses the order of the IP address octets and appends them to a special domain. For IPv4 addresses such as 192.0.2.1, this lookup occurs under the in-addr.arpa domain. For IPv6, the address is expanded into hexadecimal digits, split into individual nibbles, reversed, and placed under the ip6.arpa domain.

The resolver then queries the appropriate reverse DNS zone for a PTR record at that address. If a matching record exists, the DNS server returns the associated hostname.

Many email servers and security tools take this a step further by checking that the returned hostname also resolves to the original IP address via forward DNS. This round-trip check, known as forward-confirmed reverse DNS (FCrDNS), shows that the reverse and forward DNS records are consistent. It’s a weak signal useful for detecting misconfiguration and casual spoofing, but not for proving operator identity.Dns Ptr Record 1

Where are DNS PTR records used?

Several systems rely on reverse DNS lookups:

  • Email services: Mail servers verify that a sending IP address maps to a valid hostname and that the hostname resolves back to the same IP via forward DNS. Missing or mismatched PTR records often trigger spam filters or message rejection, depending on the receiver’s policy.
  • Security monitoring: Analysts use reverse lookups to translate IP addresses into hostnames, making logs easier to read and investigate.
  • Network troubleshooting: Administrators use PTR records to identify systems, interpret traceroute or diagnostic output, and diagnose naming or configuration issues.
  • Hosting and cloud infrastructure: IP address owners and cloud providers configure PTR records for public-facing services to ensure proper reverse DNS resolution.

Risks and privacy concerns

Poorly configured PTR records can affect deliverability, security, and infrastructure control.

  • Reduced trust and deliverability: Systems that rely on reverse DNS may flag or reject traffic from IP addresses with missing, mismatched, or outdated PTR records. Email servers are especially likely to check PTR records, though enforcement depends on the receiver’s policy.
  • Exposed infrastructure details: PTR records make hostnames publicly visible, which can reveal naming conventions, server roles, or network architecture.
  • Limited control over records: The IP address owner, internet service provider (ISP), hosting provider, or cloud provider often manages the reverse DNS zone, which can restrict how quickly or freely an organization updates its PTR records.

Further reading

FAQ

What is the difference between a PTR record and an A record?

A pointer (PTR) record maps an IP address to a domain name, while an A record does the opposite. They perform related forward and reverse lookup functions within the Domain Name System (DNS).

Why do mail servers need a PTR record?

Mail servers use pointer (PTR) records to check that a sending IP address is associated with a valid hostname. This check helps assess whether an email source appears legitimate.

Can I create a PTR record myself?

In most cases, the owner of the IP address range, such as an internet service provider (ISP) or cloud provider, controls pointer (PTR) records. This means organizations often create them through the provider rather than directly in a standard Domain Name System (DNS) zone.

What happens if a PTR record is missing or wrong?

If a pointer (PTR) record is missing or doesn’t match the forward Domain Name System (DNS) record, systems may treat the server as misconfigured or less trustworthy. This can affect how they handle traffic, especially email.

Does a PTR record improve security?

A pointer (PTR) record doesn’t provide direct security protection. However, it supports trust checks and helps systems identify servers and detect Domain Name System (DNS) inconsistencies, which can contribute to better overall network hygiene.
Get Started