Reverse DNS / PTR Helper · Networking
Turn an IP into its reverse DNS name.
Enter an address or CIDR like 192.0.2.10/24 to get its in-addr.arpa / ip6.arpa PTR record and the delegated reverse zone — a free reverse DNS generator online that runs entirely in your browser, no signup required.
Reverse DNS / PTR Helper playground
IPv4 or IPv6 — host 192.0.2.1 or 2001:db8::1. Add a prefix like 192.0.2.0/24 to get the reverse zone.
Type an IP address or IP/prefix or pick an example to see its PTR record name, reverse zone and a ready-to-run dig command here.
The Gap
One label out of order, the PTR never resolves.
Writing a PTR record means reversing an address by hand into the arpa tree — four octets backwards for IPv4, or all thirty-two nibbles for IPv6. Get one label out of order and the record silently fails to resolve, mail gets flagged, and logs show raw IPs instead of names.
This PTR record generator for IPv4 and IPv6 turns an address or CIDR into the exact in-addr.arpa / ip6.arpa PTR name and the reverse zone you delegate — so you can drop it straight into a zone file. Entirely in the browser, with nothing to install.
Need the network bounds for a block first? Open the Subnet Calculator.
The Pipeline
How it works.
Four deterministic steps run on every keystroke — all inside your browser tab, with exact BigInt arithmetic.
-
Parse the address.
The IP or CIDR is split from its /prefix and read as a 32-bit IPv4 or 128-bit IPv6 number.
-
Reverse the labels.
IPv4 octets are reversed; IPv6 is expanded to 32 nibbles and reversed, one label each.
-
Append the suffix.
The reversed labels get the in-addr.arpa (IPv4) or ip6.arpa (IPv6) domain to form the PTR name.
-
Derive the zone.
The prefix fixes which labels belong to the delegated reverse zone, flagging RFC 2317 cases.
Worked Examples
From address to arpa name.
The same reversal idea, two address families — IPv4 reverses decimal octets, IPv6 reverses hex nibbles.
IPv4 — in-addr.arpa
Octets reversed, then in-addr.arpa; prefixes finer than /24 use RFC 2317.
192.0.2.10/24
PTR name 10.2.0.192.in-addr.arpa
reverse 2.0.192.in-addr.arpa
zone (a /24 — delegated on the octet boundary)
198.51.100.64/26
reverse 64/26.100.51.198.in-addr.arpa
(finer than /24 → RFC 2317 classless delegation) IPv6 — ip6.arpa
Expanded to 32 nibbles, reversed, then ip6.arpa — one label per nibble.
2001:db8::1/64
expanded 2001:0db8:0000:0000:0000:0000:0000:0001
PTR name 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.
0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa
reverse 0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.
ip6.arpa
zone (a /64 → 16 nibble labels) Next Step
Not sure of the block's bounds first?
The Subnet Calculator takes an address plus a prefix and returns the network, broadcast, mask, wildcard and host range for IPv4 and IPv6 — the companion to confirming a block before you delegate its reverse zone.
192.0.2.10
→ 10.2.0.192.in-addr.arpa
2001:db8::1
→ 1.0.0.…0.8.b.d.0.1.0.0.2.ip6.arpa FAQ
Questions, answered.
Tap a question to expand the answer.
What is a reverse DNS PTR record generator?
A PTR record generator takes an IPv4 or IPv6 address (or CIDR) and builds the arpa name used for reverse DNS — reversing the address and appending in-addr.arpa for IPv4 or ip6.arpa for IPv6. This tool does that conversion entirely in your browser, so the IP address you enter is never uploaded to any server.
What is reverse DNS / a PTR record?
Forward DNS maps a name to an address; reverse DNS does the opposite — it maps an IP address back to a hostname using a PTR record. The lookup is done under the special in-addr.arpa (IPv4) or ip6.arpa (IPv6) domain, where the address is written backwards as a name. This helper builds that PTR name for you from any address or CIDR.
What is a PTR record used for?
A PTR record maps an IP address back to a hostname — the reverse of an A or AAAA record. It is mainly used to verify mail servers: many receiving mail servers reject messages from IPs that do not have a valid PTR record. PTR records also appear in system logs and network traces, replacing raw IP addresses with readable hostnames for easier troubleshooting.
Does my address ever leave my browser?
No. The PTR name and reverse zone are derived 100% client-side in your tab — there is no server, no account and no logging. You can safely paste internal addresses and private ranges.
How do IPv4 in-addr.arpa and IPv6 ip6.arpa differ?
IPv4 reverses the four decimal octets and appends in-addr.arpa — so 192.0.2.10 becomes 10.2.0.192.in-addr.arpa. IPv6 expands the address to its 32 hex nibbles, reverses them and appends ip6.arpa, giving a much longer name with one label per nibble. The helper handles both and shows the fully expanded IPv6 form.
What is the nibble format in IPv6 reverse DNS?
A nibble is a single hexadecimal digit (4 bits). IPv6 ip6.arpa names list every nibble of the fully expanded address in reversed order, separated by dots — 32 nibbles total for a host record. For example, 2001:db8::1 expands to 2001:0db8:0000:…:0001, and the reversed nibble sequence becomes 1.0.0.0.…0.8.b.d.0.1.0.0.2.ip6.arpa. The generator shows this nibble breakdown so you can verify the PTR name before adding it to your zone file.
What is the reverse zone, and what about RFC 2317?
The reverse zone is the part of the arpa tree your DNS server is delegated authority over — for a /24 that is the three-octet zone like 2.0.192.in-addr.arpa. IPv4 delegations fall naturally on octet boundaries (/8, /16, /24). For prefixes finer than /24, RFC 2317 classless delegation is used, where the zone label encodes the sub-/24 block; the helper flags this case so you know a CNAME-style delegation is required.
How do I create a reverse DNS zone from a CIDR block?
For IPv4, take the network prefix octets and reverse them: a /24 like 198.51.100.0/24 maps to the zone 100.51.198.in-addr.arpa, while a /16 like 198.51.0.0/16 maps to 51.198.in-addr.arpa. IPv6 reverse zones must fall on nibble boundaries (prefix length divisible by 4); if your prefix is not on a boundary the tool rounds down to the enclosing nibble boundary and notes the discrepancy. Enter any CIDR and the reverse zone generator derives the correct zone name automatically.
Does this tool query DNS or look anything up?
No. It does not send any query or resolve anything — it generates the in-addr.arpa / ip6.arpa names and the reverse zone offline, purely from the address you type. To actually resolve a PTR you would use a tool like dig -x or host; this helper just builds the correct names to put in your zone file or query.
New to this? Read our guide on Networking for DevOps Engineers.
More free, private DevOps tools.
The Reverse DNS / PTR Helper is one tool in OpsCanopy — a growing canopy of browser-based validators, converters and testers that never touch a server.
More in Networking
New to Linux? Read the Linux guide →
29 free tools, every one offline-capable — opscanopy.com works with no signup and nothing uploaded.
More networking: the Subnet Calculator, the IP Address Converter and the CIDR / Subnet Checker to validate the same blocks, or browse the full tools directory.
Provided as-is for convenience; always confirm critical DNS changes against your own authority. OpsCanopy is free and open.