Unbound Resolver IPv6 issue
-
I'm having issues getting Unbound to work with IPv6 on 2.2.1. I'm 80% sure it was working on the initial 2.2 release and 100% sure it was working on 2.1.5 as a package. Now, when I try to start the resolver I get
php-fpm[33355]: /status_services.php: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '[1427117673] unbound[73651:0] debug: creating udp4 socket 192.168.201.1 53 [1427117673] unbound[73651:0] debug: creating tcp4 socket 192.168.201.1 53 [1427117673] unbound[73651:0] debug: creating udp6 socket 2xxx:xxx:xxx:20:: 53 [1427117673] unbound[73651:0] error: can't bind socket: Can't assign requested address for 2xxx:xxx:xxx:20:: port 53 (len 28) [1427117673] unbound[73651:0] fatal error: could not open ports'
If I select All for the network interface it starts but isn't listening on IPv6. If I set the network interface to just LAN it won't even start. Any help would be greatly appreciated.
-
A little more digging and it looks like if I set a static IPv6 address on my LAN, the issue occurs. If I set it to a track interface, it fails.
-
Clean install of 2.2.2 fails still. Can anyone help me? It seems ridiculous that I can't use this box as an IPv6 DNS resolver unless I'm using a track interface.
-
You know, it works perfectly fine with IPv6 static IP and without any track interface nonsense. Make sure you have disabled the DNS forwarder.