<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
No worries about the shouting.&nbsp; I&nbsp;appreciate you answering so quickly.&nbsp; <BR>
&nbsp;<BR>
I don't think the scenario you&nbsp;described is going to work for me.&nbsp;&nbsp;Let me explain.&nbsp; In the test&nbsp;I just ran I had three nameservers: 165.87.13.129, 165.87.194.244, 135.54.66.254.<BR><BR>
The 165's are Internet&nbsp;servers and 135 is only accessible via a tunnel from the device dnsmasq is running on.<BR>
&nbsp;<BR>
I removed the strict order arg and sent a ping&nbsp;to Google from behind the device.&nbsp; As you described dnsmasq "ran the race" and sent the request immediately to all three&nbsp;nameservers.&nbsp; A response was received from 165.87.13.129 just barely before one from 135.54.66.254 was received.<BR>
&nbsp;<BR>
The next time&nbsp;I pinged Google (caching is off)&nbsp;the request was only sent to 165.87.13.129&nbsp;(as expected).<BR>
&nbsp;<BR>
The problem&nbsp;is when I try to resolve names that only 135.54.66.254&nbsp;can resolve.&nbsp; When I ping one of those names again only 165.87.13.129&nbsp;is used.&nbsp; 165.87.13.129&nbsp;doesn't know about the name so the lookup fails.&nbsp;&nbsp;dnsmasq won't "run the race" again because 165.87.13.129&nbsp;is responding and therefore the query isn't&nbsp;timing out. &nbsp;135.54.66.254&nbsp;is never used and therefore I can no longer resolve&nbsp;names only 135.54.66.254&nbsp;knows about.<BR>&nbsp;<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'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's mechanism for dealing with broken or <BR>&gt; down servers. If I could, I'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 "run the race" 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't <BR>&gt; have the same transaction-id as teh first query, so dnsmasq doesn'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 />Windows Live™ SkyDrive: Get 25 GB of free online storage. <a href='http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009' target='_new'>Check it out.</a></body>
</html>