Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 by default not enabled #150

Closed
imp1sh opened this issue Oct 30, 2023 · 4 comments
Closed

IPv6 by default not enabled #150

imp1sh opened this issue Oct 30, 2023 · 4 comments

Comments

@imp1sh
Copy link

imp1sh commented Oct 30, 2023

The default configuration only listens on 0.0.0.0 thus not serving IPv6 requests at all.
Please fix this bug.

@MatthewVance
Copy link
Owner

IPv6 is off by default on purpose. This is not something I have any plans to change. The image supports custom configurations for those who do not like the defaults.

MatthewVance/unbound-docker-rpi#12 (comment)

@imp1sh
Copy link
Author

imp1sh commented Oct 30, 2023

Would you care to explain why that is your default?

@MatthewVance
Copy link
Owner

I'm not trying to be difficult, but supporting this project is already more than I keep up with. Adding further complexity to the default configuration is not something I want to do. Docker with IPv6 is tricky, so I default it to off for broader compatibility. For instance, the Docker docs say "Before you can use IPv6 in Docker containers, you need to enable IPv6 support in the Docker daemon." I do not see a major issue with it not defaulting to listen on IPv6. The default still gracefully handles IPv6 resolution.

@imp1sh
Copy link
Author

imp1sh commented Oct 31, 2023

Docker and IPv6 is horrible, I know. That's why I use podman. It just works.
Normally when you listen to "::" instead of "0.0.0.0" it will lead to answering both v4 and v6 but I cannot test if it would lead to unbound using v6 as default for querying himself, which could lead to problems.
Maybe you can - when you happen to build a new container - swiftly check that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants