dnsmasq :: I was wondering why a lot of distros are using dnsmasq as their DNS software….

dnsmasq :: I was wondering why a lot of distros are using dnsmasq as their DNS software. Now I know – it's ridiculously easy to set up; especially when compared with BIND 🙂 and it just works.

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 🙂

http://en.wikipedia.org/wiki/Dnsmasq

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.

5 thoughts on “dnsmasq :: I was wondering why a lot of distros are using dnsmasq as their DNS software….

Leave a Reply

Your email address will not be published. Required fields are marked *