PTR Record Generator
Enter an IPv4 or IPv6 address and instantly get the correct PTR record name for your reverse DNS zone.
IP Address Input
Quick Examples
Enter an IP address and click Generate PTR
Supports both IPv4 and IPv6
PTR Record Name
Use this as the Name field in your DNS zone (the owner name of the PTR record).
Reverse Zone Name
The reverse zone this PTR record belongs to (typically /24 for IPv4 or /64 for IPv6).
DNS Zone File Example
Replace hostname.example.com. with your actual fully-qualified domain name (note the trailing dot).
Copied!
Summary
Enter an IPv4 or IPv6 address and instantly get the correct PTR record name for your reverse DNS zone.
How it works
- Enter an IPv4 address (e.g. 192.0.2.1) or a full IPv6 address (e.g. 2001:db8::1).
- The tool validates the address and determines the IP version.
- For IPv4, the octets are reversed and ".in-addr.arpa" is appended.
- For IPv6, the address is expanded to its full 32-hex-digit form, reversed nibble by nibble, and ".ip6.arpa" is appended.
- Copy the PTR record name and the zone name for use in your DNS control panel.
Use cases
- Set up rDNS for a mail server to pass SPF/DKIM checks and reduce spam scores.
- Verify PTR record format before submitting to your hosting provider or ISP.
- Calculate the correct ip6.arpa name for an IPv6 address without manual nibble-reversal.
- Troubleshoot reverse DNS mismatches during email deliverability audits.
- Provide the PTR name when configuring BIND, PowerDNS, or other authoritative DNS servers.
- Learn the difference between in-addr.arpa and ip6.arpa zone delegation.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu