VirtualBox

Ticket #10212 (new defect)

Opened 2 years ago

Last modified 2 years ago

Problem with DNS lookups (NAT)

Reported by: DragMZ Owned by:
Priority: major Component: network/NAT
Version: VirtualBox 4.1.8 Keywords: dns
Cc: Guest type: other
Host type: other

Description

NAT network adapter

Running the following shell script on a Debian VM causes DNS lookups to timeout after ~15s of execution

Script:

while [ 1 ]; do nslookup google.pl; done

The error is:

;; connection timed out; no servers could be reached

It doesn't occur with bridged adapter. It occurs on all network adapter types (i.e. Intel, PCnet, virtio-net) available in VirtualBox.

Tested on:

Windows 7 host - VirtualBox 4.1.6, 4.1.8

Debian host - VirtualBox 4.1.4

Attachments

Firewall (iptables)-2012-02-04-16-19-00.log Download (45.6 KB) - added by DragMZ 2 years ago.

Change History

Changed 2 years ago by DragMZ

comment:1 Changed 2 years ago by DragMZ

When the timeout occurs, the machine cannot resolve any domain for ~1 min.

comment:2 Changed 2 years ago by DragMZ

This seems to work around the problem:

VBoxManage modifyvm "VM name" --natdnsproxy1 on
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use