PTR Record Generator

Generate PTR record names for IPv4 and IPv6 addresses and CIDR blocks with zone file stubs

Reverse DNS: PTR records provide reverse DNS lookups, mapping IP addresses back to domain names.
Zone Structure: IPv4 uses in-addr.arpa and IPv6 uses ip6.arpa for reverse DNS zones.
Zone Files: Generates ready-to-use DNS zone file stubs with proper SOA and NS records.

Quick Examples

Input Type

PTR Records Generated

1 Total PTRs
1 IPv4
1 Zones

PTR Records

IP Address
PTR Record Name
Type
Zone
192.168.1.100
100.1.168.192.in-addr.arpa
IPv4
1.168.192.in-addr.arpa

Zone File Stubs

1.168.192.in-addr.arpa
IPv4
; PTR Zone file for 1.168.192.in-addr.arpa
; Generated on 2025-09-28
$TTL 86400

@       IN      SOA     ns1.example.com. hostmaster.example.com. (
                202509281601  ; Serial
                3600        ; Refresh
                1800        ; Retry
                1209600     ; Expire
                86400       ; Minimum TTL
)

; Name servers
@       IN      NS      ns1.example.com.
@       IN      NS      ns2.example.com.

; PTR Records
100        IN      PTR     host-192-168-1-100.example.com.

What are PTR Records?

PTR (Pointer) records provide reverse DNS lookups, allowing you to resolve an IP address back to a domain name. They're essential for mail servers, logging, and network diagnostics.

Zone Structure

IPv4 reverse zones use in-addr.arpa with octets reversed (e.g., 1.168.192.in-addr.arpa for 192.168.1.x). IPv6 uses ip6.arpa with individual hex digits reversed.

Zone Delegation

PTR zones are typically delegated by your ISP or hosting provider. The zone files generated here provide templates that can be customized for your specific DNS infrastructure.

Best Practices

Ensure PTR records match forward DNS (A/AAAA) records. Use descriptive hostnames that include the IP address or subnet information for easier network management.