-
Notifications
You must be signed in to change notification settings - Fork 54
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
macOS: Custom DNS resolvers in /etc/resolver
not working in podman 5.3.1
#464
Comments
How did you install podman? There are no networking related changes in 5.3.1 compared to 5.3.0 AFAICT |
Using Homebrew. Switching back and forth between 5.3.0 and 5.3.1 multiple times, the presence/absence of the problem was consistent. |
Please try our installers https://github.com/containers/podman/releases/tag/v5.3.1 instead. If it works there and not with brew you should report the issue there. |
Currently inspecting same issue with resolving dns on 5.3.1 |
also brew install or otherwise? |
Indeed, I cannot reproduce the issue using the official installer. Weird… |
It looks like the brew package updated gvproxy to v0.8.0 Our official installer is still on 0.7.5: https://github.com/containers/podman/blob/e72599b260f75e4569237ff3ccdd8338760eee42/contrib/pkginstaller/Makefile#L9 https://github.com/containers/gvisor-tap-vsock/releases/tag/v0.8.1 mentions a few dns related fixes so maybe try with that otherwise we should report this there. |
Update: The originally described issue persists for me for Podman 5.3.2 when installing from homebew (which ships gvproxy 0.8.2). The official installer for Podman 5.3.2 still seems to include gvproxy 0.7.5: However, I assume that a bump to the 0.8.x line (and thus the problem also affecting the official installer) will only be a matter of time. |
Yes this sounds like a gvproxy problem so I move the issue there cc @cfergeau |
Issue Description
In my environment, I have to use an private DNS server for private domains in addition to the default public/internet DNS. I set this up on macOS by defining a custom resolver for the relevant domains in
/etc/resolver
. After updating podman to version 5.3.1 on the macOS host, private domains can no longer be resolved from within containers (or the Podman machine, for that matter). Downgrading to 5.3.0 on the host fixes the issue, no matter what podman version is running within the machine.Steps to reproduce the issue
Steps to reproduce the issue
/etc/resolver
pointing to a DNS server which is able to resolve domains your system's default DNS server cannot resolve.Describe the results you received
Domain cannot be resolved.
Describe the results you expected
Domain can be resolved, as was the case with podman <= 5.3.0.
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: