I've installed Ubuntu server 16.04 in a VirtualBox. If I try to install software with apt-get it works fine, but curl test.de or wget get.typo3.org/8.4.0 shows me that the host could not be resolved. The Adapter at the VirtualBox is NAT.
cURL and wget cannot resolve hosts, but apt-get works
ubuntu;networking;virtualbox;wget;curl