On Tue, May 5, 2009 at 09:02, Frank Mehnert <[email protected]> wrote:
> On Tuesday 05 May 2009, Brian J. Murrell wrote:
>> On Tue, 2009-05-05 at 08:25 -0300, Antonio Augusto (Mancha) wrote:
>> > Hi Brian,
>> >
>> > Just tested it on a 2.2.2 install on a Ubuntu host, with Windows XP as
>> > a Guest configure to use NAT.
>> > VBox _DOES_ pass the dns server of the host to the client. If
>> > /etc/resolv.conf on the host is empty the guest ends up with _NO_ DNS
>> > server.
>>
>> That must be new behaviour on 2.2.2 then.
>
> Hmm, but which DNS server should be passed if /etc/resolv.conf
> of the host is empty? Wasn't that the case in earlier releases
> as well?

Hey Frank,

Dunno if the question was to me or to Brian, but anyway... :)
I really don't know which was the case in the past, maybe Brian can
answer that one, since he is running 2.1.4.

But your question of "which DNS server should be passed if
/etc/resolv.conf" got me thinking...
For example, If I start a VM while the host has no networking
(/etc/resolv.conf is empty) and latter I connect the host to a
network, on the VM side I need to, at least, re-request a DHCP lease
to get the new DNS server.

But, if the guest received 10.0.0.2 (the NAT server) as the DNS server
this would not be the case, since the NAT module could (ideally)
detect if there is a DNS server on the host and forward the query to
it if it was the case. If the host had no DNS servers configured the
NAT modules could simply answer the query saying that it couldn't
resolve the given name.

Maybe this was the behavior in 2.1 series?

Cheers.

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to