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 🙂
Embedded Link
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.
BIND is a nightmare… based on real life experience
bind u/ layer yang berbeda
hehehe, gak mudeng tapi mubeng
Thanks for sharing. I read many of your blog posts, cool, your blog is very good. https://accounts.binance.com/sk/register?ref=WTOZ531Y
Your article helped me a lot, is there any more related content? Thanks! https://www.binance.info/vi/join?ref=V2H9AFPY