2
Virtualbox provides two configuration flags to modify the DNS behavior of the NAT engine for a virtual machine:
VBoxManage modifyvm "VM name" --natdnsproxy1 on
VBoxManage modifyvm "VM name" --natdnshostresolver1 on
However, I don't know how to obtain the state of those flags given an existing VM (e.g. a virtual machine called "VM name"
like in the example above). Is there a way to do it?
1Honestly, I don't think there is a way, via the command line, the read the current state of those settings (you could use the COM API or parse the XML file where the settings are stored). Why do you need to get the setting? – heavyd – 2016-01-25T23:23:38.587
To identify what VMs are affected by this bug https://www.virtualbox.org/ticket/15074 . Looking into the settings file would be perfectly fine, hadn't thought about that, thanks! Want to add an answer? I could do it myself but the idea came from you.
– fons – 2016-01-26T09:42:54.780