DNS not working after resuming saved guest system

Discussions about using Linux guests in VirtualBox.
Post Reply
jack087
Posts: 5
Joined: 19. Mar 2023, 16:39
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Linux Lite (Ubuntu 22.04)

DNS not working after resuming saved guest system

Post by jack087 »

Hi, I'm using a Linux Ubuntu VM on a Windows 10 host system.
I use to close the Virtualbox window from the File menu and then select "save machine state".
But then, when I resume the guest system the network is unreachable, as DNS does not work anymore. The only way to restore DNS and connectivity is by clicking the network icon on the Virtualbox bottom status bar, disconnecting the network virtual adapter and then reconnecting it back.
How can I make the DNS persist, without manually resetting the network adapter each time I close the Linux guest?
Post Reply