4

Virtualbox provides two configuration flags to modify the DNS behavior of the NAT engine for a virtual machine:

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?

fons
  • 676

1 Answers1

1

If I am correct, as heavyd suggested, you can check current settings this way:

  1. open your VM's folder
  2. look for the file with .vbox extension, open it with any text editor
  3. look for the strings use-proxy="true" and use-host-resolver="true" to check current status of natdnsproxy1 and natdnshostresolver1 parameters. If one of these parameters (or both) is not present in the file, this means the parameter is set to off state.
Kyo
  • 161