VirtualBox

Opened 12 years ago

Last modified 12 years ago

#10212 new defect

Problem with DNS lookups (NAT)

Reported by: DragMZ Owned by:
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 (1)

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

Download all attachments as: .zip

Change History (3)

comment:1 by DragMZ, 12 years ago

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

comment:2 by DragMZ, 12 years ago

This seems to work around the problem:

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

© 2023 Oracle
ContactPrivacy policyTerms of Use