I thought I put this up here before, but apparently I sent it in email to someone…

Pro-tip based on almost a dozen years of hand-managing ip6.arpa here: don’t hand-construct the records by doing the nybbles manually; you’ll screw up far too often. Use dig(1) instead, it does the listing for you, even if there’s no data at the node. For instance:

% dig -x 2001:DB8:1:2::cafe:babe

yields (among a pile of other things):

;; QUESTION SECTION: ;e.b.a.b.e.f.a.c. IN PTR

Handily cut-and-pasteable!