Opened 13 years ago
Last modified 13 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)
Change History (3)
by , 13 years ago
Attachment: | Firewall (iptables)-2012-02-04-16-19-00.log added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
This seems to work around the problem:
VBoxManage modifyvm "VM name" --natdnsproxy1 on
Note:
See TracTickets
for help on using tickets.
When the timeout occurs, the machine cannot resolve any domain for ~1 min.