<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Sun, 5 May 2013 19:51:21 -0600<br>> From: jima@beer.tclug.org<br>> To: dnsmasq-discuss@lists.thekelleys.org.uk<br>> Subject: Re: [Dnsmasq-discuss] Using dnsmasq.conf with external dns server<br>> <br>> On 2013-05-05 09:31, jack seth wrote:<br>> > I am using a custom ad blocking script on my router that appears to just<br>> > add a bunch of servers to /etc/dnsmasq.conf and dnsmasq.custom. I have<br>> > one machine that I am pointing to a opendns server instead of using the<br>> > router as the dns server with this command<br>> > 'dhcp-option=laptop,6,208.67.220.220'. Currently this computer doesn't<br>> > use the servers in dnsmasq.conf. Is there a way I can set this up to<br>> > have this computer use the items in dnsmasq.conf and dnsmasq.custom and<br>> > if the server is not found in those then goto 208.67.220.220? BTW,<br>> > dnsmasq is running on the router itself.<br>> <br>> In your dnsmasq.conf:<br>> <br>> resolv-file=/etc/resolv.conf.upstream<br>> <br>> In resolv.conf.upstream:<br>> <br>> nameserver 208.67.220.220<br>> <br>> Done, unless I'm missing something. You could skip --resolv-file and <br>> use /etc/resolv.conf if a) the router doesn't have a DHCP client that <br>> would overwrite resolv.conf and b) you don't care if the router uses <br>> itself for DNS.<br>> <br>> Jima<br>> <br>I could be wrong but this looks like it will make everyone use 208.67.220.220 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.<br></div> </div></body>
</html>