DNS resolution and NAT network

Discussions about using Linux guests in VirtualBox.
Post Reply
VirtualQuelconque
Posts: 1
Joined: 26. Feb 2018, 13:07

DNS resolution and NAT network

Post by VirtualQuelconque »

Good morning everybody,

I created a virtual NAT network with 3 VM turning on ubuntu.

I have a VM with two virtual network cards to be a router which is connected to the WAN and LAN.

I have two other VM in the LAN.

When I ping public ip like the ip of google with any VM, it works.

But only the router can resolve dns.

I configured the dns server on the others VM as 8.8.8.8, and I restarted the network.

I can ping 8.8.8.8, and in the conf file all is alright but when i do "apt-get update", it doesn't works because i can't resolve any dns.

Sorry for my bad english, I'm french

Help me please :(

Thanks :)
Post Reply