Home
Lookup Tools
Analysis
Bulk & Enterprise
Resources
Close

PTR Record Reverse DNS

The PTR record (Pointer record) is used for reverse DNS lookups — resolving an IP address back to a hostname. While A records map domain names to IP addresses, PTR records do the opposite: they map IP addresses to domain names.

Look Up PTR Records

Check PTR records for any IP address using our free DNS lookup tool.

Look Up PTR Records →

What Is a PTR Record?

PTR records enable reverse DNS (rDNS) lookups. Given an IP address, a PTR record tells you the associated hostname. This is commonly used for:

PTR Record Format

PTR records use a special format where the IP address is reversed and appended to a special domain:

IPv4 PTR Records

The IP address is reversed and .in-addr.arpa is appended:

Example: IP 192.0.2.1

1.2.0.192.in-addr.arpa.    3600    IN    PTR    mail.example.com.

The IP 192.0.2.1 becomes 1.2.0.192.in-addr.arpa, which points to mail.example.com.

IPv6 PTR Records

Each hexadecimal digit is reversed and separated by dots, with .ip6.arpa appended:

Example: IP 2001:db8::1

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.    PTR    mail.example.com.

How Reverse DNS Works

  1. An application needs to find the hostname for IP 192.0.2.1
  2. It reverses the IP: 1.2.0.192
  3. It appends in-addr.arpa: 1.2.0.192.in-addr.arpa
  4. It queries DNS for PTR records at that name
  5. The DNS server returns: mail.example.com

PTR Records and Email

PTR records are crucial for email deliverability. When your mail server sends email, receiving servers typically:

  1. Note the sending IP address
  2. Perform a reverse DNS lookup (PTR query)
  3. Verify the hostname matches the HELO/EHLO identity
  4. Perform a forward DNS lookup on the hostname
  5. Verify the IP matches (Forward-Confirmed reverse DNS)

If any of these checks fail, your email is more likely to be marked as spam or rejected.

Forward-Confirmed Reverse DNS (FCrDNS)

FCrDNS requires that:

IP Address → PTR Record → Hostname → A Record → Same IP Address

Example of valid FCrDNS:

192.0.2.1     →  PTR  →  mail.example.com
mail.example.com  →  A    →  192.0.2.1  ✓

Setting Up PTR Records

Unlike most DNS records, PTR records must be created by whoever controls the IP address block — typically your ISP or hosting provider:

PTR Record Best Practices

Checking PTR Records

You can look up PTR records with command-line tools:

# Using dig
dig -x 192.0.2.1

# Using host
host 192.0.2.1

# Using nslookup
nslookup 192.0.2.1

PTR vs A Record

Aspect A Record PTR Record
Direction Hostname → IP IP → Hostname
Domain Your domain (example.com) in-addr.arpa / ip6.arpa
Who manages Domain owner IP address owner
Also called Forward DNS Reverse DNS

Troubleshooting PTR Records

Common issues and solutions:

Check Your PTR Records

Use our DNS Record Finder to look up PTR records for any IP address.

Look Up PTR Records →