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?