Reverse PTR Generator
Convert IP addresses and CIDR blocks to PTR record names and zone file examples
in-addr.arpa
(IPv4) and ip6.arpa
(IPv6) zones. Quick Examples
Input Type
PTR Records Generated
PTR Records & Zone Lines
192.168.1.100
100.1.168.192.in-addr.arpa
100 IN PTR host-192-168-1-100.example.com.
PTR Record Format
PTR records use the special in-addr.arpa
(IPv4) and ip6.arpa
(IPv6) domains. IP
addresses are reversed: 192.168.1.100
becomes 100.1.168.192.in-addr.arpa
.
Zone File Usage
The generated zone file lines can be copied directly into your reverse DNS zone files. Remember to adjust the hostname targets to match your actual domain structure.
IPv6 Nibbles
IPv6 PTR records use individual hex digits (nibbles) reversed. Each character becomes a separate label: 2001:db8::1
becomes a very long ip6.arpa
name.
Best Practices
Ensure PTR records have corresponding A/AAAA records for proper forward-reverse DNS consistency. Use descriptive hostnames that include IP information for easier network management.