VirtualBox Ubuntu Server with DNS

Posted by Boris Karl Schlein on Ask Ubuntu See other posts from Ask Ubuntu or by Boris Karl Schlein
Published on 2012-02-23T15:26:58Z Indexed on 2012/04/06 11:41 UTC
Read the original article Hit count: 613

Filed under:
|
|
|

I just want to have a local server inside my VirtualBox that offers dns functionality like www.example.local => 127.0.0.1 .

Host: Ubuntu 11.10, Guest: Ubuntu 10.10

On my server I can already ping www.example.local - so I configured my virtual host correctly.

Question is, how can I address www.example.local from outside my VirtualBox? I searched Google and askubuntu and found dnsmasq. I installed dnsmasq on my server and followed all steps on help.ubuntu. On my host system I've set 192.168.178.91 to the list of dns servers (192.168.178.91 is the IP address of my local server which uses a bridged network adapter).

Thing is, I still cannot ping (or connect to) my example.local virtual host. It gives me an unknown host response.

How can I set up my DNS server correctly?

© Ask Ubuntu or respective owner

Related posts about server

Related posts about virtualbox