Reverse DNS for IPv6 client networks
zaphodb at zaphods.net
Tue Sep 14 14:51:54 UTC 2010
On Tue, Sep 14, 2010 at 02:38:35PM +0200, Jeroen Massar wrote:
> Instead of handpicking names or letting people insert data into your DNS
> servers, some people are deploying PowerDNS with custom backends for
> this that either convert the IPv6 address into a 128bit hex number,
> optionally stripping the first 64 bits and replacing that with 'autogen'
> or 'wlan-' or similar. Something else that I have seen is that the
> backend randomly picks a name from a dictionary and then assigns that
> 'statically' to that address.
As i repaired my adaption of Wichert Modderman's PowerDNS ipv6
forward/reverse walldns-style backend just yesterday, this is probably
the right moment to share it  with you.
It works with netaddr  > 0.7, however beware of an odd issue  with
PowerDNS and python's sys.platform.
The good thing about PowerDNS is that it is modular, so you can run several
backends and type of backends at once which will get exhaused for queries in
the order they are specified. 
With a pipebackend such as the aforementioned beeing called _after_ your
regular authoritative backend, you can have customized records for certain
ipv6 addresses in your ranges while still providing a consistent mapping of
forward and reverse records for the gazillion of ipv6 addresses.
$ dig @mandelbrot.zaphods.net -x 2001:67c:1400:1220::af +short
$ dig @mandelbrot.zaphods.net aaaa node-4v.ipv6.zaphods.net +short
PS: find the powerdns community  on #powerdns @ irc.oftc.net
Hardware is the part of a computer system you can kick.
Software is what makes you want to kick the hardware.
More information about the NANOG