[Dnsmasq-discuss] Setting up dnsmasq on an [x]ubuntu machine - what's the 'right' way to do it?

Chris Green cl at isbd.net
Sun May 11 11:55:59 UTC 2014


On Sat, May 10, 2014 at 09:56:20PM +0100, Simon Kelley wrote:
[snip]
> > Well I decided I could probably muddle through and I seem to have
> > managed it fairly OK, I have attached my summary of how to do it (as a
> > Dokuwiki text file, easy enough to read).  Would it be useful to add
> > this to the FAQ, it's an issue that comes up quite a lot in various
> > forums.
> 
> It would be good to put it somewhere. I'm not sure about the FAQ, which
> is fairly distrubution-agnostic. Let me think about that.

Yes, true, it's pretty Linux (or even ubuntu family) specific.  It's
dealing with the default 'dnsmasq run by Network Manager' that makes
it a bit tricky.

[snip]
> >> Can I get dnsmasq to hand out a secondary/backup DNS server to DHCP
> >> clients so that if/when my desktop machine is turned off for upgrades
> >> or reboots it doesn't totally disable the other machines on the LAN?
> >>
> > I still want an answer to this one please.
> 
> dhcp-option=option:dns-server,0.0.0.0,<ip of secondary DNS server>
> 
> That sends two addresses as DNS servers in DHCP replies: 0.0.0.0 is
> replaced with the address of the machine running dnsmasq, and the second
> is the secondary.
> 
Thank you, exactly what I need, I can run dnsmasq somewhere else on
the LAN or simply put my ISP's DNS in there.

-- 
Chris Green



More information about the Dnsmasq-discuss mailing list