Opened 6 years ago
Closed 6 years ago
#18758 closed defect (invalid)
Guest DNS not configured using Host DNS configurations
Reported by: | heyhujiao | Owned by: | |
---|---|---|---|
Component: | network/NAT | Version: | VirtualBox 6.0.8 |
Keywords: | DNS | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
The DNS nameserver is not configured correctly as the /etc/resolv.conf file only contains VirtualBox's own DNS nameserver which is 10.0.2.3.
Using NAT, the host's DNS configurations should also be resolved and appended to the /etc/resolv.conf file in the guest.
Change History (2)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Your host is probably configured to use 127.0.1.1
or 127.0.0.53
or whatever is the current fashion for the listening address of dnsmasq. When guest uses 10.0.2.3
as its nameserver, the requests are actually forwarded to the host's resolver (at the artisanal loopback address).
/etc/resolv.conf
".