VirtualBox 7.2.6a - Curl error (6): Couldn't resolve host name

Discussions related to using VirtualBox on Windows hosts.
Post Reply
abcuser
Volunteer
Posts: 604
Joined: 10. May 2007, 20:03
Primary OS: Other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux

VirtualBox 7.2.6a - Curl error (6): Couldn't resolve host name

Post by abcuser »

I have been using VirtualBox 7.1.16 without any issue on Windows 11 host.

I see new software was released and there is third minor update inside it, it should be stable I guess... so I have downloaded and installed VirtualBox 7.2.6a on Windows 11 host and have been using it for like a week or so, not noticing any issue. My virtual machines are mostly Linux one and are inside VirtualBox "NAT network" and I rarely need internet access from inside virtual machines.

Today I have executed update from my Rocky Linux 9 virtual machine:

Code: Select all

sudo dnf update
and got error: "Curl error (6): Couldn't resolve host name \<hostname here>"

Then I have tried: curl "and full URL address" and got the same error.

On Windows host I have tried to access URL and everything is working fine.

It looks like DNS issue inside VirtualBox. I have shutdown all my virtual machines and reinstalled VirtualBox 7.2.6a for Windows host and the same issue.

Now I have downloaded back VirtualBox 7.1.6 for Windows host, started virtual machine and internet access works just fine.

Does anyone else having issue accessing internet from inside virtual machine with VirtualBox 7.2.6a on Windows host.
P.S. Sorry I don't have logs anymore, I have cleaned them before reinstall of VirtualBox 7.1.16.
thijsee
Posts: 24
Joined: 3. Jun 2019, 15:15

Re: VirtualBox 7.2.6a - Curl error (6): Couldn't resolve host name

Post by thijsee »

I attach 'NAT' to the network adapter to get access to internet, if needed. This works fine for VBox V7.2.6a on Windows 11 host (Windows VMs).
Other question: did you update the Guest Additions to V7.2.6a inside the VMs?
abcuser
Volunteer
Posts: 604
Joined: 10. May 2007, 20:03
Primary OS: Other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux

Re: VirtualBox 7.2.6a - Curl error (6): Couldn't resolve host name

Post by abcuser »

I have also tried to change from "NAT Network" to "NAT", but the same error was displayed "Couldn't resolve host name" that indicates like DNS issue.

I never install Guest Additions in virtual machine. Don't need any of the functionality it provides.
Post Reply