Tutorials‎ > ‎

Enabling DNS proxy in NAT mode


If you have set DNS Server with your real DNS Server IP address, you have nothing to do.

If you have entered "10.0.2.3" as DNS Server IP address, use the following command while VM is off:

VBoxManage modifyvm "VM name" --natdnsproxy1 on

Example for oralin11:

Launch Windows Command 

In Windows, Execute cmd.exe

Type all command below in this window except "C:\Users\fabien>".

Init PATH

C:\Users\fabien>

set PATH=%VBOX_INSTALL_PATH%;%PATH%

Stop oralin11

C:\Users\fabien>

VBoxManage controlvm oralin11 acpipowerbutton

Enable DNS proxy

C:\Users\fabien>

VBoxManage modifyvm oralin11 --natdnsproxy1 on