IPv6 Reverse DNS Zone Name Generator

August 3, 2026

HomeServerBlog IPv6 DNS tool

IPv6 Reverse DNS Zone Name Generator

Convert an IPv6 prefix into the correct ip6.arpa reverse zone, reversed nibble labels, delegation count, TTL seconds, and PTR record workload for home labs, mail hosts, ISP delegated space, and internal ULA networks.

1Presets

2Calculator

Enter compressed or expanded IPv6. A slash length in this field is ignored if the separate prefix length is set.
IPv6 reverse DNS zones are delegated on 4-bit nibble boundaries.
Non-nibble prefixes can be broader or expanded into several child zones.
Extra nibble levels below the calculated boundary that may be delegated later.
Expected PTR records in this reverse DNS plan.
This changes the displayed IPv6 form only, not the ip6.arpa math.
Separate zone files grow as 16 to the split nibble count.
Converted to seconds for zone file use.
ip6.arpa zone name
-
reverse DNS origin
Waiting for prefix.
Nibble labels
-
labels before ip6.arpa
Each label is one reversed hex nibble.
Reverse zone count
-
zone files
Includes non-nibble expansion when selected.
PTR workload
-
records plus zone overhead
SOA and NS placeholders are counted per zone.

Reverse DNS Breakdown

Enter an IPv6 prefix to generate the reverse zone.

3Output Labels

Prefix bits64CIDR length used for reverse math.
Boundary bits64Nearest DNS nibble boundary.
Base nibbles16Hex labels fixed by the prefix.
Split nibbles0Extra levels made into child zones.
TTL seconds86400Zone TTL ready for DNS files.
PTR per zone48Average PTR records in each zone.
Host nibbles16Remaining labels below this origin.
AlignmentExactWhether CIDR lands on a nibble.

4IPv6 Reverse DNS Grid

Reverse labels: Generate a zone to see the nibble chain.

5Reference Tables

IPv6 sizeNibblesip6.arpa labelsTypical home server use
/481212 reversed hex labelsSite allocation, ULA lab parent, routed internal services.
/561414 reversed hex labelsResidential ISP delegation containing up to 256 common /64 LANs.
/641616 reversed hex labelsSingle SLAAC LAN, server VLAN, Kubernetes pod segment, or VPN subnet.
/1283232 reversed hex labelsOne host PTR, commonly used for mail, monitoring, and static services.
Boundary modeNon-nibble prefix behaviorZone count effectUse when
Strict nibble boundaryWarns and falls back to the lower parent zone.One broader zone before split levels.You want to see alignment risk before delegating.
Round downUses the nearest shorter multiple of 4 bits.Can cover space outside the exact CIDR.Your parent DNS zone is managed by the same operator.
Round upExpands the partial nibble into exact child zones.2^(4 - remainder bits) before extra split.You need accurate delegation for a /57, /61, /125, or similar prefix.
Host PTR nameUses all 32 nibbles regardless of CIDR length.One host owner name per address.You are creating a single PTR record owner.
PTR planSuggested TTLWorkload noteOperational reminder
Mail server IPv624 to 48 hoursLow PTR count, high correctness requirement.Forward and reverse names should agree with mail reputation policy.
Home LAN /644 to 24 hoursPTR count depends on static leases and service hosts.Avoid trying to publish every privacy address.
Kubernetes pods1 to 6 hoursHigh churn can make manual PTR management noisy.Automate from service inventory when possible.
ISP delegated block24 hoursZone count grows fast when splitting below /56 or /64.Delegate only levels you really administer.
Example prefixBoundaryReverse origin patternWhy it matters
2001:db8:42:100::/6416 nibbles0.0.1.0.2.4.0.0.8.b.d.0.1.0.0.2.ip6.arpaClean LAN reverse zone with no partial nibble.
fd42:beef:cafe::/4812 nibblese.f.a.c.f.e.e.b.2.4.d.f.ip6.arpaULA site parent can hold many internal /64 zones.
2001:db8:1234:5600::/5715 nibbles at ceilMultiple child zonesA /57 fixes one bit of the next nibble, so exact reverse needs 8 child zones.
2001:db8:25:25::25/12832 nibblesFull owner nameSingle PTR owner is useful for mail and static service addresses.

6Tips

Delegate on clean nibbles. IPv6 reverse DNS under ip6.arpa reverses one hexadecimal nibble per DNS label. Prefixes such as /48, /56, /60, /64, and /128 are clean because the bit length divides by 4.
Be careful with dynamic addresses. For SLAAC and privacy addresses, publish PTR records for durable service addresses, stable DHCPv6 reservations, mail hosts, VPN endpoints, and monitoring targets instead of every temporary client address.

Most people think of IPv6 addresses as just another set of long hexadecimal numbers destined to be placed somewhere inside a firewall rule. That changes when it come time to configure your Domain Name System (DNS) or operate a mail server requiring reverse DNS lookups. At this point, those thirty-two characters become something of a design issue, but not because off the arithmetic. This is because DNS was designed decades ago for use within constraints of IPv4 space, and architecture does not map well onto current network scales.

The ip6.arpa domain contains IPv6 reverse zones. To understand how they work, each four-bit nibble are reversed into its own label. So even just the network portion has sixteen labels before adding any host bits (with a normal slash sixty-four prefix). Anything that doesn’t align with a multiple of four get really ugly real quick. The DNS protocol works with labels as atomic units. There’s no way to delegate part of a half-byte to a child zone.

Why IPv6 Reverse DNS Is Hard to Set Up

This page calculate the math for you when you enter your prefix. Save yourself the trouble of counting out hex digits and dealing with alignment errors.

The typical home lab run its primary network on a standard slash sixty-four subnet, so they neatly break up into nibbles, making delegation simple enough. It is one zone file that are sixteen labels long. But what if your ISP allocates you a slash fifty-seven? The Internet Engineering Task Force anticipated slash sixty-four subnets when designing the address space hierarchy. So, in this situation, why do we run into problems?

A slash fifty-seven cuts right through middle of a nibble, meaning half of it gets wasted and half of it become ambiguous. Do you round down to parent zone or split that single nibble across eight smaller child zone? Either decision will greatly affect amount of administrative overhead you incur. Without going into detail here about how that works, feel free to play around with these boundary modes using this tool which would of not break your production DNS servers!

Compare expanding a non-aligned prefix against rolling it up to its closest clean boundary to see which zone file are created and how many there are. This is shown directly via the reference table on page where you’ll see why strict alignment is important for delegation stability. Also we calculates the full PTR record workload so you know the maintenance costs before committing to a design.

Another common pain point is mail servers. Their reverse DNS needs to be exact, so the forward and reverse records must match. If they don’t match, a mistake in the pointer record will bounce your real email into peoples spam folders. That’s right: you’re now at the mercy of individual slash one-hundred-twenty-eight addresses. There is thirty two complete labels per host. Although it’s not many records overall, that’s pretty light lifting. But their accuracy cannot be compromised. Reputation algorithms scans through your zone files, there’s no wiggle room here.

Containerized services and Kubernetes pods creates a new category of noise. Hundreds of transient address are spun up and torn down each day in these environments. Attempting to keep track of static PTRs for all of them will lead to administrative burnout. Instead, limit your reverse zones to just the long-lived, stable service endpoints and let the DNS updates is automated. If most of the host portion of a subnet change more rapidly than you can update the zone file, don’t attempt to map them all out.

So with reverse DNS, consider this an exercise in putting all the books back onto shelves after organizing by a complicated algorithm. Except instead of just giving each book a number for an aisle, you have to figure out how to delegate zones at clean nibble boundaries. And if the algorithm is bad, then the books goes into the wrong aisle, nobody knows where they are, and you have to fix it. Ideally, keep your zone files manageable, so when you need to make changes, you know what’s going on. Delegate zones when practical, ideally at clean nibble boundaries. Instead of creating a record for everything every time someone connects, think about what really needs to stay across connections. Put a reverse record into those. When you work with the nibbles (and stop fighting against them), the rest will sort itself out.

IPv6 Reverse DNS Zone Name Generator

Related posts

Leave a Comment