1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="nat-adv-dns">
|
---|
4 | <title>Enabling DNS Proxy in NAT Mode</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>
|
---|
8 | The NAT engine by default offers the same DNS servers to the
|
---|
9 | guest that are configured on the host. In some scenarios, it can
|
---|
10 | be desirable to hide the DNS server IPs from the guest, for
|
---|
11 | example when this information can change on the host due to
|
---|
12 | expiring DHCP leases. In this case, you can tell the NAT engine
|
---|
13 | to act as DNS proxy using the following command:
|
---|
14 | </p>
|
---|
15 | <pre xml:space="preserve">$ VBoxManage modifyvm <varname>VM-name</varname> --natdnsproxy1 on</pre>
|
---|
16 | </body>
|
---|
17 |
|
---|
18 | </topic>
|
---|