Managing IPv6 reverse DNS with PTR, CNAME and delegated networks
Summary
In May 2011 Manuel Schmitt reports that manitu's root server customers can now manage reverse DNS for IPv6 themselves, following the IPv6 launch. The customer portal combines IPv4 and IPv6 in one editor with filter, search and a CSV export that also contains the addresses in binary form. Besides PTR and CNAME records there are NS records that let customers delegate their /64 or parts of it to their own name servers.
How reverse DNS for IPv6 is structured
RFC 3596 specifies that an IPv6 address is written under ip6.arpa as a sequence of nibbles for reverse lookup, that is single hexadecimal digits in reverse order. A complete PTR name therefore has 32 digits; according to RFC 4159, the older domain ip6.int has been deprecated since August 2005.
Because each digit stands for four bits, subnets can be delegated cleanly at boundaries divisible by four. A /64 is a zone with 16 digits, the /80 mentioned in the post one with 20 digits.
Why CNAME appears in reverse DNS
For IPv4, RFC 2317 of March 1998 describes how networks smaller than a /24 are delegated: the provider sets CNAME records pointing to PTR records in a zone run by the customer. Allowing CNAME for IPv6 as well carries this pattern over; with IPv6, direct NS delegation is often enough thanks to nibble boundaries.
Ideas
- A shared editor avoids separate operating paths for IPv4 and IPv6.
- Addresses in binary form make correct sorting of large exports easier.
- NS records delegate a /64 or smaller subnets to customers' own name servers.
- IPv6 reverse names consist of 32 hexadecimal digits in reverse order.
- Delegations work cleanly at prefix boundaries divisible by four.
- Filter and search matter more than manual lists in large IPv6 address spaces.
Insights
- IPv6 management only scales with network-oriented tools instead of single-address thinking.
- Reverse DNS is operational infrastructure for mail, diagnostics and delegated responsibility.
Facts
- The editor supported PTR, CNAME and NS records for IPv6.
- CSV exports also contained the addresses in binary form.
- RFC 3596 describes reverse lookup under ip6.arpa in nibble form.
- RFC 4159 declared ip6.int deprecated in August 2005.
- Since March 1998, RFC 2317 has described delegating small IPv4 networks via CNAME.
References
- Manuel Schmitt on Hostblogger: original article (German)
- RFC 3596: DNS Extensions to Support IP Version 6 (2003)
- RFC 2317: Classless IN-ADDR.ARPA delegation (1998)
Recommendations
- Automate forward and reverse DNS checks together.
- Only delegate prefixes on nibble boundaries, such as /64, /68 or /80.
- Only delegate clearly bounded prefixes and monitor the authoritative name servers.
Read the original article on Hostblogger
Found a mistake or have something to add? Get in touch.
Links to the original source and the Web Archive open in a new tab.