DNS & IPv6

Gustavo gamador at jungle.bt.co.uk
Fri Sep 17 02:07:56 UTC 1999


Hi Kurt,

  I have been working with IPv6 DNS dynamic updates on FreeBSD3.2 on
both KAME and INRIA IPv6 stacks. I have used the released BIND 8.2.1 and 
a test version for the IPv6 dynamic updates because the released version
 hasn't support IPv6 dynamic updates ( a bug).

The only thing that changes, for practical purposes, from IPv4 is that
you also have to create a specific reverse domain for IPv6 addresses:
IP6.INT 
and the traditionals ones for IPv4 addresses zzz.yyy.xxx.IN-ADDR.ARPA.
All the 
other things are unchanged. Some examples are:



Forward file for all IPv4 and IPv6 addresses : db.XXXX.yy.zz 

$ORIGIN xxxx.yy.zz.
xxxx            86400   IN      SOA     w.xxxx.yy.zz.
admin_mail.dd.ee.ff. (
                1999090610 86400 7200 8640000 86400 )   
        86400   IN      NS      w.xxxx.yy.zz.      
a               86400   IN      AAAA   
2002:8492:5053:1:2a0:c9ff:fec8:827a   
b               86400   IN      AAAA    3ffe:a:b::5     
localhost       86400   IN      A       127.0.0.1       
c       	86400   IN      A       132.146.80.3 	


 

Reverse file for IPv6 addresses  db.IP6.INT


IP6     3600    IN      NS      w.xxxx.yy.zz. 
        3600    IN      SOA     w.xxxx.yy.zz. admin_mail.dd.ee.ff. (
                19990820 3600 900 3600000 3600 )        
5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.b.0.0.0.a.0.0.0.e.f.f.3.IP6.INT.  
86400   IN  PTR    b.xxxx.yy.zz. 

In the named.conf file you have to specify the IPv6 reverse domain.



zone "." {
        type hint;
        file "named.root";
};

zone "xxxx.yy.zz" {
        type master;
        file "db.xxxx.yy.zz";
};
zone "0.0.127.IN-ADDR.ARPA" {
        type master;
        file "db.127.0.0";
};
zone "100.146.132.IN-ADDR.ARPA" {
        type master;
        file "db.132.146.100";
};

// IPv6 inverse resolution

zone "IP6.INT" {
        type master;
        file "db.IP6.INT";
};


If you want are interested on Dynamic Updates I can give you more
information.

Good luck ;)

Gustavo Amador

Kurt Bauer wrote:
> 
> Hi,
> 
> I wondered if anyone has already made any experience with DNS (forward
> and reverse) and IPv6.
> (Platform is FreeBSD32 and Kame IPv6 stack)
> Maybe you have some hints for me (example config files and things like
> that ;-)) )
> 
> Thanks,
> 
> Kurt

-- 
___________________________________________________________________
 Gustavo AMADOR NIETO                 
   Internet Futures                    
   BT Martlesham labs


More information about the bind-users mailing list