-
Notifications
You must be signed in to change notification settings - Fork 285
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
Slow DNS resolution #5944
Comments
Faced exactly the same issue... plus 1 second for DNS resolution from inside container.
|
Tentatively adding this to the 1.13 milestone, with the expectation that this will be improved by switching to the gVisor based user-v2 networking stack. Might close as a duplicate of #4258. |
I don't know what changed but the DNS responses are instant now. Still running rancher desktop 1.11.0 but I did uninstall and reinstall a couple of times. Maybe some upstream dependency changed and fixed the issue? |
I confirm this is still an issue on Rancher Desktop 1.13.1. This should be address as it makes the overall user experience very bad. M1 Max with RD vs. M1 8GB with Podman. Podman was already up and running by the time I finished pulling the first layer of mongo. |
Hi there @jandubois. It seems this topic might be moving towards a stale status, although the issue is very much alive. Currently needing minutes every time I pull an image on Rancher 1.14.1 on macOS 14.5. Is there any resolution plan in place? Thanks! |
There is no "resolution plan" as the root cause is still unknown. We did not have time to prioritize this yet, as we had a lot of work to do on Windows to make the new networking stack the default (and it will be the only option starting in 1.15.0). Since this is about to wrap up, we'll hopefully get around to looking into macOS networking again, but I still can't promise any timeline; there are a lot of competing demands on our time... |
Hi there @jandubois. I've seen you labelled this as triage. Were you able to find the root cause of this issue. Still having the same behavior after updating to v1.16 - although not critical, it is very annoying in everyday usage. Thanks! |
Actual Behavior
DNS queries take 1 second to resolve inside the Rancher Desktop VM.
This shows in very slow
docker pull
s.Enabling/Disabling VZ/Rosetta does not change the behaviour.
Steps to Reproduce
Run a DNS query. E.g.:
rdctl shell time nslookup google.com
Result
Initial answer is instant, but for some reason it waits for another answer and stops after 1 second.
Expected Behavior
A single, instant answer should be returned by nslookup.
Additional Information
Running the same nslookup command on the host machine results in an instant result.
I don't know how useful this info is but running the nslookup on a VM created by colima does result in an instant result.
Rancher Desktop Version
1.11.0
Rancher Desktop K8s Version
Not enabled
Which container engine are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
macOS 14.1
What CPU architecture are you using?
arm64 (Apple Silicon)
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
No response
The text was updated successfully, but these errors were encountered: