I have a Mac that I do web development on. I have my projects set up to be accessible at addresses like project1.dev, project2.dev, etc. I got tired of updating my "/etc/hosts" file, though, so I installed Dnsmasq. It works great! Now I can run ping doesnotexist.dev
and get replies from 127.0.0.1, which is exactly what I want.
The Mac also has a Windows XP VirtualBox virtual machine installed on it. I'd like for that virtual machine to also be able to ping doesnotexist.dev and get replies, but I want the replies to come from the Mac's LAN IP instead of 127.0.0.1. As I understand it, this is possible with Dual DHCP DNS Server. I installed it on the virtual machine and edited the "DualServer.ini" file. I simply uncommented the "DNS" line of the "[SERVICES]" section and added *.dev=192.168.1.50
to the "[SERVICES]" section. That didn't work, though. I saw this thread and decided to install the Microsoft Loopback Adapter, but I didn't know how to go about configuring it. So now I'm stuck.
How do I set up Dual DHCP DNS Server so that pinging doesnotexist.dev gets replies from the Mac's LAN IP?