File: nat-adv-dns.dita

package info (click to toggle)
virtualbox 7.1.12-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 565,672 kB
  • sloc: ansic: 2,330,854; cpp: 2,193,228; asm: 230,777; python: 223,895; xml: 86,771; sh: 25,541; makefile: 8,158; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,782; javascript: 1,692; objc: 1,131; lex: 931; php: 906; sed: 899; yacc: 707
file content (14 lines) | stat: -rw-r--r-- 724 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="nat-adv-dns">
  <title>Enabling DNS Proxy in NAT Mode</title>
  
  <body>
    <p>The NAT engine by default offers the same DNS servers to the guest that are configured on the host. In some
      scenarios, it can be appropriate to hide the DNS server IPs from the guest, for example when this information can
      change on the host due to expiring DHCP leases. In this case, you can tell the NAT engine to act as DNS proxy
      using the following command: </p>
    <pre xml:space="preserve">$ VBoxManage modifyvm <varname>VM-name</varname> --natdnsproxy1 on</pre>
  </body>
  
</topic>