Ubuntu 9.10 - DNS issues

Discussions about using Linux guests in VirtualBox.
Post Reply
jschoof
Posts: 3
Joined: 3. May 2010, 14:30
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu Linux

Ubuntu 9.10 - DNS issues

Post by jschoof »

I am running a guest install of Ubuntu 9.10 on a Windows XP Host. The guest boots fine and operates normally. The only problem I have is that, while web browsing in the guest, each link I click results in a very lengthy "Looking up www.whatever.com" in the browser status pane. It can take up to 20 seconds for the lookup to go through.

Virtualbox is running in NAT mode. Terminal-based nslookups also result in long delays before resolution. I checked /etc/resolv.conf and the only entry is a valid nameserver.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Ubuntu 9.10 - DNS issues

Post by Sasquatch »

What happens if you change the DNS server itself? Try an OpenDNS server for once. Does your Host have the same primary DNS server? Any fallback servers? I think the DNS server you have for the VM is just slow.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
jschoof
Posts: 3
Joined: 3. May 2010, 14:30
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu Linux

Re: Ubuntu 9.10 - DNS issues

Post by jschoof »

Thanks for the reply. The host has the sane DNs server and has no performance lag.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 9.10 - DNS issues

Post by Perryg »

See Chapter 9.8.5. Enabling DNS proxy in NAT mode & Chapter 9.8.6. Using the host's resolver as a DNS proxy in NAT mode in your VirtualBox Users Manual.
jschoof
Posts: 3
Joined: 3. May 2010, 14:30
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu Linux

Re: Ubuntu 9.10 - DNS issues

Post by jschoof »

I'll check those out thanks.
Post Reply