VirtualBox

Opened 9 years ago

Last modified 9 years ago

#13915 closed defect

Windows 8.1 host, VB 4.3.24 DNS for NAT Network stopped working — at Version 1

Reported by: tkvb Owned by:
Component: network/NAT Version: VirtualBox 4.3.24
Keywords: NAT DNS Cc:
Guest type: Linux Host type: Windows

Description (last modified by Valery Ushakov)

Host: Windows 8.1, VB 4.3.24

Guests: 2 Lubuntu 14.04.2, configured with NAT Network 10.0.5.0/24, static IPs, DNS 10.0.5.1, gateway 10.0.5.1

The reason I want static IPs is so that the VMs can talk to each other and to have stable names for them in /etc/hosts. Also, this is running on a laptop that moves between networks so I cannot do bridge as in some cases I can't get more than 1 IP.

With 4.3.22, I could set 10.0.5.1 as the DNS server in the guests (/etc/resolv.conf) and it would work fine, DNS requests would be proxied via the host resolver (I had set --natdnshostresolver1 on each VM). This stopped working in 4.3.24, 10.0.5.1 no longer responds to DNS requests, it just times out. I tried setting (again):

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyvm "Lubuntu" --natdnshostresolver1 on

but it does not help.

The only solution so far is to use a different DNS server (e.g. 8.8.8.8) in the guests, but that's less than ideal because some networks don't allow access to public DNS servers, internal servers must be used instead. The idea was to have VB proxy DNS requests all the time via the host resolver so I never have to worry about DNS settings in the guests (the host always gets them correctly via DHCP).

Change History (1)

comment:1 by Valery Ushakov, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use