Opened 11 years ago
Closed 8 years ago
#12140 closed defect (obsolete)
Change default behavior when host's name server is 127.0.0.0/8
Reported by: | Bartzy | Owned by: | |
---|---|---|---|
Component: | network/NAT | Version: | VirtualBox 4.2.18 |
Keywords: | nat, dns, host resolver, dns proxy | Cc: | |
Guest type: | all | Host type: | Linux |
Description
Hi,
The current behavior when the host's name server in resolv.conf is in the 127.0.0.0/8 (Ubuntu special case with dnsmasq), is to enable the host resolver, which breaks any DNS query other than A (PTR, MX, etc).
See: https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Network/slirp/slirp_dns.c#L283
A better solution would be to enable DNS proxy, which will proxy all DNS queries to the host's name server.
Is there any reason not to use the DNS proxy instead of the Host resolver in this case?
Thank you, Bar.
Please reopen if still relevant with a recent VirtualBox release.