rancher-desktop icon indicating copy to clipboard operation
rancher-desktop copied to clipboard

Slow DNS resolution

Open Symbianx opened this issue 9 months ago • 7 comments

Actual Behavior

DNS queries take 1 second to resolve inside the Rancher Desktop VM.

This shows in very slow docker pulls.

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.

Server:		192.168.5.3
Address:	192.168.5.3:53

Non-authoritative answer:
Name:	google.com
Address: 142.251.39.110

Non-authoritative answer:

real	0m 1.00s
user	0m 0.00s
sys	0m 0.00s

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

Symbianx avatar Nov 08 '23 13:11 Symbianx