PTR Record Generator

Generate reverse DNS PTR records for IP addresses and CIDR blocks with proper zone file formatting.

Reverse DNS: PTR records provide reverse DNS lookups, mapping IP addresses back to hostnames
Zone Structure: IPv4 uses .in-addr.arpa zones, IPv6 uses .ip6.arpa with nibble boundaries
Zone Files: Generated records can be used directly in BIND9 and other DNS server configurations

Quick Examples

Input Type

PTR Records

1 Total PTR Records
1 IPv4 Records
1 DNS Zones

PTR Record Details

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 Contents

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

@       IN      SOA     ns1.example.com. hostmaster.example.com. (
                202512021401  ; 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 records provide reverse DNS lookups, mapping IP addresses back to domain names for verification and logging purposes

Zone Structure

IPv4 reverse zones use .in-addr.arpa (e.g., 1.168.192.in-addr.arpa), IPv6 uses .ip6.arpa with nibble boundaries

Zone Delegation

Reverse DNS zones must be properly delegated by your ISP or hosting provider to function correctly

Best Practices

Always set up reverse DNS for mail servers, use descriptive hostnames, and ensure forward/reverse DNS match