PTR Record Generator

Enter an IPv4 or IPv6 address and instantly get the correct PTR record name for your reverse DNS zone.

Use the PTR Record Generator

IP Address Input

Quick Examples

Enter an IP address and click Generate PTR

Supports both IPv4 and IPv6

Copied!

Summary

A PTR record (pointer record) maps an IP address back to a hostname — the reverse of an A or AAAA record. Setting up correct PTR records is essential for mail server deliverability, network diagnostics, and meeting ISP requirements. This tool computes the exact PTR record name in in-addr.arpa (IPv4) or ip6.arpa (IPv6) format so you can paste it directly into your DNS zone file or control panel.

How it works

  1. Enter an IPv4 address (e.g. 192.0.2.1) or a full IPv6 address (e.g. 2001:db8::1).
  2. The tool validates the address and determines the IP version.
  3. For IPv4, the octets are reversed and ".in-addr.arpa" is appended.
  4. For IPv6, the address is expanded to its full 32-hex-digit form, reversed nibble by nibble, and ".ip6.arpa" is appended.
  5. 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-13 · Reviewed by Nham Vu