PTR Records
PTR (Pointer) records provide reverse DNS lookup, mapping IP addresses back to domain names. They're essential for email server verification and server identification.
How PTR Records Work
While regular DNS (A/AAAA records) maps domain names to IP addresses, PTR records do the opposite — they map IP addresses to domain names.
PTR Record Format
For IP address 192.0.2.1:
1.2.0.192.in-addr.arpa. PTR example.com.
IPv4 Reverse Lookup
- Reverse the IP octets
- Append
.in-addr.arpa.
IPv6 Reverse Lookup
For IPv6, each nibble (4 bits) is reversed:
2001:db8::1 -> reverse: 1.0.0.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 -> PTR: 1.0.0.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.
Common Uses
- Email Server Verification - Many mail servers check PTR records to verify sender
- Server Identification - Helps identify servers in logs
- Security - Used in spam filtering and network forensics
Best Practices
- Always set PTR records for mail servers
- Ensure forward DNS (A record) matches reverse DNS
- Use descriptive hostnames
- TTL should be reasonable (3600-86400 seconds)
Testing PTR Records
Use our PTR Lookup tool or the Reverse IP Lookup to verify your PTR records.
Try it on your domain
See the theory in practice — run a PTR Lookup for your own domain.