Unbound 1.9.2 released (june 17)

My unbound configuration here.

If you are using the IPv4 only configuration, you will NOT be able to use the default package either, the same error will occur.

Ipv4 only config:

    interface: 127.10.10.2@5552
    do-ip4: yes
    do-udp: yes
    do-tcp: yes
    do-ip6: no

If you are using both IPv4 and IPv6, you need to ensure the IPv6 address exists, before starting unbound, as opposed to the IPv4 addresses I use (127.10.10.x), which do NOT need to exist before starting unbound.

IPv4 & IPv6 configuration:

    interface: 127.10.10.2@5552
    interface: fdaa:bbcc:ddee:2::5552@5552
    do-ip4: yes
    do-udp: yes
    do-tcp: yes
    do-ip6: yes

I've been using a "dirty", probably unapproved, method to ensure the IPv6 address exists, even after a reboot:

sudo ip -6 addr add fdaa:bbcc:ddee:2::5552/128 dev eth0
sudo sed -i '0,/^e-i xit 0.*/s/^exit 0.*/sudo ip -6 addr add fdaa:bbcc:ddee:2::5552\/128 dev eth0\n&/' /etc/rc.local

First line adds the IPv6 address immediately, after this you should be able to start unbound.
Second line adds the command to /etc/rc.local, which is executed during reboot.

1 Like