v6rev is a pipe backend for PowerDNS that gives you IPv6 DNS reverse for all autoconfigured addresses.
You have a properly deligated IPv6 network, for example 2001:700:300::/48.
In here you decide that you're going to use 2001:700:300:1:: for client networks, workstations and such. They usually just autoconfigured using radvd or alike.
As you have no control over what kinds of MAC addresses these clients are using (short of polling a lot of CAM (arp) -tables, which may/may not be another solution) you just have to fake it.
Here comes v6rev:
terra:~# dig 2001-700-300-1-0-0-0-1.v6.ntnu.no aaaa @localhost [..] ;; ANSWER SECTION: 2001-700-300-1-0-0-0-1.v6.ntnu.no. 60 IN AAAA 2001:700:300:1::1 terra:~# dig -x 2001:700:300:1::1 @localhost [..] ;; ANSWER SECTION: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.0.0.0.3.0.0.0.7.0.1.0.0.2.ip6.arpa. 60 IN PTR 2001-700-300-1-0-0-0-1.v6.ntnu.no.
Or if you'd like - try it through dnsstuff.com: dnsstuff_forward and dnsstuff_back .
install powerdns, with the pipe backend. (apt-get install pdns pdns-pipe)
configure pdns
deligate the reverse and forward zones of your choice
enjoy.
warning: there are plenty of rough edges as of now. work in progress. :))
Author: | Lasse Karstensen <lkarsten@hyse.org> |
---|---|
Date: | $Date: 2006/01/25 19:06:10 $ |