Many thanks to Tixy, who answered all my questions, I now compile it into a big blog,
Providing DHCP and DNS services with DNSMasq http://sfxpt.wordpress.com/2011/02/06/providing-dhcp-and-dns-services- with-dnsmasq/ Synopsis To use DNSmasq to provide DNS, DHCP, tftpd and ad blocking to my home network. Introduction The dnsmasq can be used as both dhchp and dns server. This is ideal for a home network. The benefits are, * I no longer need to fiddle with my router web interface to give fixed dhcp leases to my boxes — I just have to maintain a local dnsmasq conf file on the dnsmasq server. * It also provides tftpd service and ad blocking out of the box. Blog TOC: Synopsis Introduction Configure DNSmasq Setup dnsmasq local configuration Configure /etc/resolv.conf Configure Static DHCP IP Addresses Restart DNSmasq Optional Test Log Configure the dnsmasq server using the static IP Ad Blocking Enable adblocking configuration Get Ad Block List Create an ad block server Discussions Let ether card get the setting automatically? why my static IP configuration doesn’t work Why a separated ad block server? On Sun, 06 Feb 2011 10:01:33 +0000, Tixy wrote: > Oh, and resolve.conf can drop common unwanted domains into a black hole, > e.g. > > address=/doubleclick.net/googlesyndication.com/127.0.0.1 Thanks, and better yet, you don't need to maintain the black hole listing yourself, see above. Thanks again, Tixy. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/iipbhg$4ss$1...@dough.gmane.org