[Dnsmasq-discuss] Using dnsmasq.conf with external dns server

jack seth bird_112 at hotmail.com
Mon May 6 03:20:35 BST 2013

> Date: Sun, 5 May 2013 19:51:21 -0600
> From: jima at beer.tclug.org
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] Using dnsmasq.conf with external dns server
> On 2013-05-05 09:31, jack seth wrote:
> > I am using a custom ad blocking script on my router that appears to just
> > add a bunch of servers to /etc/dnsmasq.conf and dnsmasq.custom.   I have
> > one machine that I am pointing to a opendns server instead of using the
> > router as the dns server with this command
> > 'dhcp-option=laptop,6,'.  Currently this computer doesn't
> > use the servers in dnsmasq.conf.  Is there a way I can set this up to
> > have this computer use the items in dnsmasq.conf and dnsmasq.custom and
> > if the server is not found in those then goto  BTW,
> > dnsmasq is running on the router itself.
>   In your dnsmasq.conf:
> resolv-file=/etc/resolv.conf.upstream
>   In resolv.conf.upstream:
> nameserver
>   Done, unless I'm missing something.  You could skip --resolv-file and 
> use /etc/resolv.conf if a) the router doesn't have a DHCP client that 
> would overwrite resolv.conf and b) you don't care if the router uses 
> itself for DNS.
>       Jima
I could be wrong but this looks like it will make everyone use for a dns server.  I only want that one machine to use that dns server.  In addition, I only want it to use that dns server after it has checked dnsmasq.custom.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20130506/ec0aef32/attachment.html>

More information about the Dnsmasq-discuss mailing list