-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
DNS not working anymore #1208
Comments
I have a same issue, today. |
A possible workaround is to assign a reachable address to the virtual machine:
|
The same problem is on the ARM64 (M1). $ colima version
colima version 0.8.0
git commit: 9c08cff339f087c0600d9d56af7b5fbcfe02e287
runtime: docker
arch: aarch64
client: v27.2.1-rd
server: v24.0.9
$ colima status
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
INFO[0000] socket: unix:///Users/user/.config/colima/default/docker.sock |
I ran into that issue as well after updateing to colima 0.8.0 and lima 1.0.2. After some digging we found out that the issue seems to be caused by a DNS proxy as network filter installed by our vpn software. Once that filter is disabled or the vpn client uninstalled DNS started to work again. Everything works if using lima 0.23.2 with colima 0.8.0. The actual change is discussed in the linked issue above. |
Here you can find a simple test to run on your mac: https://github.com/uwej711/test-go-dns |
And another thing: in my case DNS still works when using TCP instead of UDP, so you can also try to block UDP in ypur virtual machine with iptables: sudo iptables -A OUTPUT -p udp -d 192.168.5.2 -j REJECT --reject-with icmp-proto-unreachable |
I do not use any network filters. The only interesting thing about my dns is that I have dnsmasq installed on my laptop and have macOS use that, rather than the dhcp supplied server. |
Having the same issue. Basically after I get off VPN or on VPN the colima is broken.
limactl version 1.0.2 |
Description
Trying to pull any new images results in a dns error, despite system dns working fine.
Version
colima version 0.8.0
git commit: 9c08cff
runtime: docker
arch: x86_64
client: v27.3.1
server: v26.1.1
limactl version 1.0.2
qemu-img: not installed
Operating System
Output of
colima status
$ colima status
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
INFO[0000] socket: unix:///Users/camdennarzt/.colima/default/docker.sock
Reproduction Steps
docker image ls
determine an image that you do not have pulled locallydocker pull ubuntu:24.04
Expected behaviour
DNS should work
Additional context
it seems that there's some issue with lima that might be related: lima-vm/lima#2939
The text was updated successfully, but these errors were encountered: