unbound - ipv6 static route error - zone ID missing ?!

Started by bringha, October 14, 2020, 07:46:48 PM

Previous topic - Next topic
Hi all,

I am just trying to get up DoT with unbound and when I restart unbound after a config change I get the following error message

Oct 14 18:44:10 OPNsense.zuhause.xx opnsense[99771]: /services_unbound.php: The command '/sbin/route add -host -'inet6' '2001:470:20::2' 'fe80::3ea6:2fff:fe15:9055%''
returned exit code '71', the output was 'route: fe80::3ea6:2fff:fe15:9055%: Name does not resolve'


2001:470 ....is one of my ipv6 DNS Servers configured in system->general, while the fe80 address is my ipv6 gateway. I have these lines in the system log file for each ipv6 dns server.

It seems that there is the Zone ID of my WAN interface missing/incomplete.

Any idea how to correct ?

Looking forward to your reply

Br br

High there,

has someone successfully activated DoT with ipv6 addresses? I tested around and whatever DNS Server  ipv6 address I am using in unboundDNS->misc->DNS over TLS servers, I always get my system.log flooded with

OPNsense.zuhause.xx unbound[88380]: [88380:0] error: outgoing tcp: bind: Can't assign requested address

When I use only ipv4 addresses all is behaving fine.

Could this be related to the other error message from above?

Br br