DNS with Internal Network
I have setup an internal network between two VM. Ubuntu 9.04 and 10.10 are installed on the virtual machines. What i am doing is that one of the virtualmachines, the one with ubuntu 10.10, is being used as a router. I need all the traffic to be routed from that vm, coz it have internet connection and i want to test bandwidth sharing. i want to generate traffic from the Ubuntu 9.04. Now my problem is that i can't access the internet. the problem is with dns! because i can ping other ip addresses outside of the internal network, also i can ping google/yahoo ip addresses, but can't use the dns service. The ip addresses for the internel network is setup manually.
Can anyone help me get the dns service working ? :D
For your router box you can add in /etc/resolv.conf
Now if you want the internal box to use your router as a resolver, you have to setup the router box as a caching/forwarding dns. For this you need to install a name server such as dnsmasq or bind
Use your distro's package manager to install one of them (dnsmasq is more lightweight) and read a howto about configuring a caching name server using the installed package
|All times are GMT -5. The time now is 10:05 PM.|