OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: bringha on October 14, 2020, 07:46:48 pm

Title: unbound - ipv6 static route error - zone ID missing ?!
Post by: bringha on October 14, 2020, 07:46:48 pm
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

Code: [Select]
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
Title: DoT ipv6 unbound - ipv6 static route error - zone ID missing ?!
Post by: bringha on October 15, 2020, 09:50:31 pm
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
 
Code: [Select]
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