Skip to content
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 highly unreliable inside guest VM #467

Open
tomjn opened this issue Mar 3, 2024 · 4 comments
Open

DNS highly unreliable inside guest VM #467

tomjn opened this issue Mar 3, 2024 · 4 comments

Comments

@tomjn
Copy link

tomjn commented Mar 3, 2024

Hello! I'm the maintainer of VVV, and I have issues provisioning using Parallels + arm boxes, specifically DNS issues.

Note that these issues only occur when using the Parallels provider, the same provisioning, as well as the same boxes built for VirtualBox, and the same provisioners running in Docker all work without this issue.

These issues go away if I SSH in and configure the guest VM to ignore Parallels DNS and use Googles DNS instead. I can find no documentation on configuring DNS to avoid or solve this problem, nor have I found a way to automate replacing the DNS in the guest VM. Both boxes I've used are Ubuntu 20 Arm64 boxes, the latest being the Chef Bento box.

I've also had these issues for several years, across many versions of Parallels, and have raised support issues with the main Parallels team and sent technical information, but no progress or meaningful response has been made beyond the initial boilerplate requests.

My own tests indicate that the DNS server configured cannot reliably be pinged or connected to from within the VM

@cjlapao
Copy link
Contributor

cjlapao commented Mar 14, 2024

@tomjn We need a bit more information on this.

First, what do you mean Parallels DNS? We do not have a DNS per say and we rely on the bridge network to provide one.

I am assuming you change the DNS servers to 8.8.8.8 when you say you are using the Google DNS server

Could you please send us:

  • What the output of ipconfig command in your host mac
  • What the output of ipconfig command in your vms with issues
  • Do you have a VPN/Router

This would help us understand the issue and see where we can fix it

@tomjn
Copy link
Author

tomjn commented Mar 14, 2024

First, what do you mean Parallels DNS? We do not have a DNS per say and we rely on the bridge network to provide one.

That would be the DNS I was referring to, unless I manually configure custom DNS inside the VM it breaks. Updating Parallels tools usually breaks existing VMs, some VMs are broken immediatley. Provisioners run until they make their first network access attempt then fail with connection issues due to DNS resolution. Sometimes this happens a little further into the scripts resolving DNS queries for sites it's already made connections to further back in the scripts.

Do you have a VPN/Router

Inactive and not always running, I've never attempted to provision with it active though. The browser has no issues finding the parallels VM or its host names, the issue is entirely inside the VM connecting to external 3rd party hosts, e.g. pinging google.com inside the VM, running curl commands, etc.

The issue is also intermittent and inconsistent.

I'll run the ipconfig commands shortly and update here, but I suspect you meant ifconfig as ipconfig on its own requires a subcommand on MacOS

@tomjn
Copy link
Author

tomjn commented Mar 14, 2024

Also possibly useful, digging through ifconfig in the past I found the IP the VM thinks is the DNS server from the bridge, and found it unresponsive to pings/connections

@cjlapao
Copy link
Contributor

cjlapao commented Mar 14, 2024

Yes, I meant ifconfig in mac and in linux vms, the ipconfig for windows.

Ok, could you also let me know what is the version of Parallels Desktop you are running? we had a few issues with some VPNs when resolving bridges and that was sorted on the latest 19.3, while you do not have one, we did apply some fixes to the way ip's where assigned. So would be nice to know the version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants