-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
colima fails to resolve some domains (max entries 16?) #341
Comments
This may be a bug in the host resolver: it always truncates responses to fit into a 512 bytes UDP packet, even if the request if redone over TCP. We found this in Rancher Desktop for Windows testing, and will upstream the required changes to Lima soon. As a workaround you may want to disable the host resolver until the fix has been released (as long as you don't need to resolve names over VPN). |
This sounds like what might be happening. How do I disable the host resolver? |
Looks like I've got a workaround for now (less than ideal, but works for my particular needs for devtest): added an explicit nameserver to use in docker-compose.yml file:
|
I also experienced this issue when attempting to run Solve was to change the following line(s) in from:
to:
credit: @rfay |
We just ran into this ourselves. There was an older similar issue fixed in lima-vm in 2021. Perhaps there's been a regression at some point? Or, Google's DNS records are changing size over time. I ended up putting this in |
Describe the Issue
Some domains return a
Parse error
on nslookup on the colima ssh server, this in turn ends up creating an NX domain on the guest.This impacts guest machines as well, using dig on a guest machine works, but not the native resolver or nslookup.
Colima Version:
What is the output of
colima version
Lima Version:
What is the output of
limactl --version
Qemu Version
What is the output of
qemu-img --version
Operating System
To Reproduce
Steps to reproduce the behavior:
pubsub.googleapis.com
. Do a control check withnslookup slashdot.org
docker-compose.yml
Expected behavior
The hostname should resolve.
Additional context
It looks like it impacts hosts that have 16 response entries in them.
The text was updated successfully, but these errors were encountered: