I have configured the Ubuntu server (guest) with NAT adapter and configured it in /etc/network/interfaces like below:
auto enp0s3
iface enp0s3 inet dhcp
But doesn't connect to internet:
ping www.google.com
ping: unknown host www.google.com
The host machine is a Windows7 with the firewall disabled. How can I solve this problem?