IPv6 scoped address disambiguation
Peter
pmc at citylink.dinoex.sub.org
Thu Jun 16 16:13:14 UTC 2022
Hi @all,
the reference manual says something about scoped ipv6 addresses,
so I might assume they are understood and useable. But maybe either
I did misunderstand something, or something is wrong here:
My configuration:
listen-on-v6 port 53 { fe80::2%lo0;
fe80::3%lo0; };
This is what I have:
# ifconfig | grep fe80
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 fe80::2%lo0 prefixlen 128 scopeid 0x3
inet6 fe80::3%lo0 prefixlen 128 scopeid 0x3
inet6 fe80::2%tun0 prefixlen 124 scopeid 0x5
inet6 fe80::2%tun1 prefixlen 124 scopeid 0x6
And this is what I get when starting named:
# netstat -an6 | grep "fe80.*53.*LISTEN"
tcp6 0 0 fe80::2%tun1.53 *.* LISTEN
tcp6 0 0 fe80::2%tun0.53 *.* LISTEN
tcp6 0 0 fe80::3%lo0.53 *.* LISTEN
tcp6 0 0 fe80::2%lo0.53 *.* LISTEN
I didn't expect the %tun0 and %tun1 to appear here.
Am I missing some necessary quoting in the address string?
My version:
BIND 9.16.29 (Extended Support Version) <id:7e23e43>
running on FreeBSD amd64 12.3-RELEASE-p5
<etc.etc.>
More information about the bind-users
mailing list