ipv6 link-local addressing

repudi8or repu repudi8or at gmail.com
Thu Jun 24 22:20:42 UTC 2010


Hi Folks,

I am in the process of setting up an IPV6 testbed. It is comprised of w2k3r2
server vm's on an isolated virtual switch. As part of this process, i wish
to confirm that bind (currently using 9.7.0-p2) can manage dns correctly for
all ipv6 hosts.

from ipconfig on each server, my ipv6 addresses appear as follows :-
fe80::250:56ff:fea6:1dfc%4
fe80::250:56ff:fea6:236%5
fe80::250:56ff:fe97:233a%5

I have a test domain called ipv6.com in which I have the AAAA records
defined like so in the zone file:-
bind        3600    IN      AAAA    fe80::250:56ff:fea6:1dfc%4
www        3600    IN      AAAA    fe80::250:56ff:fea6:236%5
dba    3600    IN      AAAA    fe80::250:56ff:fe97:233a%5

This fails with errors like:
25-Jun-2010 7:58:17.284 dns_rdata_fromtext:
C:\WINDOWS\system32\dns\etc\ipv6.com.db:46: near
'fe80::250:56ff:fea6:236%5': bad IPv6 address
and the zone is not loaded due to errors.

If i leave off the part on each AAAA from the % onwards, the zone loads up
ok and names resolve, but of course can not be used to reach the intended
devices as the resolved addresses are missing the "%5". I believe the "%5"
part is called the "link-local" component of the address.

Can you please advise the correct syntax to have bind9 return the full ipv6
address plus the link-local component.

Kind Regards
Rep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20100625/f58faf05/attachment.html>


More information about the bind-users mailing list