Page 1 of 1

Lost DNS resolution

Posted: 30. Jun 2009, 16:30
by eric190
Hello,

I'm on Windows Xp Pro virtualized with Virtual Box on OSX leopard (mac book).

Sometimes, i lost DNS resolution under XP PRO. The network interface have no problem, i tried some command line tools instructions with ipconfig (/release, /flushdns) with no result

The problem seems to appear when I turn off my mac book.

If I restart the network works well.

Thanks for your help

Eric.

Re: Lost DNS resolution

Posted: 30. Jun 2009, 17:37
by eric190
VB network configuration :
?

Code: Select all

Network Card 1: PCnet-PCI II (NAT)

Re: Lost DNS resolution

Posted: 30. Jun 2009, 19:31
by Sasquatch
If your Host DNS server changes, VB will try to use the wrong DNS server. Reboot the Guest after you reboot your Mac, or restart the Guest networking (repair the interface). That should do the trick.

Re: Lost DNS resolution

Posted: 1. Jul 2009, 00:29
by eric190
That's a good idea...

I found a solution in VB doc :
Windows hosts
If you configure a VM to use NAT networking (the default), the DNS relay in VirtualBox forwards all DNS queries to the first configured DNS server. Unfortunately on Windows the first configured DNS server is frequently not working (e.g. because it corresponds to a currently not connected interface). To work around this problem, configure a working DNS server in the network configuration inside the guest OS.
I solved the problem in configuring manualy the DNS servers in the TCP/IP settings section (in XP). It's probably not the best way but it works for the moment.

Thanks for the answer.