Reverse DNS for IPv6 client networks

Harry Strongburg harry.nanog at harry.lu
Tue Sep 14 14:08:08 CDT 2010


On Tue, Sep 14, 2010 at 02:27:59PM +0200, Elmar K. Bins wrote:
> Are you creating DNS entries somehow (reverse and, ultimately, forward),
> are you using BIND "generate" statements, are you using wildcards...or
> are you just ignoring this for the "dynamic boxes"?

I haven't had my coffee yet this morning, so I may be misunderstanding 
you... I think you're asking for some way for your v6 subnet to both 
have proper forward and reverse DNS, right? If so, I personally find 
http://member.wide.ad.jp/~fujiwara/v6rev.html very useful.

If you run a "normal" DNS server on the same IP, it probably will be 
hard to get it working. But, if you don't, it's pretty easy. You'd want 
to get v6rev.pl from the page above.


Here is my config example:
server_address: 0.0.0.0, 2001:470:892c:3432::1
server_port: 53
pid_file: /var/run/v6rev.pid
reconfig_interval: 3600
reverse_domainname: c.2.9.8.0.7.4.0.1.0.0.2.ip6.arpa
#/48 tbroker home
reverse_domainname: 1.0.8.c.0.7.4.0.1.0.0.2.ip6.arpa
#/48 tbroker work
forward_domainname: dyn.harry.lu
keyfile_dir: /home/v6rev/keys
ttl: 3600
nsname: dyn.harry.lu
enable_dnssec: 0
querylog: 1
static_ptr: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.3.4.3.c.2.9.8.0.7.4.0.1.0.0.2.ip6.arpa harry.lu
static_ptr: 5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.8.c.0.7.4.0.1.0.0.2.ip6.arpa staticsample.harry.lu

Now, if you check the forward and reverse DNS entries for the subnets 
you defined in reverse_domainname:

$ dig -x 2001:470:892c::7 +short
20010470892c00000000000000000007.dyn.harry.lu.
$ dig AAAA 20010470892c00000000000000000007.dyn.harry.lu +short
2001:470:892c::7

Pretty cool, eh? You can also add in your own static ones on the same 
subnet using static_ptr.


However, I bet I totally misunderstood your question!




More information about the NANOG mailing list