VirtualBox

Opened 11 years ago

Last modified 7 years ago

#12600 new enhancement

Allow dns proxy in the new NAT Network mode

Reported by: djf_jeff Owned by:
Component: network/NAT Version: VirtualBox 4.3.6
Keywords: dns proxy nat network Cc:
Guest type: all Host type: all

Description

I would like to be able to activate DNS proxy in the new NAT Network mode as it is possible in NAT mode (with the command VBoxManage modifyvm "VM name" --natdnsproxy1 on).

As it is, if I set my VM with the new NAT Network mode and run the command (VBoxManage modifyvm "VM name" --natdnsproxy1 on), this change nothing and continue to give the host DNS server to the guess.

Allowing this setting would be awesome as it would completely shield the VM from host change while allowing VM to talk to each other.

Change History (3)

comment:1 by Valery Ushakov, 10 years ago

NAT Network has DNS proxy that is always listening on the gateway's address (10.0.2.1).

Unfortunately DHCP server hasn't yet been taught necessary options. Note also that "modifyvm" is not strictly speaking applicable here, since, unlike with plain NAT, DHCP server is a separate entity that serves not just this single VM.

comment:2 by Alon Bar-Lev, 8 years ago

Hello, Just tried this as well and found out it is impossible. I added the option to DHCP configuration:

<Option name="6" value="192.168.151.1"/>

And it is ignored. Any chance to move this forward? Thanks!

comment:3 by wheelerlaw, 7 years ago

I just looked into this, and I achieved the same result by just manually setting the DNS server in my guests to the same IP as the default gateway (10.0.3.1 in my case). It looks like the VirtualBox DHCP server is doling out the DNS IPs on the host by default, but it seems that Nat Network is capable of DNS proxying (so that guest DNS resolution works when the host is connected to a VPN).

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette