Here's how I get dnsmasq set up in my office :
sudo apt-get install dnsmasq
sudo echo "### resolves these domains locally / to local servers" >> /etc/dnsmasq.conf
sudo echo "address=/cloud.myoffice.com/192.168.0.88" >> /etc/dnsmasq.conf
sudo echo "address=/projects.myoffice.com/192.168.0.88" >> /etc/dnsmasq.conf
sudo echo "### no dhcp service please" >> /etc/dnsmasq.conf
sudo echo "no-dhcp-interface=wlan0" >> /etc/dnsmasq.conf
sudo /etc/init.d/dnsmasq restart
And that's it 🙂 now that machine functions as DNS server, DNS caching server, and resolves / point some domains into local server.
It's hard to get any easier than this 🙂
Dnsmasq – Wikipedia, the free encyclopedia
Dnsmasq is a lightweight server designed to provide DNS, DHCP and TFTP services to a small-scale network. It can serve the names of local machines which are not in the global DNS. The DHCP server inte…
Post imported by Google+Blog for WordPress.