Can&#39;t you use<br><br>server=/<a href="http://internal.mycompany.com/135.54.66.254">internal.mycompany.com/135.54.66.254</a><br><br>to deal with those?<br><br><br>Using all nameservers isn&#39;t appropriate for those requests anyway.<br>
<br><br><br><div class="gmail_quote">2009/3/27 Zack Little <span dir="ltr">&lt;<a href="mailto:zacklitt@hotmail.com">zacklitt@hotmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
No worries about the shouting.  I appreciate you answering so quickly.  <br>
 <br>
I don&#39;t think the scenario you described is going to work for me.  Let me explain.  In the test I just ran I had three nameservers: 165.87.13.129, 165.87.194.244, 135.54.66.254.<br><br>
The 165&#39;s are Internet servers and 135 is only accessible via a tunnel from the device dnsmasq is running on.<br>
 <br>
I removed the strict order arg and sent a ping to Google from behind the device.  As you described dnsmasq &quot;ran the race&quot; and sent the request immediately to all three nameservers.  A response was received from 165.87.13.129 just barely before one from 135.54.66.254 was received.<br>

 <br>
The next time I pinged Google (caching is off) the request was only sent to 165.87.13.129 (as expected).<br>
 <br>
The problem is when I try to resolve names that only 135.54.66.254 can resolve.  When I ping one of those names again only 165.87.13.129 is used.  165.87.13.129 doesn&#39;t know about the name so the lookup fails.  dnsmasq won&#39;t &quot;run the race&quot; again because 165.87.13.129 is responding and therefore the query isn&#39;t timing out.  135.54.66.254 is never used and therefore I can no longer resolve names only 135.54.66.254 knows about.<div class="im">
<br> <br><br>&gt; No, but it provides me with a perfect opportunity for a public service <br>&gt; announcement, since this information needs to go to a wider audience.<br>&gt; <br>&gt; Sorry about the shouting;<br>&gt; <br>
&gt; DON&#39;T USE --STRICT-ORDER<br>&gt; <br>&gt; Strict-order almost never does what people expect/want it to do, which <br>&gt; is to put a priority order on the list of servers in /etc/resolv.conf. <br>&gt; It mainly just disrupts dnsmasq&#39;s mechanism for dealing with broken or <br>
&gt; down servers. If I could, I&#39;d remove it. If there is ever dnsmasq-3, it <br>&gt; will go.<br>&gt; <br>&gt; <br>&gt; If you remove --strict order, then dnsmasq will send the first query, in <br>&gt; parallel, top all the name servers. It will note that first one which <br>
&gt; provides a good answer, and use just that until a query times-out, when <br>&gt; it will &quot;run the race&quot; over all the servers again.<br>&gt; <br>&gt; BTW My guess is that the behaviour difference you are seeing in how the <br>
&gt; queries are handled is because the repeated query from 127.0.0.1 doesn&#39;t <br>&gt; have the same transaction-id as teh first query, so dnsmasq doesn&#39;t <br>&gt; recognise it as a retry.<br>&gt; <br>&gt; <br>&gt; Cheers,<br>
&gt; <br>&gt; Simon.<br>&gt; <br>&gt; <br><br><hr></div><div class="im">Windows Live™ SkyDrive: Get 25 GB of free online storage. <a href="http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009" target="_blank">Check it out.</a></div>
</div>
<br>_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
<br></blockquote></div><br>