-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Nginx resolver and IPv6 in container (podman) #1444
Comments
An env variable that allows to disable it would be acceptable, while keeping the current behavior by default. |
That would be perfect. I did some more testing and found no other way to fix the issue. |
How about DISABLE_IPV6 ? |
Please don't. There is already I suggest renaming P.S.: I work around this issue by setting |
Ah I had forgotten about that one, thanks for pointing it out! Btw, If there is already a way to work around it, not sure we need a new one... |
I can't use that, as the container resolver IP address cannot be predicted and is copied over from the local |
Right. Then yeah we need an extra env variable. Maybe we can be exploit and call it NGINX_RESOLVER_DISABLE_IPV6 |
|
I finally found the root cause for nginx behaviour. This got fixed in aardvark-dns 1.2.0 as In my case, the needed conditions for the bug to appear are :
Hopefully Until then, I can live with patching |
Good analysis, thanks! |
Hello
I know podman is not supported, but we have been running jitsi in podman flawlessly for a long time.
The fix to nginx resolver was very much needed for podman to continue working (thank you!).
After upgrading to 8044, I was surprised to find jitsi-meet still could not resolve the prosody server name in nginx internal resolver.
I found a new error in Nginx logs :
unexpected A record in DNS response
and figured it was expecting another type of DNS record (AAAA?).The containers in podman now have full IPv6 support (even when not using it, the containers have a fe80:: Link-local IPv6 address) and it changes nginx behaviour while resolving DNS names.
We resolved this by adding
ipv6=off
to the resolver configuration indocker-jitsi-meet/web/rootfs/defaults/nginx.conf
Line 30 in c44c59e
This is the first time we had to alter the image building process to make docker-jitsi-meet work with podman.
Would you consider adding
ipv6=off
to your nginx.conf template file? I don't think it will break any docker configuration.Thank you
The text was updated successfully, but these errors were encountered: