Hurricane Electric's IPv6 Tunnel Broker Forums

Tunnelbroker.net Specific Topics => Questions & Answers => Topic started by: coryr on April 21, 2010, 07:23:38 PM

Title: HOWTO: IPv6 reverse DNS zone names
Post by: coryr on April 21, 2010, 07:23:38 PM
The IPv6 rDNS public beta service has been announced here (http://www.tunnelbroker.net/forums/index.php?topic=877.msg4534#msg4534). IPv6 reverse zones are different from IPv4 reverse zones.

An IPv4 reverse DNS zone name for 192.168.0.0/24 will be: 0.0.168.192.in-addr.arpa. Doing zones for CIDR netblocks gets much more crufty.

The IPv6 rDNS scheme is more straight forward, though longer. For this netblock:

2001:470:1f05:c8e::/64

you will also be tracing the network address backward, though we will not use any trailing 0's. Note that all middle 0's must be included. Separate every numeral with a dot to get:

e.8.c.0.5.0.f.1.0.7.4.0.1.0.0.2

And instead of "in-addr.arpa" (because all IPs are "internet addresses"), we'll designate that it's IPv6 using:

.ip6.arpa

Keeping this in mind, our IPv6 rDNS zone looks like this:

e.8.c.0.5.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa

You can add PTR records via the interface we provide. Note you'll need to backfill any double-colon (::) zeroes you use.

Hope this helps!