VirtualBox

Changes between Initial Version and Version 1 of Ticket #13915


Ignore:
Timestamp:
Mar 3, 2015 5:31:23 PM (9 years ago)
Author:
Valery Ushakov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13915 – Description

    initial v1  
    11Host: Windows 8.1, VB 4.3.24
    22
    3 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
     3Guests: 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`
    44
    55The 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.
    66
    7 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):
    8 
     7With 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):
     8{{{
    99"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyvm "Lubuntu" --natdnshostresolver1 on
    10 
     10}}}
    1111but it does not help.
    1212
    13 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).
     13The 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).

© 2023 Oracle
ContactPrivacy policyTerms of Use