I just want to have a local server inside my VirtualBox that offers DNS functionality like
127.0.0.1. My host operating system is Ubuntu 11.10 and guest is 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?