Unbound and IPv6

If you are not using IPV6 within your network, unbound will fail to start.

Can be fixed by

do-ip6: no

in the config file.

2 Likes

Thanks, I'll edit the wiki article when I can. IPv6 isn't essential for the configuration.

Edited, @ramset can you confirm that it also work without an explicit no (just no yes)?

With do-ip6: yes i get the following:

error: can't bind socket: Cannot assign requested address for ::1

same thing for removing the whole line.

changing to no starts unbound without any issues.

removing the yes/no is outputting:

Sorry for not having been explicit, I mean what happens if you remove the entire line (so nothing with do-ip6 at all).

It fails (commenting it also will prevent unbound from starting).

I think unbound is depended on that instruction.

Okay, thanks for clarification, I will edit the wiki once more :slight_smile:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.