Sunday, February 06, 2022

resolvd and IPv6 link-local address

Hello,

when resolvd enters a DNS server (which it learned via slaacd / router
advertisement) with an IPv6 link-local address to /etc/resolv.conf it
doesn't add the zone index to it. Therefore the entry is without use.

Is that expected, a bug or am I doing something wrong?

$ uname -a
OpenBSD meister2 7.0 GENERIC#5 amd64

$ cat /etc/hostname.vio0
inet6 autoconf
# BEGIN ANSIBLE MANAGED BLOCK IPv4
inet 192.168.0.202 255.255.255.0
!route add default 192.168.0.254
# END ANSIBLE MANAGED BLOCK IPv4

$ cat /etc/resolv.conf
nameserver fe80::2a0:57ff:fe4b:a3fe # resolvd: vio0
# BEGIN ANSIBLE MANAGED BLOCK
lookup file bind
family inet6 inet4
search aloof.local
nameserver fe80::2a0:57ff:fe4b:a3fe%vio0
nameserver 192.168.0.254
# END ANSIBLE MANAGED BLOCK


For IPv4 there is the "ignore dns" option for dhcpleased. Does that exist
for IPv6 too?

No comments:

Post a Comment