Opened 10 years ago
Last modified 10 years ago
#14061 new enhancement
VBoxManage CLI Support for configuring DNS server settings of the VirtualBox Host-Only Network adapters
Reported by: | PhilG | Owned by: | |
---|---|---|---|
Component: | network | Version: | VirtualBox 4.3.26 |
Keywords: | dns configuration VBoxManage CLI | Cc: | |
Guest type: | Linux | Host type: | all |
Description
Currently, when I create a VirtualBox Host-Only Network adapter, the DNS settings are essentially empty. (See VirtualBox Host-Only Network #3
below). For Windows hosts, one would have to manually follow the steps described here in order to configure this adapter to point to a DNS server (See VirtualBox Host-Only Network #2
).
Functionality should be added to the network provisioning portion of the VBoxManage CLI which facilitates creating a network adapter with a DNS server. Without this functionality, the automatic provisioning of nameservers inside VirtualBox guest machines is not possible.
Ethernet adapter VirtualBox Host-Only Network #2: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter #2 Physical Address. . . . . . . . . : 08-00-27-00-98-93 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv4 Address. . . . . . . . . . . : 192.168.99.1(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : DNS Servers . . . . . . . . . . . : 192.168.99.103 NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VirtualBox Host-Only Network #3: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter #3 Physical Address. . . . . . . . . : 08-00-27-00-68-27 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv4 Address. . . . . . . . . . . : 192.168.86.1(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : NetBIOS over Tcpip. . . . . . . . : Enabled
EDIT: There is nothing in the CLI documentation which indicates this is a planned feature.