[Dnsmasq-discuss] Local install recommendation?

Paul Chambers bod at bod.org
Sat Mar 10 00:47:09 GMT 2007


My config contains both my ISP's servers and those of OpenDNS. Works
like a charm.

I'd previously used ISC's bind & dhcpd (with a rather convoluted,
hard-to-maintain configuration) to do what dnsmasq does in a
straightforward manner. It seems faster doing it, too.

My machine's static, so I don't need to do this, but dnsmasq can use the
dns server info that your dhcp client (dhcpcd or pump?) writes into
resolv.conf in addition to servers like OpenDNS that you configure
separately in dnsmasq.conf.

It's best to reconfigure your dhcp client to leave /etc/resolv.conf
alone and write its version of resolv.conf elsewhere, then point dnsmasq
to use that. Otherwise local processes doing DNS lookup will use the ISP
DNS servers directly, bypassing dnsmasq and its cache.

Simon has done a really nice job with dnsmasq, you should be able to
make it do exactly what you want with a minimum of fuss.

Paul

> -----Original Message-----
> From: dnsmasq-discuss-bounces at lists.thekelleys.org.uk 
> [mailto:dnsmasq-discuss-bounces at lists.thekelleys.org.uk] On 
> Behalf Of Rune Kock
> Sent: Friday, March 09, 2007 12:42 PM
> To: Mr Gabriel
> Cc: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] Local install recommendation?
> 
> > I have a laptop that I use in many different sites, and 
> > it's annoying when someone doesn't have DNS setup properly.
> > I wish to set up my laptop as it's own DNS server. What
> > would be the best way to do this, and what do you guys
> > recommend?
> 
> Why don't you see if your ISP's DNS servers are accessible 
> from outside their own net.  Or you could use a service like 
> www.opendns.com (haven't tried them myself though).
> 
> If you want your laptop to be its own server, it would have 
> to query the root servers, which would be rather ineffecient 
> -- but if you decide to do it anyway, try DnsCache from the 
> DJBDNS-package.  Dnsmasq cannot query the root servers, so it 
> is only appropriate if you have an upstream server available.
> 
> 
> Rune
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list